1 /* meyer reset -- http://meyerweb.com/eric/tools/css/reset/ , v2.0 | 20110126 | License: none (public domain) */
3 @include-when-export url(https://fonts.loli.net/css?family=PT+Serif:400,400italic,700,700italic&subset=latin,cyrillic-ext,cyrillic,latin-ext);
7 /* pt-serif-regular - latin */
9 font-family: 'PT Serif';
12 src: local('PT Serif'), local('PTSerif-Regular'), url('./newsprint/pt-serif-v11-latin-regular.woff2') format('woff2');
13 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
15 /* pt-serif-italic - latin */
17 font-family: 'PT Serif';
20 src: local('PT Serif Italic'), local('PTSerif-Italic'), url('./newsprint/pt-serif-v11-latin-italic.woff2') format('woff2');
21 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
23 /* pt-serif-700 - latin */
25 font-family: 'PT Serif';
28 src: local('PT Serif Bold'), local('PTSerif-Bold'), url('./newsprint/pt-serif-v11-latin-700.woff2') format('woff2');
29 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
31 /* pt-serif-700italic - latin */
33 font-family: 'PT Serif';
36 src: local('PT Serif Bold Italic'), local('PTSerif-BoldItalic'), url('./newsprint/pt-serif-v11-latin-700italic.woff2') format('woff2');
37 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
41 --active-file-bg-color: #dadada;
42 --active-file-bg-color: rgba(32, 43, 51, 0.63);
43 --active-file-text-color: white;
45 --text-color: #1f0909;
46 --control-text-color: #444;
47 --rawblock-edit-panel-bd: #e5e5e5;
49 --select-text-bg-color: rgba(32, 43, 51, 0.63);
50 --select-text-font-color: white;
54 --select-text-bg-color: #36284e;
55 --select-text-font-color: #fff;
63 background-color: #f3f2ee;
64 font-family: "PT Serif", 'Times New Roman', Times, serif;
72 padding-left: calc(50% - 17em);
73 padding-right: calc(50% - 17em);
76 @media (max-width: 36em) {
87 @media only screen and (min-width: 1400px) {
94 list-style-type: decimal;
95 list-style-position: outside;
98 list-style-type: disc;
99 list-style-position: outside;
119 border-collapse: collapse;
149 margin-top: 2.285714em;
151 margin-bottom: 1.15em;
169 border-bottom: 1px solid;
170 margin-bottom: 1.875em;
171 padding-bottom: 0.8125em;
176 text-decoration: none;
181 text-decoration: underline;
188 margin-bottom: 1.5em;
196 margin-bottom: 1.5em;
202 border-left: 5px solid;
210 margin: 0 0 1.5em 1.5em;
213 .md-meta,.md-before, .md-after {
218 margin-bottom: 1.5em;
225 padding: .25em .25em .25em .4em;
226 text-transform: uppercase;
233 padding: .25em .25em .25em .4em;
238 background-color: #dadada;
257 line-height: 1.714285em;
264 margin-bottom: 0.5em;
290 list-style-type: lower-alpha;
294 list-style-type: lower-roman;
299 margin-bottom: .75em;
304 border-bottom: 1px solid;
308 border-color: #c5c5c5;
311 border-color: #bababa;
321 background-color: transparent;
324 background-color: #dadada;
330 border-color: #c5c5c5;
337 padding-left: 1.5rem;
338 list-style-type: none;
341 .md-task-list-item > input:before {
343 display: inline-block;
346 vertical-align: middle;
349 background-color: #F3F2EE;
352 .md-task-list-item > input:checked:before,
353 .md-task-list-item > input[checked]:before{
357 #write pre.md-meta-block {
358 min-height: 1.875rem;
361 background: transparent;
372 font-family: Menlo, 'Ubuntu Mono', Consolas, 'Courier New', 'Microsoft Yahei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', serif;
376 #write>h3.md-focus:before{
381 #write>h4.md-focus:before{
387 #write>h5.md-focus:before{
393 #write>h6.md-focus:before{
400 .md-toc:focus .md-toc-content{
404 .md-toc-content:empty:before{
410 #write div.md-toc-tooltip {
411 background-color: #f3f2ee;
415 background-color: #f3f2ee;
416 -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375);
417 box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375);
420 .pin-outline #typora-sidebar {
423 border-right: 1px dashed;
426 .pin-outline #typora-sidebar:hover .outline-title-wrapper {
427 border-left:1px dashed;
430 .outline-item:hover {
431 background-color: #dadada;
432 border-left: 28px solid #dadada;
433 border-right: 18px solid #dadada;
436 .typora-node .outline-item:hover {
437 border-right: 28px solid #dadada;
440 .outline-expander:before {
442 font-family: FontAwesome;
447 .outline-expander:hover:before,
448 .outline-item-open>.outline-item>.outline-expander:before {
453 background-color: #f3f2ee;
456 .auto-suggest-container ul li {
457 list-style-type: none;
460 /** UI for electron */
463 #top-titlebar, #top-titlebar *,
469 .megamenu-menu-header {
470 border-bottom: 1px dashed #202B33;
475 border-right: 1px dashed;
478 header, .context-menu, .megamenu-content, footer {
479 font-family: "PT Serif", 'Times New Roman', Times, serif;
485 border-color: #1f0909;
488 .megamenu-menu-header #megamenu-menu-header-title:before {
492 .megamenu-menu-list li a:hover, .megamenu-menu-list li a.active {
494 background-color: #e8e7df;
498 background-color: #e8e7df;
501 #recent-file-panel tbody tr:nth-child(2n-1) {
502 background-color: transparent !important;
505 .megamenu-menu-panel tbody tr:hover td:nth-child(2) {
509 .megamenu-menu-panel .btn {
510 background-color: #D2D1D1;
514 background-color: transparent;
517 .typora-sourceview-on #toggle-sourceview-btn,
518 .ty-show-word-count #footer-word-count {
523 background-color: inherit;
530 .file-list-item-file-name {
531 font-weight: initial;
534 .file-list-item-summary {
542 .file-list-item.active {
543 background-color: inherit;
547 .ty-side-sort-btn.active {
548 background-color: inherit;
551 .file-list-item.active .file-list-item-file-name {
556 opacity:1 !important;
559 .file-library-node.active>.file-node-background{
560 background-color: rgba(32, 43, 51, 0.63);
561 background-color: var(--active-file-bg-color);
564 .file-tree-node.active>.file-node-content{
566 color: var(--active-file-text-color);
569 .md-task-list-item>input {
571 margin-top: calc(1rem - 12px);
575 border: 1px solid #aaa;
578 .megamenu-menu-header #megamenu-menu-header-title,
579 .megamenu-menu-header:hover,
580 .megamenu-menu-header:focus {
584 .dropdown-menu .divider {
585 border-color: #e5e5e5;
589 /* https://github.com/typora/typora-issues/issues/2046 */
590 .os-windows-7 strong,
591 .os-windows-7 strong {
595 .ty-preferences .btn-default {
596 background: transparent;
599 .ty-preferences .window-header {
600 border-bottom: 1px dashed #202B33;
604 #sidebar-loading-template, #sidebar-loading-template.file-list-item {
608 .searchpanel-search-option-btn.active {