22 font-family : 'Latin Modern Roman' ;
33 font-weight : normal;
44 font-style : normal;
5- src : url ('https://cdn.rawgit.com/AndrewBelt/WiTeX/master /fonts/lmroman10-regular.woff' ) format ('woff' );
5+ src : url ('.. /fonts/lmroman10-regular.woff' ) format ('woff' );
66}
77
88@font-face {
99 font-family : 'Latin Modern Roman' ;
1010 font-weight : bold;
1111 font-style : normal;
12- src : url ('https://cdn.rawgit.com/AndrewBelt/WiTeX/master /fonts/lmroman10-bold.woff' ) format ('woff' );
12+ src : url ('.. /fonts/lmroman10-bold.woff' ) format ('woff' );
1313}
1414
1515@font-face {
1616 font-family : 'Latin Modern Roman' ;
1717 font-weight : normal;
1818 font-style : italic;
19- src : url ('https://cdn.rawgit.com/AndrewBelt/WiTeX/master /fonts/lmroman10-italic.woff' ) format ('woff' );
19+ src : url ('.. /fonts/lmroman10-italic.woff' ) format ('woff' );
2020}
2121
2222@font-face {
2323 font-family : 'Latin Modern Roman' ;
2424 font-weight : bold;
2525 font-style : italic;
26- src : url ('https://cdn.rawgit.com/AndrewBelt/WiTeX/master /fonts/lmroman10-bolditalic.woff' ) format ('woff' );
26+ src : url ('.. /fonts/lmroman10-bolditalic.woff' ) format ('woff' );
2727}
2828
29- @font-face {
30- font-family : 'Latin Modern Mono' ;
31- font-weight : normal;
32- font-style : normal;
33- src : url ('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmmono10-regular.woff' ) format ('woff' );
34- }
35-
36- @font-face {
37- font-family : 'Latin Modern Mono' ;
38- font-weight : normal;
39- font-style : italic;
40- src : url ('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmmono10-italic.woff' ) format ('woff' );
41- }
4229
4330html ,
4431body {
@@ -47,6 +34,10 @@ body {
4734 padding : 0 ;
4835}
4936
37+ # preview-pane .toastui-editor-contents {
38+ font-family : 'Latin Modern Roman' , serif;
39+ }
40+
5041@media (min-width : 601px ) {
5142 main {
5243 flex : 1 ;
@@ -106,78 +97,6 @@ body {
10697 }
10798}
10899
109- # preview-pane .toastui-editor-contents {
110- font-family : 'Latin Modern Roman' , serif;
111- }
112-
113- .toastui-editor-ww-container {
114- background-color : var (--container ) !important ;
115- }
116-
117- .toastui-editor-contents h1 ,
118- .toastui-editor-contents h2 ,
119- .toastui-editor-contents h3 ,
120- .toastui-editor-contents h4 ,
121- .toastui-editor-contents h5 ,
122- .toastui-editor-contents h6 ,
123- .toastui-editor-contents li ,
124- .toastui-editor-ww-container .toastui-editor-contents td p ,
125- .toastui-editor-ww-container .toastui-editor-contents p ,
126- .scroll > table ,
127- table : is (thead ,
128- tbody ,
129- tfoot ,
130- tr ,
131- td ),
132- .toastui-editor-contents p {
133- color : var (--on-background ) !important ;
134- }
135-
136- .toastui-editor-contents table th {
137- background-color : var (--surface-container-high ) !important ;
138- }
139-
140- # preview-pane .toastui-editor-contents table th {
141- background-color : # 555 !important ;
142- }
143-
144- .toastui-editor-defaultUI-toolbar {
145- background-color : var (--surface-container-highest ) !important ;
146- border-top-right-radius : 1.5em !important ;
147- border-top-left-radius : 1.5em !important ;
148- }
149-
150- .toastui-editor-defaultUI {
151- border-color : var (--outline ) !important ;
152- border-radius : 1.5em !important ;
153- }
154-
155- .toastui-editor-mode-switch {
156- border-top : none !important ;
157- background-color : var (--fill ) !important ;
158- }
159-
160- .toastui-editor-mode-switch .tab-item {
161- background-color : var (--fill ) !important ;
162- color : var (--on-primary ) !important ;
163- }
164-
165- .toastui-editor-mode-switch .tab-item {
166- background-color : var (--surface-container ) !important ;
167- color : var (--on-surface-container ) !important ;
168- border : none !important ;
169- border-radius : 1.5em !important ;
170- margin : .125rem !important ;
171- }
172-
173- .toastui-editor-mode-switch .tab-item : hover {
174- background : var (--active ) !important ;
175- }
176-
177- .toastui-editor-mode-switch .tab-item .active {
178- background-color : var (--secondary-container ) !important ;
179- color : var (--on-secondary-container ) !important ;
180- }
181100
182101@media print {
183102 body {
0 commit comments