-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.less
218 lines (199 loc) · 3.44 KB
/
index.less
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
@import url(./fonts.css);
.markdown-body {
padding: 45px;
}
@media (max-width:767px) {
.markdown-body {
padding: 15px;
}
}
.markdown-body>:first-child {
margin-top: 0;
}
.markdown-body {
min-width: 200px;
max-width: 980px;
margin: 0 auto;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 16px;
line-height: 1.3;
color: #212121;
//! Text Elements Styles
p {
text-align: justify;
word-spacing: -1.5px;
}
h1 {
font-size: 2.2em;
}
h2 {
font-size: 2em;
}
h3 {
font-size: 1.8em;
}
h4 {
font-size: 1.6em;
}
h5 {
font-size: 1.4em;
}
h6 {
font-size: 1.2em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 600;
color: #282828;
line-height: 1.25;
margin-bottom: 16px;
margin-top: 24px;
}
pre {
white-space: pre-wrap
}
//! Tables and HR Styles
hr {
border: 0;
margin: 24px 0;
background-color: #d7d8d9;
height: 2px;
}
table {
display: table;
table-layout: fixed;
width: 100%;
border-collapse: collapse;
tr {
background-color: #fff;
border-top: 1px solid #c6cbd1;
}
th {
font-weight: normal;
}
td,
th {
border: 1px solid #dfe2e5;
padding: 6px 13px;
}
tr:nth-child(2n) {
background-color: #f6f8fa;
}
}
div.sourceCode{
padding: 0.8rem;
background-color: #fafbff;
border: 1px solid #e5e5e5;
pre.sourceCode{
font-size: 0.9em;
code.sourceCode{
font-family: "JetBrains Mono", monospace;
}
}
}
p > span.math.display:only-child{
text-align: center;
display: block;
font-size: 1.3em;
font-family: Katex_main, 'Times New Roman';
}
blockquote{
margin: 0 0.2rem 16px 0.2rem;
border-left: #ccc solid 7.5px;
background-color: #f1f1f1;
padding: 0.8rem;
border-radius: 7px;
p{
margin-bottom: 10px;
}
p:last-of-type {
margin-bottom: 0;
}
}
div.alert-default{
background-color: #eeeeee;
border: 2px solid gray;
border-top: 5px solid gray;
border-radius: 0 0 7px 7px;
padding: 0.8rem;
margin: 0 0.2rem 16px 0.2rem;
p{
margin-bottom: 10px;
}
p:last-of-type {
margin-bottom: 0;
}
}
div.alert-error{
background-color: #eec6c6;
border: 2px solid #e00505;
border-top: 5px solid #e00505;
border-radius: 0 0 7px 7px;
padding: 0.8rem;
margin: 0 0.2rem 16px 0.2rem;
p{
margin-bottom: 10px;
}
p:last-of-type {
margin-bottom: 0;
}
}
div.alert-warning{
background-color: #ffe4c3;
border: 2px solid #f88400;
border-top: 5px solid #f88400;
border-radius: 0 0 7px 7px;
padding: 0.8rem;
margin: 0 0.2rem 16px 0.2rem;
p{
margin-bottom: 10px;
}
p:last-of-type {
margin-bottom: 0;
}
}
div.alert-tip{
background-color: #c4c3ff;
border: 2px solid #376bb9;
border-top: 5px solid #376bb9;
border-radius: 0 0 7px 7px;
padding: 0.8rem;
margin: 0 0.2rem 16px 0.2rem;
p{
margin-bottom: 10px;
}
p:last-of-type {
margin-bottom: 0;
}
}
div.alert-success{
background-color: #aaffb1;
border: 2px solid #549e4d;
border-top: 5px solid #549e4d;
border-radius: 0 0 7px 7px;
padding: 0.8rem;
margin: 0 0.2rem 16px 0.2rem;
p{
margin-bottom: 10px;
}
p:last-of-type {
margin-bottom: 0;
}
}
section.footnotes.footnotes-end-of-document hr{
width: 25%;
}
}
blockquote,
dl,
ol,
p,
pre,
table,
ul {
margin: 0 0 16px 0;
}