-
Notifications
You must be signed in to change notification settings - Fork 0
/
mdStyles.css
90 lines (79 loc) · 2.02 KB
/
mdStyles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
:root {
--vscode-editor-font-family: "Fira Code", Consolas, "Courier New", monospace;
--vscode-editor-font-features:
"zero", "cv01", "cv02", "cv06", "cv15", "cv18", "ss01", "ss02", "ss03", "ss04", "ss08";
--vscode-textPreformat-background: #eee;
--vscode-textCodeBlock-background: #fbfbfb;
--vscode-textBlockQuote-background: #f9f9f9;
--vscode-widget-border: #ddd;
}
h1, h2, h3, h4, h5, h6 {
break-after: avoid;
}
h1, h2, .supt1, .supt2, .subt1, .subt2 {
font-variant: small-caps;
}
h1, h2 { text-align: center; }
.subt2, .supt2 { font-size: 1.2em; }
.subt3, .supt3 { font-size: 1.1em; }
.supt1 {
margin-bottom: 0.2em;
font-size: 1.5em;
font-weight: bold;
}
.subt1 {
margin-bottom: 1em;
font-size: 1.7em;
font-weight: bold;
border-bottom: 1px dashed black;
}
p { text-align: justify; }
hr.pagebreak {
page-break-after: always;
border: none;
margin: 0;
padding: 0;
}
img {
margin-left: auto;
margin-right: auto;
display: block;
}
.katex { font-size: 1.05em; }
/* #region Inline and fenced code */
code {
font-size: 80%;
font-feature-settings: var(--vscode-editor-font-features);
white-space: pre-wrap;
background-color: var(--vscode-textPreformat-background);
border-radius: 4px;
padding: 1px 3px;
}
pre {
background-color: var(--vscode-textCodeBlock-background);
border: 1px solid var(--vscode-widget-border);
}
img {
background-color: var(--vscode-textBlockQuote-background);
padding: 5px;
border-radius: 4px;
}
/* #endregion Inline and Fenced code */
/* #region Blockquotes */
blockquote {
background: var(--vscode-textBlockQuote-background);
border-color: var(--vscode-textBlockQuote-border);
margin: 16px 0;
padding: 2px 16px 0 10px;
border-left-width: 5px;
border-left-style: solid;
border-radius: 5px;
}
/* #endregion Blockquotes */
/* #region Custom classes */
.center { text-align: center; }
p.caption {
margin-top: -14px;
break-before: avoid;
}
/* #endregion Custom classes */