454 lines
7.4 KiB
CSS
454 lines
7.4 KiB
CSS
@include-when-export url(https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic);
|
|
@include-when-export url(https://fonts.googleapis.com/css?family=Raleway:600,400&subset=latin,latin-ext);
|
|
@charset "UTF-8";
|
|
@font-face {
|
|
font-family: 'TeXGyreAdventor';
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
src: url(./dk-theme/texgyreadventor-regular.otf);
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'TeXGyreAdventor';
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
src: url(./dk-theme/texgyreadventor-bold.otf);
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'TeXGyreAdventor';
|
|
font-style: italic;
|
|
font-weight: normal;
|
|
src: url(./dk-theme/texgyreadventor-italic.otf);
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'TeXGyreAdventor';
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
src: url(./dk-theme/texgyreadventor-bolditalic.otf);
|
|
}
|
|
|
|
:root {
|
|
--window-border: none;
|
|
--typora-center-window-title: true;
|
|
--active-file-bg-color: #f3f3f3;
|
|
--bg-color: #fcfcfc;
|
|
--control-text-color: #777;
|
|
}
|
|
|
|
.mac-seamless-mode #typora-sidebar {
|
|
top: var(--mac-title-bar-height);
|
|
padding-top: 0;
|
|
height: auto;
|
|
}
|
|
|
|
html, body, #write {
|
|
font-family: 'TeXGyreAdventor', "Century Gothic", 'Yu Gothic', 'Raleway', "STHeiti", sans-serif;
|
|
font-weight: 300;
|
|
}
|
|
|
|
body{
|
|
padding-top : 1cm;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
color: #111;
|
|
font-family: 'TeXGyreAdventor', "Century Gothic", 'Yu Gothic', 'Ubuntu', "STHeiti", sans-serif;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
|
|
#write {
|
|
max-width: 65rem;
|
|
text-align: justify;
|
|
}
|
|
|
|
#write>h1, h2, h3, h4:first-child {
|
|
margin-top: 0rem;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: bold;
|
|
line-height: 4rem;
|
|
margin: 0 0 1rem;
|
|
text-align: center;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
h2 {
|
|
font-weight: bold;
|
|
border-bottom: 1px solid #ccc;
|
|
line-height: 3rem;
|
|
margin: 0 0 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
h3 {
|
|
font-weight: bold;
|
|
margin-left: 1rem;
|
|
}
|
|
h3:before {
|
|
content : "> ";
|
|
color : darkgray;
|
|
}
|
|
|
|
h4 {
|
|
font-weight: bold;
|
|
margin-left: 2rem;
|
|
}
|
|
|
|
h4:before {
|
|
content : ">> ";
|
|
color : darkgray;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 1.125rem;
|
|
font-weight: bold;
|
|
margin-left: 3rem;
|
|
}
|
|
|
|
h5:before {
|
|
content : ">>> ";
|
|
color : darkgray;
|
|
}
|
|
|
|
h6 {
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
margin-left: 4rem;
|
|
}
|
|
|
|
h6:before {
|
|
content : ">>>> ";
|
|
color : darkgray;
|
|
}
|
|
|
|
p {
|
|
color: #111;
|
|
font-size: 1rem;
|
|
line-height: 1.75rem;
|
|
margin: 0 0 1rem;
|
|
}
|
|
|
|
u{
|
|
font-style: normal;
|
|
text-decoration : none;
|
|
border-width : 0px;
|
|
background : rgba(255,192,200,1);
|
|
}
|
|
|
|
#write>h3.md-focus:before {
|
|
left: -1.875rem;
|
|
top: 0.5rem;
|
|
padding: 2px;
|
|
}
|
|
|
|
#write>h4.md-focus:before {
|
|
left: -1.875rem;
|
|
top: 0.3125rem;
|
|
padding: 2px;
|
|
}
|
|
|
|
#write>h5.md-focus:before {
|
|
left: -1.875rem;
|
|
top: 0.25rem;
|
|
padding: 2px;
|
|
}
|
|
|
|
#write>h6.md-focus:before {
|
|
left: -1.875rem;
|
|
top: .125rem;
|
|
padding: 2px;
|
|
}
|
|
|
|
@media screen and (max-width: 48em) {
|
|
blockquote {
|
|
margin-left: 1rem;
|
|
margin-right: 0;
|
|
padding: 0.5em;
|
|
}
|
|
.h1, h1 {
|
|
font-size: 2.827rem;
|
|
}
|
|
.h2, h2 {
|
|
font-size: 1.999rem;
|
|
}
|
|
.h3, h3 {
|
|
font-size: 1.413rem;
|
|
}
|
|
.h4, h4 {
|
|
font-size: 1.250rem;
|
|
}
|
|
.h5, h5 {
|
|
font-size: 1.150rem;
|
|
}
|
|
.h6, h6 {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
a, .md-def-url {
|
|
color: #990000;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
table {
|
|
margin-bottom: 20px
|
|
}
|
|
|
|
table th, table td {
|
|
padding: 8px;
|
|
line-height: 1.25rem;
|
|
vertical-align: top;
|
|
border-top: 1px solid #ddd
|
|
}
|
|
|
|
table th {
|
|
font-weight: bold
|
|
}
|
|
|
|
table thead th {
|
|
vertical-align: bottom
|
|
}
|
|
|
|
table caption+thead tr:first-child th, table caption+thead tr:first-child td, table colgroup+thead tr:first-child th, table colgroup+thead tr:first-child td, table thead:first-child tr:first-child th, table thead:first-child tr:first-child td {
|
|
border-top: 0
|
|
}
|
|
|
|
table tbody+tbody {
|
|
border-top: 2px solid #ddd
|
|
}
|
|
|
|
.md-fences {
|
|
padding: .5em;
|
|
/*background: #f0f0f0;*/
|
|
border: 1px solid #ccc;
|
|
padding: .1em;
|
|
font-size: 0.9em;
|
|
margin-left: 0.2em;
|
|
margin-right: 0.2em;
|
|
}
|
|
|
|
.md-fences {
|
|
margin: 0 0 20px;
|
|
font-size: 1em;
|
|
padding: 0.3em 1em;
|
|
padding-top: 0.4em;
|
|
}
|
|
|
|
.task-list {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.task-list-item {
|
|
padding-left: 2.125rem;
|
|
}
|
|
|
|
.task-list-item input {
|
|
top: 3px;
|
|
}
|
|
|
|
.task-list-item input:before {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
border: 1px solid gray;
|
|
background-color: #fdfdfd;
|
|
margin-left: 0;
|
|
margin-top: -0.8rem;
|
|
}
|
|
|
|
.task-list-item input:checked:before, .task-list-item input[checked]:before {
|
|
content: '\25FC';
|
|
/*◘*/
|
|
font-size: 0.8125rem;
|
|
line-height: 0.9375rem;
|
|
margin-top: -1rem;
|
|
}
|
|
|
|
/* Chrome 29+ */
|
|
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
|
|
.task-list-item input:before {
|
|
margin-top: -0.2rem;
|
|
}
|
|
.task-list-item input:checked:before, .task-list-item input[checked]:before {
|
|
margin-top: -0.2rem;
|
|
}
|
|
}
|
|
|
|
blockquote {
|
|
margin: 0 0 1.11111rem;
|
|
padding: 0.5rem 1.11111rem 0 1.05556rem;
|
|
border-left: 1px solid gray;
|
|
}
|
|
|
|
blockquote, blockquote p {
|
|
line-height: 1.6;
|
|
color: #6f6f6f;
|
|
}
|
|
|
|
#write pre.md-meta-block {
|
|
min-height: 30px;
|
|
background: #f8f8f8;
|
|
padding: 1.5em;
|
|
font-weight: 300;
|
|
font-size: 1em;
|
|
padding-bottom: 1.5em;
|
|
padding-top: 3em;
|
|
margin-top: -1.5em;
|
|
color: #999;
|
|
width: 100vw;
|
|
max-width: calc(100% + 60px);
|
|
margin-left: -30px;
|
|
border-left: 30px #f8f8f8 solid;
|
|
border-right: 30px #f8f8f8 solid;
|
|
}
|
|
|
|
.MathJax_Display {
|
|
font-size: 0.9em;
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
p.mathjax-block, .mathjax-block {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.mathjax-block>.code-tooltip {
|
|
bottom: 5px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.md-image>.md-meta {
|
|
padding-left: 0.5em;
|
|
padding-right: 0.5em;
|
|
}
|
|
|
|
.md-image>img {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.md-image>.md-meta:first-of-type:before {
|
|
padding-left: 4px;
|
|
}
|
|
|
|
#typora-source {
|
|
color: #555;
|
|
}
|
|
|
|
/** ui for windows **/
|
|
|
|
#md-searchpanel {
|
|
border-bottom: 1px solid #ccc;
|
|
}
|
|
|
|
#md-searchpanel .btn {
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
#md-notification:before {
|
|
top: 14px;
|
|
}
|
|
|
|
#md-notification {
|
|
background: #eee;
|
|
}
|
|
|
|
.megamenu-menu-panel .btn {
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
#typora-sidebar {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.file-list-item, .show-folder-name .file-list-item {
|
|
padding-top: 20px;
|
|
padding-bottom: 20px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.file-list-item-summary {
|
|
height: 40px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
|
|
mark {
|
|
font-style: normal;
|
|
border-width : 0px;
|
|
background : rgba(135,206,235,0.5);
|
|
}
|
|
|
|
code {
|
|
font-style: normal;
|
|
border-width : 0px;
|
|
background : rgba(255,250,100);
|
|
}
|
|
|
|
hr{
|
|
background-color : lightgray;
|
|
border: solid lightgray;
|
|
border-radius: 0.5rem;
|
|
height:.06cm;
|
|
margin : 2rem 10rem;
|
|
page-break-after: always;
|
|
}
|
|
/* box-shadow: 0 0 6px 1px RGB(40,42,54); */
|
|
|
|
hr:after { /* Not really supposed to work, but does */
|
|
content: "\00a0"; /* Prevent margin collapse */
|
|
}
|
|
|
|
strong strong {
|
|
background: #f27a70;
|
|
color: white;
|
|
padding: 3px 5px;
|
|
margin: -3px 3px 0px 3px;
|
|
line-height: 1.7;
|
|
border-radius: 10px;
|
|
border-width : 0px;
|
|
}
|
|
/* code {
|
|
background: lightskyblue;
|
|
color: white;
|
|
padding: 3px 5px;
|
|
margin: -3px 0px 0px 0px;
|
|
border-width : 0px;
|
|
line-height: 1.7;
|
|
border-radius: 10px;
|
|
font-weight: bold;
|
|
} */
|
|
|
|
blockquote {
|
|
border-left: solid 4px skyblue;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
-webkit-transition: box-shadow .2s ease-out;
|
|
}
|
|
|
|
img:hover {
|
|
box-shadow: 3px 3px 11px rgba(33,33,33,.2);
|
|
-webkit-transition: box-shadow .2s ease-in;
|
|
}
|
|
|
|
html, body{margin: auto; padding: 0;place-items:center;}
|
|
.page{box-sizing: border-box; height: 100%; width: 100%; border: 1px solid transparent; page-break-after: always;}
|
|
.page-middle{height: 100%; width: 100%; display: table;}
|
|
.page-middle-inner{height: 100%; width: 100%; display: table-cell; vertical-align: middle;} |