diff --git a/themes/github.css b/themes/github.css new file mode 100644 index 0000000..5a4d5c8 --- /dev/null +++ b/themes/github.css @@ -0,0 +1,384 @@ +@include-when-export url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext); + +/** + * css forked from https://github.com/GitbookIO/gitbook + * www.gitbook.com + * Apache License + * https://github.com/GitbookIO/gitbook/blob/master/LICENSE + **/ + +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: normal; + src: local('Open Sans Regular'),url('./github/400.woff') format('woff') +} + +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: normal; + src: local('Open Sans Italic'),url('./github/400i.woff') format('woff') +} + +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: bold; + src: local('Open Sans Bold'),url('./github/700.woff') format('woff') +} + +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: bold; + src: local('Open Sans Bold Italic'),url('./github/700i.woff') format('woff') +} + +html { + font-size: 16px; +} + +body { + font-family: "Open Sans","Clear Sans","Helvetica Neue",Helvetica,Arial,sans-serif; + color: rgb(51, 51, 51); + line-height: 1.6; +} + +#write{ + max-width: 860px; + margin: 0 auto; + padding: 20px 30px 40px 30px; + padding-top: 20px; + padding-bottom: 100px; +} +#write > ul:first-child, +#write > ol:first-child{ + margin-top: 30px; +} + +body > *:first-child { + margin-top: 0 !important; +} +body > *:last-child { + margin-bottom: 0 !important; +} +a { + color: #4183C4; +} +h1, +h2, +h3, +h4, +h5, +h6 { + position: relative; + margin-top: 1rem; + margin-bottom: 1rem; + font-weight: bold; + line-height: 1.4; + cursor: text; +} +h1:hover a.anchor, +h2:hover a.anchor, +h3:hover a.anchor, +h4:hover a.anchor, +h5:hover a.anchor, +h6:hover a.anchor { + /*background: url("../../images/modules/styleguide/para.png") no-repeat 10px center;*/ + text-decoration: none; +} +h1 tt, +h1 code { + font-size: inherit; +} +h2 tt, +h2 code { + font-size: inherit; +} +h3 tt, +h3 code { + font-size: inherit; +} +h4 tt, +h4 code { + font-size: inherit; +} +h5 tt, +h5 code { + font-size: inherit; +} +h6 tt, +h6 code { + font-size: inherit; +} +h1 { + padding-bottom: .3em; + font-size: 2.25em; + line-height: 1.2; + border-bottom: 1px solid #eee; +} +h2 { + padding-bottom: .3em; + font-size: 1.75em; + line-height: 1.225; + border-bottom: 1px solid #eee; +} +h3 { + font-size: 1.5em; + line-height: 1.43; +} +h4 { + font-size: 1.25em; +} +h5 { + font-size: 1em; +} +h6 { + font-size: 1em; + color: #777; +} +p, +blockquote, +ul, +ol, +dl, +table{ + margin: 0.8em 0; +} +li>ol, +li>ul { + margin: 0 0; +} +hr { + height: 4px; + padding: 0; + margin: 16px 0; + background-color: #e7e7e7; + border: 0 none; + overflow: hidden; + box-sizing: content-box; + border-bottom: 1px solid #ddd; +} + +body > h2:first-child { + margin-top: 0; + padding-top: 0; +} +body > h1:first-child { + margin-top: 0; + padding-top: 0; +} +body > h1:first-child + h2 { + margin-top: 0; + padding-top: 0; +} +body > h3:first-child, +body > h4:first-child, +body > h5:first-child, +body > h6:first-child { + margin-top: 0; + padding-top: 0; +} +a:first-child h1, +a:first-child h2, +a:first-child h3, +a:first-child h4, +a:first-child h5, +a:first-child h6 { + margin-top: 0; + padding-top: 0; +} +h1 p, +h2 p, +h3 p, +h4 p, +h5 p, +h6 p { + margin-top: 0; +} +li p.first { + display: inline-block; +} +ul, +ol { + padding-left: 30px; +} +ul:first-child, +ol:first-child { + margin-top: 0; +} +ul:last-child, +ol:last-child { + margin-bottom: 0; +} +blockquote { + border-left: 4px solid #dddddd; + padding: 0 15px; + color: #777777; +} +blockquote blockquote { + padding-right: 0; +} +table { + padding: 0; +} +table tr { + border-top: 1px solid #cccccc; + background-color: white; + margin: 0; + padding: 0; +} +table tr:nth-child(2n) { + background-color: #f8f8f8; +} +table tr th { + font-weight: bold; + border: 1px solid #cccccc; + text-align: left; + margin: 0; + padding: 6px 13px; +} +table tr td { + border: 1px solid #cccccc; + text-align: left; + margin: 0; + padding: 6px 13px; +} +table tr th:first-child, +table tr td:first-child { + margin-top: 0; +} +table tr th:last-child, +table tr td:last-child { + margin-bottom: 0; +} + +.CodeMirror-gutters { + border-right: 1px solid #ddd; +} + +.md-fences, +code, +tt { + border: 1px solid #ddd; + background-color: #f8f8f8; + border-radius: 3px; + padding: 0; + font-family: Consolas, "Liberation Mono", Courier, monospace; + padding: 2px 4px 0px 4px; + font-size: 0.9em; +} + +.md-fences { + margin-bottom: 15px; + margin-top: 15px; + padding: 0.2em 1em; + padding-top: 8px; + padding-bottom: 6px; +} +.task-list{ + padding-left: 0; +} + +.task-list-item { + padding-left:32px; +} + +.task-list-item input { + top: 3px; + left: 8px; +} + +@media screen and (min-width: 914px) { + /*body { + width: 854px; + margin: 0 auto; + }*/ +} +@media print { + html { + font-size: 13px; + } + table, + pre { + page-break-inside: avoid; + } + pre { + word-wrap: break-word; + } +} + +.md-fences { + background-color: #f8f8f8; +} +#write pre.md-meta-block { + padding: 1rem; + font-size: 85%; + line-height: 1.45; + background-color: #f7f7f7; + border: 0; + border-radius: 3px; + color: #777777; + margin-top: 0 !important; +} + +.mathjax-block>.code-tooltip { + bottom: .375rem; +} + +#write>h3.md-focus:before{ + left: -1.5625rem; + top: .375rem; +} +#write>h4.md-focus:before{ + left: -1.5625rem; + top: .285714286rem; +} +#write>h5.md-focus:before{ + left: -1.5625rem; + top: .285714286rem; +} +#write>h6.md-focus:before{ + left: -1.5625rem; + top: .285714286rem; +} +.md-image>.md-meta { + border: 1px solid #ddd; + background-color: #f8f8f8; + border-radius: 3px; + font-family: Consolas, "Liberation Mono", Courier, monospace; + padding: 2px 4px 0px 4px; + font-size: 0.9em; + color: inherit; +} + +.md-tag{ + color: inherit; +} + +.md-toc { + margin-top:20px; + padding-bottom:20px; +} + +#typora-quick-open { + border: 1px solid #ddd; + background-color: #f8f8f8; +} + +#typora-quick-open-item { + background-color: #FAFAFA; + border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee; + border-style: solid; + border-width: 1px; +} + +/** focus mode */ +.on-focus-mode blockquote { + border-left-color: rgba(85, 85, 85, 0.12); +} + +header, .context-menu, .megamenu-content, footer{ + font-family: "Segoe UI", "Arial", sans-serif; +} \ No newline at end of file diff --git a/themes/github/300.woff b/themes/github/300.woff new file mode 100644 index 0000000..53fe574 Binary files /dev/null and b/themes/github/300.woff differ diff --git a/themes/github/400.woff b/themes/github/400.woff new file mode 100644 index 0000000..8b512d0 Binary files /dev/null and b/themes/github/400.woff differ diff --git a/themes/github/400i.woff b/themes/github/400i.woff new file mode 100644 index 0000000..d6684e8 Binary files /dev/null and b/themes/github/400i.woff differ diff --git a/themes/github/600i.woff b/themes/github/600i.woff new file mode 100644 index 0000000..0a9591a Binary files /dev/null and b/themes/github/600i.woff differ diff --git a/themes/github/700.woff b/themes/github/700.woff new file mode 100644 index 0000000..29c4f31 Binary files /dev/null and b/themes/github/700.woff differ diff --git a/themes/github/700i.woff b/themes/github/700i.woff new file mode 100644 index 0000000..2004dc9 Binary files /dev/null and b/themes/github/700i.woff differ diff --git a/themes/gothic.css b/themes/gothic.css new file mode 100644 index 0000000..44ec083 --- /dev/null +++ b/themes/gothic.css @@ -0,0 +1,376 @@ +@include-when-export url(http://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic); +@include-when-export url(http://fonts.googleapis.com/css?family=Raleway:600,400&subset=latin,latin-ext); + + + +@charset "UTF-8"; +@font-face { + font-family: 'TeXGyreAdventor'; + src: url('texgyreadventor-regular.otf'); + font-weight: normal; + font-style: normal; + +} + +@charset "UTF-8"; +@font-face { + font-family: 'TeXGyreAdventor'; + font-style: normal; + font-weight: normal; + src: url(./gothic/texgyreadventor-regular.otf); +} +@font-face { + font-family: 'TeXGyreAdventor'; + font-style: normal; + font-weight: bold; + src: url(./gothic/texgyreadventor-bold.otf); +} +@font-face { + font-family: 'TeXGyreAdventor'; + font-style: italic; + font-weight: normal; + src: url(./gothic/texgyreadventor-italic.otf); +} +@font-face { + font-family: 'TeXGyreAdventor'; + font-style: italic; + font-weight: bold; + src: url(./gothic/texgyreadventor-bolditalic.otf); +} + +html, +body, +#write{ + background: #fcfcfc; + font-family: 'TeXGyreAdventor', "Century Gothic", 'Yu Gothic', 'Raleway', "STHeiti", sans-serif; + font-weight: 400; +} +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: 914px; + text-align: justify; +} + +#write>h1:first-child { + margin-top: 2.75rem; +} +#write>h2:first-child { + margin-top: 1.75rem; +} +#write>h3:first-child { + margin-top: 1rem; +} +#write>h4:first-child { + margin-top: 0.5rem; +} +h1 { + font-weight: normal; + line-height: 4rem; + margin: 0 0 1.75rem; + padding: 20px 30px; + text-align: center; + text-transform: uppercase; + margin-top: 4rem; +} +h2 { + font-weight: normal; + line-height: 3rem; + margin: 0 0 1.9375rem; + padding: 0 30px; + text-align: center; + text-transform: uppercase; + margin-top: 3rem +} +h3 { + font-weight: normal; +} +h4 { + font-weight: normal; +} +h5 { + font-size: 1.125rem; + font-weight: normal; +} +h6 { + font-size: 1rem; + font-weight: bold; +} +p { + color: #111; + font-size: 1rem; + line-height: 1.75rem; + margin: 0 0 1.25rem; +} +#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 (min-width: 48em) { + .h1, + h1 { + font-size: 3.250rem; + } + .h2, + h2 { + font-size: 2.298rem; + } + .h3, + h3 { + font-size: 1.625rem; + } + .h4, + h4 { + font-size: 1.250rem; + } + .h5, + h5 { + font-size: 1.150rem; + } + .h6, + h6 { + font-size: 1rem; + } + #write>h4.md-focus:before, + #write>h5.md-focus:before, + #write>h6.md-focus:before { + top: 1px; + } + p { + font-size: 1.25rem; + line-height: 1.8; + } + table { + font-size: 1.25rem; + } +}*/ +@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 +} +code, .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; + border-left: 1000px #f8f8f8 solid; + margin-left: -1000px; + border-right: 1000px #f8f8f8 solid; + margin-right: -1000px; + margin-bottom: 2em; +} +.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; +} \ No newline at end of file diff --git a/themes/gothic/GUST e-foundry License.txt b/themes/gothic/GUST e-foundry License.txt new file mode 100644 index 0000000..ad80c74 --- /dev/null +++ b/themes/gothic/GUST e-foundry License.txt @@ -0,0 +1,29 @@ +This is a preliminary version (2006-09-30), barring acceptance from +the LaTeX Project Team and other feedback, of the GUST Font License. +(GUST is the Polish TeX Users Group, http://www.gust.org.pl) + +For the most recent version of this license see +http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt +or +http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt + +This work may be distributed and/or modified under the conditions +of the LaTeX Project Public License, either version 1.3c of this +license or (at your option) any later version. + +Please also observe the following clause: +1) it is requested, but not legally required, that derived works be + distributed only after changing the names of the fonts comprising this + work and given in an accompanying "manifest", and that the + files comprising the Work, as listed in the manifest, also be given + new names. Any exceptions to this request are also given in the + manifest. + + We recommend the manifest be given in a separate file named + MANIFEST-.txt, where is some unique identification + of the font family. If a separate "readme" file accompanies the Work, + we recommend a name of the form README-.txt. + +The latest version of the LaTeX Project Public License is in +http://www.latex-project.org/lppl.txt and version 1.3c or later +is part of all distributions of LaTeX version 2006/05/20 or later. \ No newline at end of file diff --git a/themes/gothic/texgyreadventor-bold.otf b/themes/gothic/texgyreadventor-bold.otf new file mode 100644 index 0000000..b521943 Binary files /dev/null and b/themes/gothic/texgyreadventor-bold.otf differ diff --git a/themes/gothic/texgyreadventor-bolditalic.otf b/themes/gothic/texgyreadventor-bolditalic.otf new file mode 100644 index 0000000..3451a52 Binary files /dev/null and b/themes/gothic/texgyreadventor-bolditalic.otf differ diff --git a/themes/gothic/texgyreadventor-italic.otf b/themes/gothic/texgyreadventor-italic.otf new file mode 100644 index 0000000..9472e73 Binary files /dev/null and b/themes/gothic/texgyreadventor-italic.otf differ diff --git a/themes/gothic/texgyreadventor-regular.otf b/themes/gothic/texgyreadventor-regular.otf new file mode 100644 index 0000000..655a186 Binary files /dev/null and b/themes/gothic/texgyreadventor-regular.otf differ diff --git a/themes/newsprint.css b/themes/newsprint.css new file mode 100644 index 0000000..871347b --- /dev/null +++ b/themes/newsprint.css @@ -0,0 +1,480 @@ +/* meyer reset -- http://meyerweb.com/eric/tools/css/reset/ , v2.0 | 20110126 | License: none (public domain) */ + +@include-when-export url(https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic&subset=latin,cyrillic-ext,cyrillic,latin-ext); + +/* =========== */ + +@font-face { + font-family: 'PT Serif'; + font-style: normal; + font-weight: normal; + src: local('PT Serif'), local('PTSerif-Regular'), url(./newsprint/PT_Serif-Web-Regular.ttf); +} +@font-face { + font-family: 'PT Serif'; + font-style: italic; + font-weight: normal; + src: local('PT Serif'), local('PTSerif-Italic'), url('./newsprint/PT_Serif-Web-Italic.ttf') +} + +@font-face { + font-family: 'PT Serif'; + font-style: normal; + font-weight: bold; + src: local('PT Serif'), local('PTSerif-Bold'), url('./newsprint/PT_Serif-Web-Bold.ttf') +} + +@font-face { + font-family: 'PT Serif'; + font-style: italic; + font-weight: bold; + src: local('PT Serif'), local('PTSerif-BoldItalic'), url('./newsprint/PT_Serif-Web-BoldItalic.ttf') +} + +html { + font-size: 16px; +} + +html, body { + background-color: #f3f2ee; + font-family: "PT Serif", 'Times New Roman', Times; + color: #1f0909; + line-height: 1.5em; +} + +/*#write { + overflow-x: auto; + max-width: initial; + padding-left: calc(50% - 17em); + padding-right: calc(50% - 17em); +} + +@media (max-width: 36em) { + #write { + padding-left: 1em; + padding-right: 1em; + } +}*/ + +#write { + max-width: 40em; +} + +ol, +ul { + list-style: none; +} +blockquote, +q { + quotes: none; +} +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +/* styles */ + +/* ====== */ + +/* headings */ + +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: bold; +} +h1 { + font-size: 1.875em; + /*30 / 16*/ + line-height: 1.6em; + /* 48 / 30*/ + margin-top: 2em; +} +h2, +h3 { + font-size: 1.3125em; + /*21 / 16*/ + line-height: 1.15; + /*24 / 21*/ + margin-top: 2.285714em; + /*48 / 21*/ + margin-bottom: 1.15em; + /*24 / 21*/ +} +h3 { + font-weight: normal; +} +h4 { + font-size: 1.125em; + /*18 / 16*/ + margin-top: 2.67em; + /*48 / 18*/ +} +h5, +h6 { + font-size: 1em; + /*16*/ +} +h1 { + border-bottom: 1px solid; + margin-bottom: 1.875em; + padding-bottom: 0.8125em; +} +/* links */ + +a { + text-decoration: none; + color: #065588; +} +a:hover, +a:active { + text-decoration: underline; +} +/* block spacing */ + +p, +blockquote, +.md-fences { + margin-bottom: 1.5em; +} +h1, +h2, +h3, +h4, +h5, +h6 { + margin-bottom: 1.5em; +} +/* blockquote */ + +blockquote { + font-style: italic; + border-left: 5px solid; + margin-left: 2em; + padding-left: 1em; +} +/* lists */ + +ul, +ol { + margin: 0 0 1.5em 1.5em; +} +ol li { + list-style-type: decimal; + list-style-position: outside; +} +ul li { + list-style-type: disc; + list-style-position: outside; +} +/* tables */ +.md-meta,.md-before, .md-after { + color:#999; +} + +table { + margin-bottom: 1.5em; + /*24 / 16*/ + font-size: 1em; + /* width: 100%; */ +} +thead th, +tfoot th { + padding: .25em .25em .25em .4em; + text-transform: uppercase; +} +th { + text-align: left; +} +td { + vertical-align: top; + padding: .25em .25em .25em .4em; +} + +code, +.md-fences { + background-color: #dadada; + padding-left: 1ch; + padding-right: 1ch; +} +.md-fences { + margin-left: 2em; + margin-bottom: 3em; +} + +.md-fences .CodeMirror.CodeMirror-wrap { + top: -0.8em; +} + +pre, +code, +tt { + font-size: .875em; + line-height: 1.714285em; +} +/* some fixes */ + +h1 { + line-height: 1.3em; + font-weight: normal; + margin-bottom: 0.5em; +} + +p + ul, +p + ol{ + margin-top: -1em; +} + +h3 + ul, +h4 + ul, +h5 + ul, +h6 + ul, +h3 + ol, +h4 + ol, +h5 + ol, +h6 + ol { + margin-top: .5em; +} + +li > ul, +li > ol { + margin-top: inherit; +} + +h2, +h3 { + margin-bottom: .75em; +} +hr { + border-top: none; + border-right: none; + border-bottom: 1px solid; + border-left: none; +} +h1 { + border-color: #c5c5c5; +} +blockquote { + border-color: #bababa; + color: #656565; +} +thead.md-table-edit { + background-color: transparent; +} +thead { + background-color: #dadada; +} +tr:nth-child(even) { + background: #e8e7e7; +} +hr { + border-color: #c5c5c5; +} +.task-list{ + padding-left: 1rem; +} + +.task-list-item { + padding-left: 1.5rem; + list-style-type: none; +} + +.task-list-item input:before { + content: '\221A'; + display: inline-block; + width: 1.25rem; + height: 1.5rem; + vertical-align: middle; + text-align: center; + color: #ddd; + background-color: #F3F2EE; +} + +.task-list-item input:checked:before, +.task-list-item input[checked]:before{ + color: inherit; +} + +#write pre.md-meta-block { + min-height: 1.875rem; + color: #555; + border: 0px; + background: transparent; + margin-top: -4px; + margin-left: 1em; + margin-top: 1em; +} + +.md-image>.md-meta { + color: #9B5146; +} + +.md-expand.md-image>.md-meta { + background-color: rgba(255, 255, 255, 0.65); +} + +.md-image>.md-meta{ + font-family: Menlo, 'Ubuntu Mono', Consolas, 'Courier New', 'Microsoft Yahei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif; +} + + +#write>h3.md-focus:before{ + left: -2.5rem; + color:#999; + border-color:#999; +} +#write>h4.md-focus:before{ + left: -2.5rem; + top: .25rem; + color:#999; + border-color:#999; +} +#write>h5.md-focus:before{ + left: -2.5rem; + top: .0.3125rem; + color:#999; + border-color:#999; +} +#write>h6.md-focus:before{ + left: -2.5rem; + top: 0.3125rem; + color:#999; + border-color:#999; +} + +.md-toc:focus .md-toc-content{ + margin-top: 19px; +} + +.md-toc-content:empty:before{ + color: #065588; +} +.md-toc-item { + color: #065588; +} +#write div.md-toc-tooltip { + background-color: #f3f2ee; +} + +#outline-dropmenu { + background-color: #f3f2ee; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375); +} + +.pin-outline #outline-dropmenu { + background: inherit; + box-shadow: none; + border-right: 1px dashed; +} + +.pin-outline #outline-dropmenu:hover .outline-title-wrapper { + border-left:1px dashed; +} + +.outline-item:hover { + background-color: #dadada; + border-left: 28px solid #dadada; + border-right: 18px solid #dadada; +} + +.typora-node .outline-item:hover { + border-right: 28px solid #dadada; +} + +.outline-expander:before { + content: "\f0da"; + font-family: FontAwesome; + font-size:14px; + top: 1px; +} + +.outline-expander:hover:before, +.outline-item-open>.outline-item>.outline-expander:before { + content: "\f0d7"; +} + +.modal-content { + background-color: #f3f2ee; +} + +.auto-suggest-container ul li { + list-style-type: none; +} + +/** UI for electron */ + +.megamenu-menu, +#top-titlebar, #top-titlebar *, +.megamenu-content { + background: #f3f2ee; + color: #1f0909; +} + +.megamenu-menu-header { + border-bottom: 1px dashed #202B33; +} + +.megamenu-menu { + box-shadow: none; + border-right: 1px dashed; +} + +header, .context-menu, .megamenu-content, footer { + font-family: "PT Serif", 'Times New Roman', Times; + color: #1f0909; +} + +#megamenu-back-btn { + color: #1f0909; + border-color: #1f0909; +} + +.megamenu-menu-header #megamenu-menu-header-title:before { + color: #1f0909; +} + +.megamenu-menu-list li a:hover, .megamenu-menu-list li a.active { + color: inherit; + background-color: #e8e7df; +} + +.long-btn:hover { + background-color: #e8e7df; +} + +#recent-file-panel tbody tr:nth-child(2n-1) { + background-color: transparent !important; +} + +.megamenu-menu-panel tbody tr:hover td:nth-child(2) { + color: inherit; +} + +.megamenu-menu-panel .btn { + background-color: #D2D1D1; +} + +.typora-sourceview-on #toggle-sourceview-btn, +.show-word-count #footer-word-count { + background: #c7c5c5; +} + +#typora-quick-open { + background-color: inherit; +} + +.md-diagram-panel { + margin-left: -1ch; + margin-top: 24px; +} diff --git a/themes/newsprint/OFL.txt b/themes/newsprint/OFL.txt new file mode 100644 index 0000000..ccb3949 --- /dev/null +++ b/themes/newsprint/OFL.txt @@ -0,0 +1,93 @@ +Copyright (c) 2010, ParaType Ltd. (http://www.paratype.com/public), +with Reserved Font Names "PT Sans", "PT Serif" and "ParaType". +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/themes/newsprint/PT_Serif-Web-Bold.ttf b/themes/newsprint/PT_Serif-Web-Bold.ttf new file mode 100644 index 0000000..0483e59 Binary files /dev/null and b/themes/newsprint/PT_Serif-Web-Bold.ttf differ diff --git a/themes/newsprint/PT_Serif-Web-BoldItalic.ttf b/themes/newsprint/PT_Serif-Web-BoldItalic.ttf new file mode 100644 index 0000000..49d504b Binary files /dev/null and b/themes/newsprint/PT_Serif-Web-BoldItalic.ttf differ diff --git a/themes/newsprint/PT_Serif-Web-Italic.ttf b/themes/newsprint/PT_Serif-Web-Italic.ttf new file mode 100644 index 0000000..b690e26 Binary files /dev/null and b/themes/newsprint/PT_Serif-Web-Italic.ttf differ diff --git a/themes/newsprint/PT_Serif-Web-Regular.ttf b/themes/newsprint/PT_Serif-Web-Regular.ttf new file mode 100644 index 0000000..5310691 Binary files /dev/null and b/themes/newsprint/PT_Serif-Web-Regular.ttf differ diff --git a/themes/night.css b/themes/night.css new file mode 100644 index 0000000..c0c9e04 --- /dev/null +++ b/themes/night.css @@ -0,0 +1,890 @@ +@import "night/mermaid.dark.css"; + +html { + font-size: 16px; +} + +html, +body { + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + background: #363B40; + fill: currentColor; +} + +#write { + max-width: 914px; + padding-top: 20px; +} + +html, +body, +button, +input, +select, +textarea, +div.code-tooltip-content { + color: #b8bfc6; +} + +div.code-tooltip, +.md-hover-tip .md-arrow:after { + background: #4B535A; +} + +.popover.bottom > .arrow:after { + border-bottom-color: #4B535A; +} + +html, +body, +button, +input, +select, +textarea { + font-style: normal; + line-height: 1.625rem; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; +} + +hr { + height: 2px; + border: 0; + margin: 50px 0 !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: "Lucida Grande", "Corbal", Georgia, serif; + font-weight: normal; + clear: both; + -ms-word-wrap: break-word; + word-wrap: break-word; + margin: 0; + padding: 0; +} + +h1 { + font-size: 2.25rem; + /* 36px */ + line-height: 2.5rem; + /* 40px */ + margin-bottom: 1.5rem; + /* 24px */ + letter-spacing: -1.5px; +} + +h2 { + font-size: 1.5rem; + /* 24px */ + line-height: 1.875rem; + /* 30px */ + margin-bottom: 1.5rem; + /* 24px */ + letter-spacing: -1px; +} + +h3 { + font-size: 1.125rem; + /* 18px */ + line-height: 1.5rem; + /* 24px */ + margin-bottom: 1.5rem; + /* 24px */ + letter-spacing: -1px; +} + +h4 { + font-size: 1rem; + /* 16px */ + line-height: 1.375rem; + /* 22px */ + margin-bottom: 1.5rem; + /* 24px */ +} + +h5 { + font-size: 1rem; + /* 16px */ + line-height: 1.25rem; + /* 22px */ + margin-bottom: 1.5rem; + /* 24px */ +} + +h6 { + font-size: 1rem; + /* 16px */ + line-height: 1rem; + /* 16px */ + margin-bottom: 0.75rem; + font-weight: bold; +} + +a { + text-decoration: none; + outline: 0; +} + +a:hover { + outline: 0; +} + +a:focus { + outline: thin dotted; +} + +p { + -ms-word-wrap: break-word; + word-wrap: break-word; +} + +p, +ul, +dd, +ol, +hr, +address, +pre, +table, +iframe, +.wp-caption, +.wp-audio-shortcode, +.wp-video-shortcode { + margin-top: 0; + margin-bottom: 1.5rem; + /* 24px */ +} + +audio:not([controls]) { + display: none; +} + +[hidden] { + display: none; +} + +::-moz-selection { + background: #4a89dc; + color: #fff; + text-shadow: none; +} + +*.in-text-selection, +::selection { + background: #4a89dc; + color: #fff; + text-shadow: none; +} + +ul, +ol { + padding: 0 0 0 1.875rem; + /* 30px */ +} + +ul { + list-style: square; +} + +ol { + list-style: decimal; +} + +ul ul, +ol ol, +ul ol, +ol ul { + margin: 0; +} + +b, +th, +dt, +strong { + font-weight: bold; +} + +i, +em, +dfn, +cite { + font-style: italic; +} + +blockquote { + padding-left: 1.875rem; + margin: 0 0 1.875rem 1.875rem; + border-left: solid 2px #474d54; + padding-left: 30px; + margin-top: 35px; +} + +pre, +code, +kbd, +tt, +var { + background: rgba(0, 0, 0, 0.05); + font-size: 0.875rem; + font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +} + +pre.md-fences { + padding: 10px 30px; + margin-bottom: 20px; + border: 1px solid; +} + +.md-fences .code-tooltip { + bottom: -3.2em; +} + +code, +kbd, +tt, +var { + padding: 2px 5px; +} + +table { + max-width: 100%; + width: 100%; + border-collapse: collapse; + border-spacing: 0; +} + +th, +td { + padding: 5px 10px; + vertical-align: top; +} + +a { + -webkit-transition: all .2s ease-in-out; + transition: all .2s ease-in-out; +} + +hr { + background: #474d54; + /* variable */ +} + +#write>*:first-child { + margin-top: 40px; +} + +h1 { + margin-top: 2em; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + color: #DEDEDE +} + +a { + color: #e0e0e0; + text-decoration: underline; +} + +a:hover { + color: #fff; +} + +b, +th, +dt, +strong { + color: #DEDEDE; + /* variable */ +} + +mark { + background: #D3D40E; +} + +blockquote { + color: #9DA2A6; +} + +table a { + color: #DEDEDE; + /* variable */ +} + +th, +td { + border: solid 1px #474d54; + /* variable */ +} + +.task-list { + padding-left: 0; +} + +.task-list-item { + padding-left: 1.25rem; +} + +.task-list-item input { + top: 0.1875rem; +} + +.task-list-item input:before { + content: ""; + display: inline-block; + width: 0.875rem; + height: 0.875rem; + vertical-align: middle; + text-align: center; + border: 1px solid #b8bfc6; + background-color: #363B40; + margin-top: -0.4375rem; +} + +.task-list-item input:checked:before, +.task-list-item input[checked]:before { + content: '\221A'; + /*◘*/ + font-size: 0.625rem; + line-height: 0.625rem; + color: #DEDEDE; +} + +/** markdown source **/ +.cm-s-typora-default .cm-header, +.cm-s-typora-default .cm-property +{ + color: #cebcca; +} + +.CodeMirror.cm-s-typora-default div.CodeMirror-cursor{ + border-left: 3px solid #b8bfc6; +} + +.cm-s-typora-default .cm-comment { + color: #9FB1FF; +} + +.cm-s-typora-default .cm-string { + color: #A7A7D9 +} + +.cm-s-typora-default .cm-atom, .cm-s-typora-default .cm-number { + color: #848695; + font-style: italic; +} + +.cm-s-typora-default .cm-link { + color: #95B94B; +} + +.cm-s-typora-default .CodeMirror-activeline-background { + background: rgba(51, 51, 51, 0.72); +} + +/** code highlight */ + +.cm-s-inner .cm-variable, +.cm-s-inner .cm-operator, +.cm-s-inner .cm-property { + color: #b8bfc6; +} + +.cm-s-inner .cm-keyword { + color: #C88FD0; +} + +.cm-s-inner .cm-tag { + color: #7DF46A; +} + +.cm-s-inner .cm-attribute { + color: #7575E4; +} + +.CodeMirror div.CodeMirror-cursor { + border-left: 1px solid #b8bfc6; + z-index: 3; +} + +.cm-s-inner .cm-string { + color: #D26B6B; +} + +.cm-s-inner .cm-comment, +.cm-s-inner.cm-comment { + color: #DA924A; +} + +.cm-s-inner .cm-header, +.cm-s-inner .cm-def, +.cm-s-inner.cm-header, +.cm-s-inner.cm-def { + color: #8d8df0; +} + +.cm-s-inner .cm-quote, +.cm-s-inner.cm-quote { + color: #57ac57; +} + +.cm-s-inner .cm-hr { + color: #d8d5d5; +} + +.cm-s-inner .cm-link { + color: #d3d3ef; +} + +.cm-s-inner .cm-negative { + color: #d95050; +} + +.cm-s-inner .cm-positive { + color: #50e650; +} + +.cm-s-inner .cm-string-2 { + color: #f50; +} + +.cm-s-inner .cm-meta, +.cm-s-inner .cm-qualifier { + color: #b7b3b3; +} + +.cm-s-inner .cm-builtin { + color: #694ea7; +} + +.cm-s-inner .cm-bracket { + color: #997; +} + +.cm-s-inner .cm-atom, +.cm-s-inner.cm-atom { + color: #84B6CB; +} + +.cm-s-inner .cm-number { + color: #64AB8F; +} + +.cm-s-inner .cm-variable { + color: #b8bfc6; +} + +.cm-s-inner .cm-variable-2 { + color: #9FBAD5; +} + +.cm-s-inner .cm-variable-3 { + color: #1cc685; +} + +.CodeMirror-selectedtext { + background: #4a89dc; + color: #fff !important; + text-shadow: none; +} + +.CodeMirror-gutters { + background: transparent; + border-right: 1px solid transparent; +} + +/** quick open **/ +.auto-suggest-container { + border: 0px; + background-color: #525C65; +} + +#typora-quick-open { + background-color: #525C65; +} + +#typora-quick-open input{ + background-color: #525C65; + border: 0; + border-bottom: 1px solid grey; +} + +.typora-quick-open-item { + background-color: inherit; + color: inherit; +} + +.typora-quick-open-item.active { + background-color: #4D8BDB; + color: white; +} + +.typora-search-spinner > div { + background-color: #fff; +} + +#write pre.md-meta-block { + border-bottom: 1px dashed #ccc; + background: transparent; + padding-bottom: 0.6em; + line-height: 1.2em; +} + +.btn, +.btn .btn-default { + background: transparent; + color: #b8bfc6; +} + +.md-table-edit { + border-top: 1px solid gray; + background-color: #363B40; +} + +.popover-title { + background: transparent; +} + +.md-image>.md-meta { + color: #BBBBBB; +} + +.md-expand.md-image>.md-meta { + background: transparent; + color: #DDD; +} + +#write>h3:before, +#write>h4:before, +#write>h5:before, +#write>h6:before { + border: none; + border-radius: 0px; + color: #888; + text-decoration: underline; + left: -1.875rem; +} + +#write>h3.md-focus:before { + top: 2px; +} + +#write>h4.md-focus:before { + top: 2px; +} + +.md-toc-item { + color: #A8C2DC; +} + +#write div.md-toc-tooltip { + background-color: #363B40; +} + +#outline-dropmenu .btn:hover, +#outline-dropmenu .btn:focus, +.md-toc .btn:hover, +.md-toc .btn:focus { + color: white; +} + +#outline-dropmenu { + background: rgba(50, 54, 59, 0.93); + border: 1px solid rgba(253, 253, 253, 0.15); +} + +#outline-dropmenu .divider { + background-color: #b8bfc6; +} + +.outline-expander:before { + top: 2px; +} + +.pin-outline #outline-dropmenu { + background: inherit; + box-shadow: none; + border-right: 1px dashed; +} + +.pin-outline #outline-dropmenu:hover .outline-title-wrapper { + border-left: 1px dashed; +} + +.outline-title-wrapper .btn { + color: inherit; +} + +.outline-item:hover { + border-color: #363B40; + background-color: #363B40; + color: white; +} + +h1.md-focus .md-attr, +h2.md-focus .md-attr, +h3.md-focus .md-attr, +h4.md-focus .md-attr, +h5.md-focus .md-attr, +h6.md-focus .md-attr, +.md-header-span .md-attr { + color: #8C8E92; + display: inline; +} + +.md-inline-math g, +.md-inline-math svg { + stroke: #b8bfc6 !important; + fill: #b8bfc6 !important; +} + +[md-inline='inline_math'] { + color: #9CB2E9; +} + +#math-inline-preview .md-arrow:after { + background: black; +} + +.modal-content { + background: #292c2f; + border: 0; +} + +.modal-title { + font-size: 1.5em; +} + +.modal-content input { + background-color: rgba(26, 21, 21, 0.51); + color: white; +} + +.modal-content .input-group-addon { + background-color: rgba(0, 0, 0, 0.17); + color: white; +} + +.modal-backdrop { + background-color: rgba(174, 174, 174, 0.7); +} + +.modal-content .btn-primary { + border-color: #6dc1e7; +} + +.md-table-resize-popover { + background-color: #4B535A; +} + +.form-inline .input-group .input-group-addon { + color: white; +} + +#md-searchpanel { + border-bottom: 1px dashed grey; +} + +/** UI for electron */ + +.context-menu { + background-color: #42464A; +} + +.context-menu.dropdown-menu > li > a:hover, +.context-menu.dropdown-menu > li > a:focus { + background-color: inherit; +} + +.context-menu.dropdown-menu .divider { + background-color: #777777; +} + +footer { + color: inherit; +} + +@media (max-width: 1000px) { + footer { + border-top: none; + } + footer:hover { + color: inherit; + } +} + +#file-info-file-path .file-info-field-value:hover { + background-color: #555; + color: #dedede; +} + +.megamenu-content, +.megamenu-opened header { + background: #292c2f; +} + +.megamenu-menu-list li a.active, +.megamenu-menu-list li a:hover, +.long-btn:hover { + background-color: #4182c4; + color: white; + border-color: #4182c4; +} + +.megamenu-menu-panel h2, +.megamenu-menu-panel h1, +.long-btn { + color: inherit; +} + +.megamenu-menu-panel input[type='text'] { + background: inherit; + border: 0; + border-bottom: 1px solid; +} + +#recent-file-panel-action-btn { + background: inherit; + border: 1px grey solid; +} + +.megamenu-menu-panel .btn:hover, +.megamenu-menu-panel .btn:focus, +.megamenu-menu-panel .btn.focus { + color: white; +} + +.megamenu-menu-panel .dropdown-menu > li > a { + color: inherit; + background-color: #2F353A; + text-decoration: none; +} + +.megamenu-menu-panel table td:nth-child(1) { + color: inherit; + font-weight: bold; +} + +.megamenu-menu-panel tbody tr:hover td:nth-child(1) { + color: white; +} + +.modal-footer .btn-default, +.modal-footer .btn-primary, +.modal-footer .btn-default:not(:hover) { + border: 1px solid; + border-color: transparent; +} + +.btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { + color: white; + border: 1px solid #ddd; + background-color: inherit; +} + +.modal-header { + border-bottom: 0; +} + +.modal-footer { + border-top: 0; +} + +#recent-file-panel tbody tr:nth-child(2n-1) { + background-color: transparent !important; +} + +.megamenu-menu-panel tbody tr:hover td:nth-child(2) { + color: inherit; +} + +.megamenu-menu-panel .btn { + border: 1px solid #eee; + background: transparent; +} + +.mouse-hover .toolbar-icon.btn:hover, +#w-full.mouse-hover, +#w-pin.mouse-hover { + background-color: inherit; +} + +::-webkit-scrollbar { + width: 5px; +} + +::-webkit-scrollbar-thumb:vertical { + background: rgba(250, 250, 250, 0.3); +} + +::-webkit-scrollbar-thumb:vertical:active { + background: rgba(250, 250, 250, 0.5); +} + +#w-unpin { + background-color: #4182c4; +} + +#top-titlebar, #top-titlebar * { + color: white; +} + +.typora-sourceview-on #toggle-sourceview-btn, +#footer-word-count:hover, +.show-word-count #footer-word-count { + background: #333333; +} + +#toggle-sourceview-btn:hover { + color: #eee; + background: #333333; +} + +/** focus mode */ +.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) * { + color: #686868 !important; +} + +.on-focus-mode .md-end-block:not(.md-focus) img, +.on-focus-mode .task-list-item:not(.md-focus-container)>input { + opacity: #686868 !important; +} + +.on-focus-mode li[cid]:not(.md-focus-container){ + color: #686868; +} + +.on-focus-mode .md-fences.md-focus .CodeMirror-code>*:not(.CodeMirror-activeline) *, +.on-focus-mode .CodeMirror.cm-s-inner:not(.CodeMirror-focused) * { + color: #686868 !important; +} + +.on-focus-mode .md-focus, +.on-focus-mode .md-focus-container { + color: #fff; +} + +.on-focus-mode #typora-source .CodeMirror-code>*:not(.CodeMirror-activeline) * { + color: #686868 !important; +} + + +/*diagrams*/ +#write .md-focus .md-diagram-panel { + border: 1px solid #ddd; + margin-left: -30px; +} + +.md-diagram-panel-error { + color: #f1908e; +} diff --git a/themes/night/mermaid.dark.css b/themes/night/mermaid.dark.css new file mode 100644 index 0000000..df49a4e --- /dev/null +++ b/themes/night/mermaid.dark.css @@ -0,0 +1,275 @@ +/* Flowchart variables */ +/* Sequence Diagram variables */ +/* Gantt chart variables */ +.mermaid .label { + color: #323D47; +} +.node rect, +.node circle, +.node ellipse, +.node polygon { + fill: #BDD5EA; + stroke: #81B1DB; + stroke-width: 1px; +} +.edgePath .path { + stroke: lightgrey; +} +.edgeLabel { + background-color: #e8e8e8; +} +.cluster rect { + fill: #6D6D65 !important; + rx: 4 !important; + stroke: rgba(255, 255, 255, 0.25) !important; + stroke-width: 1px !important; +} +.cluster text { + fill: #F9FFFE; +} +.actor { + stroke: #81B1DB; + fill: #BDD5EA; +} +text.actor { + fill: black; + stroke: none; +} +.actor-line { + stroke: lightgrey; +} +.messageLine0 { + stroke-width: 1.5; + stroke-dasharray: "2 2"; + marker-end: "url(#arrowhead)"; + stroke: lightgrey; +} +.messageLine1 { + stroke-width: 1.5; + stroke-dasharray: "2 2"; + stroke: lightgrey; +} +#arrowhead { + fill: lightgrey !important; +} +#crosshead path { + fill: lightgrey !important; + stroke: lightgrey !important; +} +.messageText { + fill: lightgrey; + stroke: none; +} +.labelBox { + stroke: #81B1DB; + fill: #BDD5EA; +} +.labelText { + fill: #323D47; + stroke: none; +} +.loopText { + fill: lightgrey; + stroke: none; +} +.loopLine { + stroke-width: 2; + stroke-dasharray: "2 2"; + marker-end: "url(#arrowhead)"; + stroke: #81B1DB; +} +.note { + stroke: rgba(255, 255, 255, 0.25); + fill: #fff5ad; +} +.noteText { + fill: black; + stroke: none; + font-family: 'trebuchet ms', verdana, arial; + font-size: 14px; +} +/** Section styling */ +.section { + stroke: none; + opacity: 0.2; +} +.section0 { + fill: rgba(255, 255, 255, 0.3); +} +.section2 { + fill: #EAE8B9; +} +.section1, +.section3 { + fill: white; + opacity: 0.2; +} +.sectionTitle0 { + fill: #F9FFFE; +} +.sectionTitle1 { + fill: #F9FFFE; +} +.sectionTitle2 { + fill: #F9FFFE; +} +.sectionTitle3 { + fill: #F9FFFE; +} +.sectionTitle { + text-anchor: start; + font-size: 11px; + text-height: 14px; +} +/* Grid and axis */ +.grid .tick { + stroke: rgba(255, 255, 255, 0.3); + opacity: 0.3; + shape-rendering: crispEdges; +} +.grid .tick text { + fill: lightgrey; + opacity: 0.5; +} +.grid path { + stroke-width: 0; +} +/* Today line */ +.today { + fill: none; + stroke: #DB5757; + stroke-width: 2px; +} +/* Task styling */ +/* Default task */ +.task { + stroke-width: 1; +} +.taskText { + text-anchor: middle; + font-size: 11px; +} +.taskTextOutsideRight { + fill: #323D47; + text-anchor: start; + font-size: 11px; +} +.taskTextOutsideLeft { + fill: #323D47; + text-anchor: end; + font-size: 11px; +} +/* Specific task settings for the sections*/ +.taskText0, +.taskText1, +.taskText2, +.taskText3 { + fill: #323D47; +} +.task0, +.task1, +.task2, +.task3 { + fill: #BDD5EA; + stroke: rgba(255, 255, 255, 0.5); +} +.taskTextOutside0, +.taskTextOutside2 { + fill: lightgrey; +} +.taskTextOutside1, +.taskTextOutside3 { + fill: lightgrey; +} +/* Active task */ +.active0, +.active1, +.active2, +.active3 { + fill: #81B1DB; + stroke: rgba(255, 255, 255, 0.5); +} +.activeText0, +.activeText1, +.activeText2, +.activeText3 { + fill: #323D47 !important; +} +/* Completed task */ +.done0, +.done1, +.done2, +.done3 { + fill: lightgrey; +} +.doneText0, +.doneText1, +.doneText2, +.doneText3 { + fill: #323D47 !important; +} +/* Tasks on the critical line */ +.crit0, +.crit1, +.crit2, +.crit3 { + stroke: #E83737; + fill: #E83737; + stroke-width: 2; +} +.activeCrit0, +.activeCrit1, +.activeCrit2, +.activeCrit3 { + stroke: #E83737; + fill: #81B1DB; + stroke-width: 2; +} +.doneCrit0, +.doneCrit1, +.doneCrit2, +.doneCrit3 { + stroke: #E83737; + fill: lightgrey; + stroke-width: 1; + cursor: pointer; + shape-rendering: crispEdges; +} +.doneCritText0, +.doneCritText1, +.doneCritText2, +.doneCritText3 { + fill: lightgrey !important; +} +.activeCritText0, +.activeCritText1, +.activeCritText2, +.activeCritText3 { + fill: #323D47 !important; +} +.titleText { + text-anchor: middle; + font-size: 18px; + fill: lightgrey; +} +/* + + +*/ +.node text { + font-family: 'trebuchet ms', verdana, arial; + font-size: 14px; +} +div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: 'trebuchet ms', verdana, arial; + font-size: 12px; + background: #6D6D65; + border: 1px solid rgba(255, 255, 255, 0.25); + border-radius: 2px; + pointer-events: none; + z-index: 100; +} diff --git a/themes/pixyll.css b/themes/pixyll.css new file mode 100644 index 0000000..0821d5b --- /dev/null +++ b/themes/pixyll.css @@ -0,0 +1,485 @@ +@import-when-export url(http://fonts.googleapis.com/css?family=Merriweather:900,900italic,300,300italic); +@import-when-export url(http://fonts.googleapis.com/css?family=Lato:900,300); + + +/** + * forked from pixyll.com + * MIT license + */ + +@charset "UTF-8"; +@font-face { + font-family: 'Merriweather'; + font-style: normal; + font-weight: 300; + src: local('Merriweather Light'), local('Merriweather-Light'), url(./pixyll/Merriweather-Light.ttf); +} +@font-face { + font-family: 'Merriweather'; + font-style: normal; + font-weight: 900; + src: local('Merriweather Heavy'), local('Merriweather-Heavy'), url(./pixyll/Merriweather-Bold.ttf); +} +@font-face { + font-family: 'Merriweather'; + font-style: italic; + font-weight: 300; + src: local('Merriweather Light Italic'), local('Merriweather-LightItalic'), url(./pixyll/Merriweather-LightItalic.ttf); +} +@font-face { + font-family: 'Merriweather'; + font-style: italic; + font-weight: 900; + src: local('Merriweather Heavy Italic'), local('Merriweather-HeavyItalic'), url(./pixyll/Merriweather-HeavyItalic.ttf); +} + +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 300; + src: local('Lato Light'), local('Lato-Light'), url(./pixyll/Lato-Light.ttf); +} +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 900; + src: local('Lato Black'), local('Lato-Blcak'), url(./pixyll/Lato-Black.ttf); +} +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: bold; + src: local('Lato Black'), local('Lato-Blcak'), url(./pixyll/Lato-Black.ttf); +} +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 900; + src: local('Lato BlackItalic'), local('Lato-BlackItalic'), url(./pixyll/Lato-BlackItalic.ttf); +} +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: bold; + src: local('Lato BlackItalic'), local('Lato-BlackItalic'), url(./pixyll/Lato-BlackItalic.ttf); +} + +h1, +.h1, +.f1 { + font-size: 2rem; + line-height: 2.5rem; +} +h2, +.h2, +.f2 { + font-size: 1.5rem; + line-height: 2rem; +} +h3, +.h3, +.f3 { + font-size: 1.25rem; + line-height: 1.5rem; +} +p, +.p, +.f4, +h4, +h5, +h6, +dl, +ol, +ul, +pre[cid], +div[cid], +#typora-source { + font-size: 1.125rem; + line-height: 1.5rem; +} + +h4 { + font-size: 1.13rem; +} +/* + Pixyll + A simple, beautiful theme for Jekyll that emphasizes content rather than aesthetic fluff. + Best served with BASSCSS (http://jxnblk.github.io/basscss) + Crafted with <3 by John Otander (@4lpine) - ©2015 John Otander MIT License http://opensource.org/licenses/MIT + +*/ + +body { + font-family: "Merriweather", "PT Serif", Georgia, "Times New Roman", "STSong", Serif; + line-height: 1.5rem; + font-weight: 400; +} + +#write { + max-width: 914px; + color: #333; +} + +img { + width: auto; + max-width: 100%; +} +body { + font-size: 1.5rem; + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; +} + +.md-table-edit { + background: #ededed; + padding-top: 4px; +} + +table { + width: 100%; + font-size: 1.125rem; +} +table > thead > tr > th, +table > thead > tr > td, +table > tbody > tr > th, +table > tbody > tr > td, +table > tfoot > tr > th, +table > tfoot > tr > td { + padding: 12px; + line-height: 1.2; + vertical-align: top; + border-top: 1px solid #333; +} +table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #333; +} +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 #333; +} +p { + font-weight: 300; + line-height: 1.5; +} +abbr { + border-bottom: 1px black dotted; + cursor: help; +} +pre, +code { + font-family: Menlo, Monaco, "Courier New", monospace; +} + +code, +.md-fences { + color: #7a7a7a; +} + +.md-fences .CodeMirror.CodeMirror-wrap { + top: -1.5em; + margin-bottom: -1.5em; +} + +.md-fences { + padding: 1.125em; + margin-bottom: 0.88em; + font-size: 1rem; + border: 1px solid #7a7a7a; +} + +blockquote { + padding: 1.33em; + font-style: italic; + border-left: 5px solid #7a7a7a; + color: #555; +} +blockquote em { + color: #000; +} +blockquote footer { + font-size: .85rem; + font-style: normal; + background-color: #fff; + color: #7a7a7a; + border-color: transparent; +} +h1, +.h1, +h2, +.h2, +h3, +.h3, +h4, +.h4, +h5, +.h5, +h6, +.h6 { + font-family: "Lato", 'Helvetica Neue', Helvetica, sans-serif; + font-weight: 900; + line-height: 1.2; + margin: 1em 0 0.5em; +} +@media screen and (min-width: 48em) { + .h1, + h1 { + font-size: 3.250rem; + } + .h2, + h2 { + font-size: 2.298rem; + } + .h3, + h3 { + font-size: 1.625rem; + } + .h4, + h4 { + font-size: 1.3rem; + } + #write>h4.md-focus:before, + #write>h5.md-focus:before, + #write>h6.md-focus:before{ + top: 1px; + } + .p, + p, + li { + font-size: 1.25rem; + line-height: 1.8; + } + table { + font-size: 1.25rem; + } +} +@media (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.3rem; + } +} +@media screen and (min-width: 64em) { + .h1, + h1 { + font-size: 4.498rem; + } + .h2, + h2 { + font-size: 2.29rem; + } + .h3, + h3 { + font-size: 1.9rem; + } + .h4, + h4 { + font-size: 1.591rem; + } + #write>h4.md-focus:before{ + top:4px; + } +} +a { + color: #463F5C; + text-decoration: underline; +} + +#write { + padding-top: 2rem; +} +#write pre.md-meta-block { + min-height: 35px; + padding: 0.5em 1em; + white-space: pre; + border: 0px; + border-left: 1000px #f8f8f8 solid; + margin-left: -1000px; + border-right: 1000px #f8f8f8 solid; + margin-right: -1000px; + margin-bottom: 2em; + margin-top: -2010px; + padding-top: 2000px; + padding-bottom: 10px; + line-height: 1.5em; + color: #7a7a7a; + background-color: #fafafa; + font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif; + font-weight: 300; + clear: both; + padding-left: 0; + font-size:1.125rem; +} +.md-image>.md-meta { + color: #463F5C +} +.footnotes { + font-size:1.1rem; +} +.md-tag { + font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif; +} +.code-tooltip { + background: white; +} +.code-tooltip-content { + font-size: 1.1rem; +} + +.task-list{ + padding-left: 0; +} + +.task-list-item { + padding-left:34px; +} + +.task-list-item input{ + width: 1.25rem; + height: 1.25rem; + display: block; + -webkit-appearance: initial; + top: -2px; +} + +.task-list-item input:focus{ + outline: none; + box-shadow: none; +} + +.task-list-item input:before{ + border: 1px solid #555; + border-radius: 1.5rem; + width: 1.5rem; + height: 1.5rem; + background: #fff; + content: ' '; + transition: background-color 200ms ease-in-out; + display: block; +} + +.task-list-item input:checked:before, +.task-list-item input[checked]:before{ + background: #333; + border-width: 2px; + display:inline-block; + transition: background-color 200ms ease-in-out; +} + +.task-list-item input:checked:after, +.task-list-item input[checked]:after { + opacity: 1; +} + +.task-list-item input:after { + opacity: 1; + -webkit-transition: opacity 0.05s ease-in-out; + -moz-transition: opacity 0.05s ease-in-out; + transition: opacity 0.05s ease-in-out; + -webkit-transform: rotate(-45deg); + -moz-transform: rotate(-45deg); + transform: rotate(-45deg); + position: absolute; + top: 0.4375rem; + left: 0.28125rem; + width: 0.9375rem; + height: 0.5rem; + border: 3px solid #fff; + border-top: 0; + border-right: 0; + content: ' '; + opacity: 0; +} + +.md-tag { + color:inherit; +} + +.md-toc:focus .md-toc-content{ + margin-top: 19px; +} + +#outline-dropmenu { + background-color:white; + font-size:1rem !important; +} + +#outline-content li, #outline-content ul { + font-size:1rem !important; +} + +.outline-title { + line-height: inherit; + margin-top: 10px; +} + +.outline-expander { + width: 18px; +} + +.outline-expander:before { + content: "+"; + font-family: inherit; + color: rgb(108, 108, 108); + font-size: 1.5rem; + top: 0.1rem; +} + +.outline-expander:hover:before { + content: "+"; +} + +.outline-item-open>.outline-item>.outline-expander:before{ + content: "-"; +} + +/** source code mode */ +#typora-source { + font-family: Courier, monospace; + color: #6A6A6A; +} + +.os-windows #typora-source { + font-family: inherit; +} + +.cm-s-typora-default .cm-header, +.cm-s-typora-default .cm-property, +.CodeMirror.cm-s-typora-default div.CodeMirror-cursor { + color: #428bca; +} + +.cm-s-typora-default .cm-atom, .cm-s-typora-default .cm-number { + color: #777777; +} + + +.md-diagram-panel { + margin-top: 24px; + margin-left: -1.2em; +} \ No newline at end of file diff --git a/themes/pixyll/Lato-Black.ttf b/themes/pixyll/Lato-Black.ttf new file mode 100644 index 0000000..6848db0 Binary files /dev/null and b/themes/pixyll/Lato-Black.ttf differ diff --git a/themes/pixyll/Lato-BlackItalic.ttf b/themes/pixyll/Lato-BlackItalic.ttf new file mode 100644 index 0000000..5decf12 Binary files /dev/null and b/themes/pixyll/Lato-BlackItalic.ttf differ diff --git a/themes/pixyll/Lato-Hairline.ttf b/themes/pixyll/Lato-Hairline.ttf new file mode 100644 index 0000000..288be29 Binary files /dev/null and b/themes/pixyll/Lato-Hairline.ttf differ diff --git a/themes/pixyll/Lato-Light.ttf b/themes/pixyll/Lato-Light.ttf new file mode 100644 index 0000000..a958067 Binary files /dev/null and b/themes/pixyll/Lato-Light.ttf differ diff --git a/themes/pixyll/Merriweather-Black.ttf b/themes/pixyll/Merriweather-Black.ttf new file mode 100644 index 0000000..5186457 Binary files /dev/null and b/themes/pixyll/Merriweather-Black.ttf differ diff --git a/themes/pixyll/Merriweather-Bold.ttf b/themes/pixyll/Merriweather-Bold.ttf new file mode 100644 index 0000000..2340777 Binary files /dev/null and b/themes/pixyll/Merriweather-Bold.ttf differ diff --git a/themes/pixyll/Merriweather-BoldItalic.ttf b/themes/pixyll/Merriweather-BoldItalic.ttf new file mode 100644 index 0000000..f67d7e5 Binary files /dev/null and b/themes/pixyll/Merriweather-BoldItalic.ttf differ diff --git a/themes/pixyll/Merriweather-HeavyItalic.ttf b/themes/pixyll/Merriweather-HeavyItalic.ttf new file mode 100644 index 0000000..f94d0cc Binary files /dev/null and b/themes/pixyll/Merriweather-HeavyItalic.ttf differ diff --git a/themes/pixyll/Merriweather-Italic.ttf b/themes/pixyll/Merriweather-Italic.ttf new file mode 100644 index 0000000..5833586 Binary files /dev/null and b/themes/pixyll/Merriweather-Italic.ttf differ diff --git a/themes/pixyll/Merriweather-Light.ttf b/themes/pixyll/Merriweather-Light.ttf new file mode 100644 index 0000000..ee7adbd Binary files /dev/null and b/themes/pixyll/Merriweather-Light.ttf differ diff --git a/themes/pixyll/Merriweather-LightItalic.ttf b/themes/pixyll/Merriweather-LightItalic.ttf new file mode 100644 index 0000000..3373e61 Binary files /dev/null and b/themes/pixyll/Merriweather-LightItalic.ttf differ diff --git a/themes/pixyll/Merriweather-Regular.ttf b/themes/pixyll/Merriweather-Regular.ttf new file mode 100644 index 0000000..28a80e4 Binary files /dev/null and b/themes/pixyll/Merriweather-Regular.ttf differ diff --git a/themes/pixyll/OFL.txt b/themes/pixyll/OFL.txt new file mode 100644 index 0000000..8aa8cd6 --- /dev/null +++ b/themes/pixyll/OFL.txt @@ -0,0 +1,94 @@ +Copyright (c) 2010-2013, Sorkin Type Co (www.sorkintype.com) with Reserved Font Name 'Merriweather' + +Merriweather is a trademark of Sorkin Type Co. +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/themes/whitey.css b/themes/whitey.css new file mode 100644 index 0000000..ba16dc3 --- /dev/null +++ b/themes/whitey.css @@ -0,0 +1,253 @@ +html { + font-size: 19px; +} + +html, body { + margin: auto; + background: #fefefe; +} +body { + font-family: "Vollkorn", Palatino, Times; + color: #333; + line-height: 1.4; + text-align: justify; +} +#write { + max-width: 960px; + margin: 0 auto; + margin-bottom: 2em; + line-height: 1.53; +} + +#write>h2:first-child, +#write>h3:first-child, +#write>h4:first-child, +#write>p:first-child{ + margin-top: 1.2em; +} + +/* Typography +-------------------------------------------------------- */ + +#write>h1:first-child, +h1 { + margin-top: 1.6em; + font-weight: normal; +} + +h1 { + font-size:3em; +} + +h2 { + margin-top:2em; + font-weight: normal; +} + +h3 { + font-weight: normal; + font-style: italic; + margin-top: 3em; +} + +h1, +h2, +h3{ + text-align: center; +} + +h2:after{ + border-bottom: 1px solid #2f2f2f; + content: ''; + width: 100px; + display: block; + margin: 0 auto; + height: 1px; +} + +h1+h2, h2+h3 { + margin-top: 0.83em; +} + +p, +.mathjax-block { + margin-top: 0; + -webkit-hypens: auto; + -moz-hypens: auto; + hyphens: auto; +} +ul { + list-style: square; + padding-left: 1.2em; +} +ol { + padding-left: 1.2em; +} +blockquote { + margin-left: 1em; + padding-left: 1em; + border-left: 1px solid #ddd; +} +code, +pre { + font-family: "Consolas", "Menlo", "Monaco", monospace, serif; + font-size: .9em; + background: white; +} +.md-fences{ + margin-left: 1em; + padding-left: 1em; + border: 1px solid #ddd; + padding-bottom: 8px; + padding-top: 6px; + margin-bottom: 1.5em; +} + +a { + color: #2484c1; + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a img { + border: none; +} +h1 a, +h1 a:hover { + color: #333; + text-decoration: none; +} +hr { + color: #ddd; + height: 1px; + margin: 2em 0; + border-top: solid 1px #ddd; + border-bottom: none; + border-left: 0; + border-right: 0; +} +.md-table-edit { + background: #ededed; + padding-top: 4px; +} +table { + margin-bottom: 1.333333rem +} +table th, +table td { + padding: 8px; + line-height: 1.333333rem; + 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 +} + +.task-list{ + padding:0; +} + +.task-list-item { + padding-left: 1.6rem; +} + +.task-list-item input:before { + content: '\221A'; + display: inline-block; + width: 1.33333333rem; + height: 1.6rem; + vertical-align: middle; + text-align: center; + color: #ddd; + background-color: #fefefe; +} + +.task-list-item input:checked:before, +.task-list-item input[checked]:before{ + color: inherit; +} +.md-tag { + color: inherit; + font: inherit; +} +#write pre.md-meta-block { + min-height: 35px; + padding: 0.5em 1em; +} +#write pre.md-meta-block { + white-space: pre; + background: #f8f8f8; + border: 0px; + color: #999; + border-left: 1000px #f8f8f8 solid; + margin-left: -1000px; + border-right: 1000px #f8f8f8 solid; + margin-right: -1000px; + margin-bottom: 2em; + margin-top: -1.3333333333333rem; + padding-top: 26px; + padding-bottom: 10px; + line-height: 1.8em; + font-size: 0.9em; + font-size: 0.76em; + padding-left: 0; +} +.md-img-error.md-image>.md-meta{ + vertical-align: bottom; +} +#write>h5.md-focus:before { + top: 2px; +} + +.md-toc { + margin-top: 40px; +} + +.md-toc-content { + padding-bottom: 20px; +} + +.outline-expander:before { + color: inherit; + font-size: 14px; + top: auto; + content: "\f0da"; + font-family: FontAwesome; +} + +.outline-expander:hover:before, +.outline-item-open>.outline-item>.outline-expander:before { + content: "\f0d7"; +} + +/** source code mode */ +#typora-source { + font-family: Courier, monospace; + color: #6A6A6A; +} + +.cm-s-typora-default .cm-header, +.cm-s-typora-default .cm-property, +.CodeMirror.cm-s-typora-default div.CodeMirror-cursor { + color: #428bca; +} + +.cm-s-typora-default .cm-atom, .cm-s-typora-default .cm-number { + color: #777777; +}