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);
8 font-family: 'PT Serif';
11 src: local('PT Serif'), local('PTSerif-Regular'), url('./newsprint/pt-serif-v9-latin-regular.woff') format('woff');
14 font-family: 'PT Serif';
17 src: local('PT Serif'), local('PTSerif-Italic'), url('./newsprint/pt-serif-v9-latin-italic.woff') format('woff');
21 font-family: 'PT Serif';
24 src: local('PT Serif'), local('PTSerif-Bold'), url('./newsprint/pt-serif-v9-latin-700.woff') format('woff');
28 font-family: 'PT Serif';
31 src: local('PT Serif'), local('PTSerif-BoldItalic'), url('./newsprint/pt-serif-v9-latin-700italic.woff') format('woff');
35 --active-file-bg-color: #dadada;
36 --active-file-bg-color: rgba(32, 43, 51, 0.63);
37 --active-file-text-color: white;
39 --text-color: #1f0909;
40 --control-text-color: #444;
41 --rawblock-edit-panel-bd: #e5e5e5;
43 --select-text-bg-color: rgba(32, 43, 51, 0.63);
44 --select-text-font-color: white;
48 --select-text-bg-color: #36284e;
49 --select-text-font-color: #fff;
57 background-color: #f3f2ee;
58 font-family: "PT Serif", 'Times New Roman', Times, serif;
66 padding-left: calc(50% - 17em);
67 padding-right: calc(50% - 17em);
70 @media (max-width: 36em) {
81 @media only screen and (min-width: 1400px) {
88 list-style-type: decimal;
89 list-style-position: outside;
92 list-style-type: disc;
93 list-style-position: outside;
113 border-collapse: collapse;
143 margin-top: 2.285714em;
145 margin-bottom: 1.15em;
163 border-bottom: 1px solid;
164 margin-bottom: 1.875em;
165 padding-bottom: 0.8125em;
170 text-decoration: none;
175 text-decoration: underline;
182 margin-bottom: 1.5em;
190 margin-bottom: 1.5em;
196 border-left: 5px solid;
204 margin: 0 0 1.5em 1.5em;
207 .md-meta,.md-before, .md-after {
212 margin-bottom: 1.5em;
219 padding: .25em .25em .25em .4em;
220 text-transform: uppercase;
227 padding: .25em .25em .25em .4em;
232 background-color: #dadada;
251 line-height: 1.714285em;
258 margin-bottom: 0.5em;
284 list-style-type: lower-alpha;
288 list-style-type: lower-roman;
293 margin-bottom: .75em;
298 border-bottom: 1px solid;
302 border-color: #c5c5c5;
305 border-color: #bababa;
315 background-color: transparent;
318 background-color: #dadada;
324 border-color: #c5c5c5;
331 padding-left: 1.5rem;
332 list-style-type: none;
335 .md-task-list-item > input:before {
337 display: inline-block;
340 vertical-align: middle;
343 background-color: #F3F2EE;
346 .md-task-list-item > input:checked:before,
347 .md-task-list-item > input[checked]:before{
351 #write pre.md-meta-block {
352 min-height: 1.875rem;
355 background: transparent;
366 font-family: Menlo, 'Ubuntu Mono', Consolas, 'Courier New', 'Microsoft Yahei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', serif;
370 #write>h3.md-focus:before{
375 #write>h4.md-focus:before{
381 #write>h5.md-focus:before{
387 #write>h6.md-focus:before{
394 .md-toc:focus .md-toc-content{
398 .md-toc-content:empty:before{
404 #write div.md-toc-tooltip {
405 background-color: #f3f2ee;
409 background-color: #f3f2ee;
410 -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375);
411 box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375);
414 .pin-outline #typora-sidebar {
417 border-right: 1px dashed;
420 .pin-outline #typora-sidebar:hover .outline-title-wrapper {
421 border-left:1px dashed;
424 .outline-item:hover {
425 background-color: #dadada;
426 border-left: 28px solid #dadada;
427 border-right: 18px solid #dadada;
430 .typora-node .outline-item:hover {
431 border-right: 28px solid #dadada;
434 .outline-expander:before {
436 font-family: FontAwesome;
441 .outline-expander:hover:before,
442 .outline-item-open>.outline-item>.outline-expander:before {
447 background-color: #f3f2ee;
450 .auto-suggest-container ul li {
451 list-style-type: none;
454 /** UI for electron */
457 #top-titlebar, #top-titlebar *,
463 .megamenu-menu-header {
464 border-bottom: 1px dashed #202B33;
469 border-right: 1px dashed;
472 header, .context-menu, .megamenu-content, footer {
473 font-family: "PT Serif", 'Times New Roman', Times, serif;
479 border-color: #1f0909;
482 .megamenu-menu-header #megamenu-menu-header-title:before {
486 .megamenu-menu-list li a:hover, .megamenu-menu-list li a.active {
488 background-color: #e8e7df;
492 background-color: #e8e7df;
495 #recent-file-panel tbody tr:nth-child(2n-1) {
496 background-color: transparent !important;
499 .megamenu-menu-panel tbody tr:hover td:nth-child(2) {
503 .megamenu-menu-panel .btn {
504 background-color: #D2D1D1;
508 background-color: transparent;
511 .typora-sourceview-on #toggle-sourceview-btn,
512 .ty-show-word-count #footer-word-count {
517 background-color: inherit;
524 .file-list-item-file-name {
525 font-weight: initial;
528 .file-list-item-summary {
536 .file-list-item.active {
537 background-color: inherit;
541 .ty-side-sort-btn.active {
542 background-color: inherit;
545 .file-list-item.active .file-list-item-file-name {
550 opacity:1 !important;
553 .file-library-node.active>.file-node-background{
554 background-color: rgba(32, 43, 51, 0.63);
555 background-color: var(--active-file-bg-color);
558 .file-tree-node.active>.file-node-content{
560 color: var(--active-file-text-color);
563 .md-task-list-item>input {
565 margin-top: calc(1rem - 12px);
569 border: 1px solid #aaa;
572 .megamenu-menu-header #megamenu-menu-header-title,
573 .megamenu-menu-header:hover,
574 .megamenu-menu-header:focus {
578 .dropdown-menu .divider {
579 border-color: #e5e5e5;
582 /* https://github.com/typora/typora-issues/issues/2046 */
583 .os-windows-7 strong,
584 .os-windows-7 strong {
588 .ty-preferences .btn-default {
589 background: transparent;
592 .ty-preferences .window-header {
593 border-bottom: 1px dashed #202B33;
597 #sidebar-loading-template, #sidebar-loading-template.file-list-item {