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;
60 -webkit-font-smoothing: antialiased;
64 background-color: #f3f2ee;
65 font-family: "PT Serif", 'Times New Roman', Times, serif;
73 padding-left: calc(50% - 17em);
74 padding-right: calc(50% - 17em);
77 @media (max-width: 36em) {
88 @media only screen and (min-width: 1400px) {
95 list-style-type: decimal;
96 list-style-position: outside;
99 list-style-type: disc;
100 list-style-position: outside;
120 border-collapse: collapse;
150 margin-top: 2.285714em;
152 margin-bottom: 1.15em;
170 border-bottom: 1px solid;
171 margin-bottom: 1.875em;
172 padding-bottom: 0.8125em;
177 text-decoration: none;
182 text-decoration: underline;
189 margin-bottom: 1.5em;
197 margin-bottom: 1.5em;
203 border-left: 5px solid;
211 margin: 0 0 1.5em 1.5em;
214 .md-meta,.md-before, .md-after {
219 margin-bottom: 1.5em;
226 padding: .25em .25em .25em .4em;
227 text-transform: uppercase;
234 padding: .25em .25em .25em .4em;
239 background-color: #dadada;
258 line-height: 1.714285em;
265 margin-bottom: 0.5em;
291 list-style-type: lower-alpha;
295 list-style-type: lower-roman;
300 margin-bottom: .75em;
305 border-bottom: 1px solid;
309 border-color: #c5c5c5;
312 border-color: #bababa;
322 background-color: transparent;
325 background-color: #dadada;
331 border-color: #c5c5c5;
338 padding-left: 1.5rem;
339 list-style-type: none;
342 .md-task-list-item > input:before {
344 display: inline-block;
347 vertical-align: middle;
350 background-color: #F3F2EE;
353 .md-task-list-item > input:checked:before,
354 .md-task-list-item > input[checked]:before{
358 #write pre.md-meta-block {
359 min-height: 1.875rem;
362 background: transparent;
373 font-family: Menlo, 'Ubuntu Mono', Consolas, 'Courier New', 'Microsoft Yahei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', serif;
377 #write>h3.md-focus:before{
382 #write>h4.md-focus:before{
388 #write>h5.md-focus:before{
394 #write>h6.md-focus:before{
401 .md-toc:focus .md-toc-content{
405 .md-toc-content:empty:before{
411 #write div.md-toc-tooltip {
412 background-color: #f3f2ee;
416 background-color: #f3f2ee;
417 -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375);
418 box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375);
421 .pin-outline #typora-sidebar {
424 border-right: 1px dashed;
427 .pin-outline #typora-sidebar:hover .outline-title-wrapper {
428 border-left:1px dashed;
431 .outline-item:hover {
432 background-color: #dadada;
433 border-left: 28px solid #dadada;
434 border-right: 18px solid #dadada;
437 .typora-node .outline-item:hover {
438 border-right: 28px solid #dadada;
441 .outline-expander:before {
443 font-family: FontAwesome;
448 .outline-expander:hover:before,
449 .outline-item-open>.outline-item>.outline-expander:before {
454 background-color: #f3f2ee;
457 .auto-suggest-container ul li {
458 list-style-type: none;
461 /** UI for electron */
464 #top-titlebar, #top-titlebar *,
470 .megamenu-menu-header {
471 border-bottom: 1px dashed #202B33;
476 border-right: 1px dashed;
479 header, .context-menu, .megamenu-content, footer {
480 font-family: "PT Serif", 'Times New Roman', Times, serif;
486 border-color: #1f0909;
489 .megamenu-menu-header #megamenu-menu-header-title:before {
493 .megamenu-menu-list li a:hover, .megamenu-menu-list li a.active {
495 background-color: #e8e7df;
499 background-color: #e8e7df;
502 #recent-file-panel tbody tr:nth-child(2n-1) {
503 background-color: transparent !important;
506 .megamenu-menu-panel tbody tr:hover td:nth-child(2) {
510 .megamenu-menu-panel .btn {
511 background-color: #D2D1D1;
515 background-color: transparent;
518 .typora-sourceview-on #toggle-sourceview-btn,
519 .ty-show-word-count #footer-word-count {
524 background-color: inherit;
531 .file-list-item-file-name {
532 font-weight: initial;
535 .file-list-item-summary {
543 .file-list-item.active {
544 background-color: inherit;
548 .ty-side-sort-btn.active {
549 background-color: inherit;
552 .file-list-item.active .file-list-item-file-name {
557 opacity:1 !important;
560 .file-library-node.active>.file-node-background{
561 background-color: rgba(32, 43, 51, 0.63);
562 background-color: var(--active-file-bg-color);
565 .file-tree-node.active>.file-node-content{
567 color: var(--active-file-text-color);
570 .md-task-list-item>input {
572 margin-top: calc(1rem - 12px);
576 border: 1px solid #aaa;
579 .megamenu-menu-header #megamenu-menu-header-title,
580 .megamenu-menu-header:hover,
581 .megamenu-menu-header:focus {
585 .dropdown-menu .divider {
586 border-color: #e5e5e5;
590 /* https://github.com/typora/typora-issues/issues/2046 */
591 .os-windows-7 strong,
592 .os-windows-7 strong {
596 .ty-preferences .btn-default {
597 background: transparent;
600 .ty-preferences .window-header {
601 border-bottom: 1px dashed #202B33;
605 #sidebar-loading-template, #sidebar-loading-template.file-list-item {
609 .searchpanel-search-option-btn.active {