Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit 05dbc32

Browse files
committed
Fixed LaTeX fonts
1 parent 5738d3a commit 05dbc32

6 files changed

Lines changed: 14 additions & 34 deletions

File tree

src/static/css/style.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
display: none !important;
33
}
44

5-
.toastui-editor-defaultUI-toolbar {
6-
flex-wrap: nowrap !important;
7-
overflow-x: auto !important;
8-
overflow-y: hidden !important;
9-
}
10-
115
.file-icon svg {
126
width: 24px !important;
137
height: 24px !important;

src/static/css/worksheet.css

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,41 @@
11
@font-face {
2-
font-family: 'Latin Modern Roman';
3-
font-weight: normal;
2+
font-family: "Latin Modern Roman";
3+
src: url("../fonts/lmroman10-regular.woff") format("woff");
4+
font-weight: 400;
45
font-style: normal;
5-
src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-regular.woff') format('woff');
66
}
77

88
@font-face {
9-
font-family: 'Latin Modern Roman';
10-
font-weight: bold;
9+
font-family: "Latin Modern Roman";
10+
src: url("../fonts/lmroman10-bold.woff") format("woff");
11+
font-weight: 700;
1112
font-style: normal;
12-
src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bold.woff') format('woff');
13-
}
14-
15-
@font-face {
16-
font-family: 'Latin Modern Roman';
17-
font-weight: normal;
18-
font-style: italic;
19-
src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-italic.woff') format('woff');
2013
}
2114

2215
@font-face {
23-
font-family: 'Latin Modern Roman';
24-
font-weight: bold;
16+
font-family: "Latin Modern Roman";
17+
src: url("../fonts/lmroman10-italic.woff") format("woff");
18+
font-weight: 400;
2519
font-style: italic;
26-
src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bolditalic.woff') format('woff');
2720
}
2821

2922
@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;
23+
font-family: "Latin Modern Roman";
24+
src: url("../fonts/lmroman10-bolditalic.woff") format("woff");
25+
font-weight: 700;
3926
font-style: italic;
40-
src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmmono10-italic.woff') format('woff');
4127
}
4228

4329
@font-face {
4430
font-family: "OpenDyslexic";
45-
src: url("/static/fonts/OpenDyslexic-Regular.otf") format("opentype");
31+
src: url("../fonts/OpenDyslexic-Regular.otf") format("opentype");
4632
font-weight: 400;
4733
font-style: normal;
4834
}
4935

5036
@font-face {
5137
font-family: "OpenDyslexic";
52-
src: url("/static/fonts/OpenDyslexic-Bold.otf") format("opentype");
38+
src: url("../fonts/OpenDyslexic-Bold.otf") format("opentype");
5339
font-weight: 700;
5440
font-style: normal;
5541
}
53.5 KB
Binary file not shown.
56.7 KB
Binary file not shown.
57.2 KB
Binary file not shown.
54.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)