jekyll-theme-abd3lraouf 5.2.6 → 5.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -21
- data/README.md +105 -105
- data/_data/assets/cross_origin.yml +62 -62
- data/_data/assets/self_host.yml +51 -51
- data/_data/authors.yml +17 -17
- data/_data/contact.yml +30 -30
- data/_data/locales/bg-BG.yml +83 -83
- data/_data/locales/en.yml +83 -83
- data/_data/locales/es-ES.yml +79 -79
- data/_data/locales/fr-FR.yml +79 -79
- data/_data/locales/hu-HU.yml +81 -81
- data/_data/locales/id-ID.yml +79 -79
- data/_data/locales/ko-KR.yml +79 -79
- data/_data/locales/my-MM.yml +79 -79
- data/_data/locales/pt-BR.yml +79 -79
- data/_data/locales/ru-RU.yml +79 -79
- data/_data/locales/tr-TR.yml +79 -79
- data/_data/locales/uk-UA.yml +79 -79
- data/_data/locales/vi-VN.yml +77 -77
- data/_data/locales/zh-CN.yml +78 -78
- data/_data/share.yml +27 -27
- data/_includes/assets-origin.html +12 -12
- data/_includes/comments/disqus.html +54 -54
- data/_includes/comments/giscus.html +56 -56
- data/_includes/comments/utterances.html +51 -51
- data/_includes/comments.html +5 -5
- data/_includes/datetime.html +21 -21
- data/_includes/favicons.html +17 -17
- data/_includes/footer.html +17 -36
- data/_includes/google-analytics.html +14 -14
- data/_includes/head.html +116 -116
- data/_includes/js-selector.html +104 -104
- data/_includes/jsdelivr-combine.html +32 -32
- data/_includes/lang.html +8 -8
- data/_includes/language-alias.html +70 -70
- data/_includes/mermaid.html +57 -57
- data/_includes/mode-toggle.html +129 -129
- data/_includes/no-linenos.html +10 -10
- data/_includes/post-nav.html +30 -30
- data/_includes/post-paginator.html +88 -88
- data/_includes/post-sharing.html +27 -27
- data/_includes/read-time.html +30 -30
- data/_includes/refactor-content.html +282 -282
- data/_includes/related-posts.html +103 -103
- data/_includes/search-loader.html +46 -46
- data/_includes/search-results.html +11 -11
- data/_includes/sidebar.html +93 -93
- data/_includes/toc.html +16 -16
- data/_includes/topbar.html +70 -70
- data/_includes/trending-tags.html +50 -50
- data/_includes/update-list.html +40 -40
- data/_layouts/archives.html +48 -48
- data/_layouts/categories.html +120 -120
- data/_layouts/category.html +24 -24
- data/_layouts/compress.html +10 -10
- data/_layouts/default.html +74 -74
- data/_layouts/home.html +103 -103
- data/_layouts/page.html +64 -64
- data/_layouts/post.html +159 -159
- data/_layouts/tag.html +23 -23
- data/_layouts/tags.html +23 -23
- data/_plugins/posts-lastmod-hook.rb +14 -14
- data/_sass/addon/commons.scss +1694 -1680
- data/_sass/addon/module.scss +151 -151
- data/_sass/addon/syntax.scss +289 -289
- data/_sass/addon/variables.scss +34 -34
- data/_sass/colors/dark-syntax.scss +88 -88
- data/_sass/colors/dark-typography.scss +157 -157
- data/_sass/colors/light-syntax.scss +84 -84
- data/_sass/colors/light-typography.scss +94 -94
- data/_sass/layout/archives.scss +147 -147
- data/_sass/layout/categories.scss +67 -67
- data/_sass/layout/category-tag.scss +73 -73
- data/_sass/layout/home.scss +184 -184
- data/_sass/layout/post.scss +369 -369
- data/_sass/layout/tags.scss +19 -19
- data/_sass/variables-hook.scss +3 -3
- data/_tabs/about.md +8 -8
- data/_tabs/archives.md +7 -7
- data/_tabs/categories.md +6 -6
- data/_tabs/tags.md +6 -6
- data/assets/404.html +69 -16
- data/assets/css/style.scss +12 -12
- data/assets/feed.xml +61 -61
- data/assets/img/404.png +0 -0
- data/assets/img/favicons/browserconfig.xml +13 -13
- data/assets/img/favicons/site.webmanifest +26 -26
- data/assets/js/data/search.json +18 -18
- data/assets/js/data/swcache.js +55 -55
- data/assets/js/pwa/app.js +47 -47
- data/assets/js/pwa/sw.js +89 -89
- data/assets/js/pwa/unregister.js +12 -12
- data/assets/robots.txt +10 -10
- data/index.html +4 -4
- metadata +8 -7
data/_sass/addon/commons.scss
CHANGED
@@ -1,1680 +1,1694 @@
|
|
1
|
-
/*
|
2
|
-
The common styles
|
3
|
-
*/
|
4
|
-
|
5
|
-
html {
|
6
|
-
@media (prefers-color-scheme: light) {
|
7
|
-
&:not([data-mode]),
|
8
|
-
&[data-mode=light] {
|
9
|
-
@include light-scheme;
|
10
|
-
}
|
11
|
-
|
12
|
-
&[data-mode=dark] {
|
13
|
-
@include dark-scheme;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
@media (prefers-color-scheme: dark) {
|
18
|
-
&:not([data-mode]),
|
19
|
-
&[data-mode=dark] {
|
20
|
-
@include dark-scheme;
|
21
|
-
}
|
22
|
-
|
23
|
-
&[data-mode=light] {
|
24
|
-
@include light-scheme;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
font-size: 16px;
|
29
|
-
}
|
30
|
-
|
31
|
-
body {
|
32
|
-
line-height: 1.75rem;
|
33
|
-
background: var(--body-bg);
|
34
|
-
color: var(--text-color);
|
35
|
-
-webkit-font-smoothing: antialiased;
|
36
|
-
font-family: 'Source Sans Pro', 'Microsoft Yahei', sans-serif;
|
37
|
-
}
|
38
|
-
|
39
|
-
/* --- Typography --- */
|
40
|
-
|
41
|
-
h1 {
|
42
|
-
@extend %heading;
|
43
|
-
|
44
|
-
font-size: 1.9rem;
|
45
|
-
}
|
46
|
-
|
47
|
-
h2 {
|
48
|
-
@extend %heading;
|
49
|
-
@extend %section;
|
50
|
-
@extend %anchor;
|
51
|
-
|
52
|
-
font-size: 1.5rem;
|
53
|
-
}
|
54
|
-
|
55
|
-
h3 {
|
56
|
-
@extend %heading;
|
57
|
-
@extend %section;
|
58
|
-
@extend %anchor;
|
59
|
-
|
60
|
-
font-size: 1.2rem;
|
61
|
-
}
|
62
|
-
|
63
|
-
h4 {
|
64
|
-
@extend %heading;
|
65
|
-
@extend %section;
|
66
|
-
@extend %anchor;
|
67
|
-
|
68
|
-
font-size: 1.15rem;
|
69
|
-
}
|
70
|
-
|
71
|
-
h5 {
|
72
|
-
@extend %heading;
|
73
|
-
@extend %section;
|
74
|
-
@extend %anchor;
|
75
|
-
|
76
|
-
font-size: 1.1rem;
|
77
|
-
}
|
78
|
-
|
79
|
-
ol,
|
80
|
-
ul {
|
81
|
-
ol,
|
82
|
-
ul {
|
83
|
-
margin-bottom: 1rem;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
a {
|
88
|
-
@extend %link-color;
|
89
|
-
}
|
90
|
-
|
91
|
-
img {
|
92
|
-
max-width: 100%;
|
93
|
-
height: auto;
|
94
|
-
}
|
95
|
-
|
96
|
-
blockquote {
|
97
|
-
border-left: 5px solid var(--blockquote-border-color);
|
98
|
-
padding-left: 1rem;
|
99
|
-
color: var(--blockquote-text-color);
|
100
|
-
|
101
|
-
&[class^="prompt-"] {
|
102
|
-
display: flex;
|
103
|
-
border-left: 0;
|
104
|
-
border-radius: 6px;
|
105
|
-
padding: 0.75rem 1.2rem;
|
106
|
-
color: var(--prompt-text-color);
|
107
|
-
|
108
|
-
&::before {
|
109
|
-
margin-right: 1rem;
|
110
|
-
font-family: "Font Awesome 5 Free";
|
111
|
-
text-align: center;
|
112
|
-
width: 1.25rem;
|
113
|
-
}
|
114
|
-
|
115
|
-
p:last-child {
|
116
|
-
margin-bottom: 0rem;
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
@include prompt("tip", "\f0eb", 400);
|
121
|
-
|
122
|
-
@include prompt("info", "\f06a");
|
123
|
-
|
124
|
-
@include prompt("warning", "\f06a");
|
125
|
-
|
126
|
-
@include prompt("danger", "\f071");
|
127
|
-
}
|
128
|
-
|
129
|
-
mjx-container {
|
130
|
-
overflow-x: auto;
|
131
|
-
overflow-y: hidden;
|
132
|
-
}
|
133
|
-
|
134
|
-
kbd {
|
135
|
-
font-family: inherit;
|
136
|
-
display: inline-block;
|
137
|
-
vertical-align: middle;
|
138
|
-
line-height: 1.3rem;
|
139
|
-
min-width: 1.75rem;
|
140
|
-
text-align: center;
|
141
|
-
margin: 0 0.3rem;
|
142
|
-
padding-top: 0.1rem;
|
143
|
-
color: var(--kbd-text-color);
|
144
|
-
background-color: var(--kbd-bg-color);
|
145
|
-
border-radius: 0.25rem;
|
146
|
-
border: solid 1px var(--kbd-wrap-color);
|
147
|
-
box-shadow: inset 0 -2px 0 var(--kbd-wrap-color);
|
148
|
-
}
|
149
|
-
|
150
|
-
footer {
|
151
|
-
@include pl-pr(1.5rem);
|
152
|
-
|
153
|
-
font-size: 0.8rem;
|
154
|
-
|
155
|
-
> div.d-flex {
|
156
|
-
height: $footer-height;
|
157
|
-
line-height: 1.2rem;
|
158
|
-
padding-bottom: 1rem;
|
159
|
-
border-top: 1px solid var(--main-border-color);
|
160
|
-
|
161
|
-
> div {
|
162
|
-
width: 350px;
|
163
|
-
}
|
164
|
-
}
|
165
|
-
|
166
|
-
a {
|
167
|
-
@extend %text-color;
|
168
|
-
|
169
|
-
&:link {
|
170
|
-
@include no-text-decoration;
|
171
|
-
}
|
172
|
-
|
173
|
-
&:hover {
|
174
|
-
@extend %link-hover;
|
175
|
-
|
176
|
-
@include no-text-decoration;
|
177
|
-
}
|
178
|
-
}
|
179
|
-
|
180
|
-
.footer-right {
|
181
|
-
text-align: right;
|
182
|
-
}
|
183
|
-
}
|
184
|
-
|
185
|
-
i { /* fontawesome icons */
|
186
|
-
&.far,
|
187
|
-
&.fas {
|
188
|
-
@extend %no-cursor;
|
189
|
-
}
|
190
|
-
}
|
191
|
-
|
192
|
-
@keyframes fade-in {
|
193
|
-
from { opacity: 0; }
|
194
|
-
to { opacity: 1; }
|
195
|
-
}
|
196
|
-
|
197
|
-
img[data-src] {
|
198
|
-
margin: 0.5rem 0;
|
199
|
-
|
200
|
-
&[data-loaded=true] {
|
201
|
-
animation: fade-in linear 0.5s;
|
202
|
-
}
|
203
|
-
|
204
|
-
&.left {
|
205
|
-
float: left;
|
206
|
-
margin: 0.75rem 1rem 1rem 0;
|
207
|
-
}
|
208
|
-
|
209
|
-
&.right {
|
210
|
-
float: right;
|
211
|
-
margin: 0.75rem 0 1rem 1rem;
|
212
|
-
}
|
213
|
-
|
214
|
-
&.shadow {
|
215
|
-
filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.08));
|
216
|
-
box-shadow: none !important; /* cover the Bootstrap 4.6.1 styles */
|
217
|
-
}
|
218
|
-
|
219
|
-
@extend %img-caption;
|
220
|
-
}
|
221
|
-
|
222
|
-
/* --- Panels --- */
|
223
|
-
|
224
|
-
.access {
|
225
|
-
top: 2rem;
|
226
|
-
transition: top 0.2s ease-in-out;
|
227
|
-
margin-top: 3rem;
|
228
|
-
margin-bottom: 4rem;
|
229
|
-
|
230
|
-
&:only-child {
|
231
|
-
position: -webkit-sticky; /* Safari */
|
232
|
-
position: sticky;
|
233
|
-
}
|
234
|
-
|
235
|
-
> div {
|
236
|
-
padding-left: 1rem;
|
237
|
-
border-left: 1px solid var(--main-border-color);
|
238
|
-
|
239
|
-
&:not(:last-child) {
|
240
|
-
margin-bottom: 4rem;
|
241
|
-
}
|
242
|
-
}
|
243
|
-
|
244
|
-
.post-content {
|
245
|
-
font-size: 0.9rem;
|
246
|
-
}
|
247
|
-
|
248
|
-
}
|
249
|
-
|
250
|
-
#panel-wrapper {
|
251
|
-
/* the headings */
|
252
|
-
.panel-heading {
|
253
|
-
@include label(inherit);
|
254
|
-
}
|
255
|
-
|
256
|
-
.post-tag {
|
257
|
-
display: inline-block;
|
258
|
-
line-height: 1rem;
|
259
|
-
font-size: 0.85rem;
|
260
|
-
background: none;
|
261
|
-
border: 1px solid var(--btn-border-color);
|
262
|
-
border-radius: 0.8rem;
|
263
|
-
padding: 0.3rem 0.5rem;
|
264
|
-
margin: 0 0.35rem 0.5rem 0;
|
265
|
-
|
266
|
-
&:hover {
|
267
|
-
background-color: #2a408e;
|
268
|
-
border-color: #2a408e;
|
269
|
-
color: #fff;
|
270
|
-
transition: none;
|
271
|
-
}
|
272
|
-
}
|
273
|
-
|
274
|
-
[data-topbar-visible=true] & > div {
|
275
|
-
top: 6rem;
|
276
|
-
}
|
277
|
-
}
|
278
|
-
|
279
|
-
#access-lastmod {
|
280
|
-
li {
|
281
|
-
height: 1.8rem;
|
282
|
-
overflow: hidden;
|
283
|
-
text-overflow: ellipsis;
|
284
|
-
display: -webkit-box;
|
285
|
-
-webkit-line-clamp: 1;
|
286
|
-
-webkit-box-orient: vertical;
|
287
|
-
list-style: none;
|
288
|
-
}
|
289
|
-
|
290
|
-
a {
|
291
|
-
&:hover {
|
292
|
-
@extend %link-hover;
|
293
|
-
}
|
294
|
-
|
295
|
-
@extend %no-bottom-border;
|
296
|
-
|
297
|
-
color: inherit;
|
298
|
-
}
|
299
|
-
|
300
|
-
}
|
301
|
-
|
302
|
-
.footnotes > ol {
|
303
|
-
padding-left: 2rem;
|
304
|
-
margin-top: 0.5rem;
|
305
|
-
|
306
|
-
> li {
|
307
|
-
&:not(:last-child) {
|
308
|
-
margin-bottom: 0.3rem;
|
309
|
-
}
|
310
|
-
|
311
|
-
> p {
|
312
|
-
margin-left: 0.25em;
|
313
|
-
margin-top: 0;
|
314
|
-
margin-bottom: 0;
|
315
|
-
}
|
316
|
-
|
317
|
-
/* [scroll-focus] added by `smooth-scroll.js` */
|
318
|
-
&:target:not([scroll-focus]),
|
319
|
-
&[scroll-focus=true] > p {
|
320
|
-
background-color: var(--footnote-target-bg);
|
321
|
-
width: fit-content;
|
322
|
-
-webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
|
323
|
-
transition: background-color 1.5s ease-in-out;
|
324
|
-
}
|
325
|
-
}
|
326
|
-
}
|
327
|
-
|
328
|
-
.footnote {
|
329
|
-
@at-root a#{&} {
|
330
|
-
@include ml-mr(1px);
|
331
|
-
@include pl-pr(2px);
|
332
|
-
|
333
|
-
border-bottom-style: none !important;
|
334
|
-
-webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
|
335
|
-
transition: background-color 1.5s ease-in-out;
|
336
|
-
}
|
337
|
-
|
338
|
-
/* [scroll-focus] added by `smooth-scroll.js` */
|
339
|
-
@at-root sup:target:not([scroll-focus]),
|
340
|
-
sup[scroll-focus=true] > a#{&} {
|
341
|
-
background-color: var(--footnote-target-bg);
|
342
|
-
}
|
343
|
-
}
|
344
|
-
|
345
|
-
.reversefootnote {
|
346
|
-
@at-root a#{&} {
|
347
|
-
font-size: 0.6rem;
|
348
|
-
line-height: 1;
|
349
|
-
position: relative;
|
350
|
-
bottom: 0.25em;
|
351
|
-
margin-left: 0.25em;
|
352
|
-
border-bottom-style: none !important;
|
353
|
-
}
|
354
|
-
}
|
355
|
-
|
356
|
-
/* --- Begin of Markdown table style --- */
|
357
|
-
|
358
|
-
/* it will be created by Liquid */
|
359
|
-
.table-wrapper {
|
360
|
-
overflow-x: auto;
|
361
|
-
margin-bottom: 1.5rem;
|
362
|
-
|
363
|
-
> table {
|
364
|
-
min-width: 100%;
|
365
|
-
overflow-x: auto;
|
366
|
-
border-spacing: 0;
|
367
|
-
|
368
|
-
thead {
|
369
|
-
border-bottom: solid 2px rgba(210, 215, 217, 0.75);
|
370
|
-
|
371
|
-
th {
|
372
|
-
@extend %table-cell;
|
373
|
-
}
|
374
|
-
}
|
375
|
-
|
376
|
-
tbody {
|
377
|
-
tr {
|
378
|
-
border-bottom: 1px solid var(--tb-border-color);
|
379
|
-
|
380
|
-
&:nth-child(2n) {
|
381
|
-
background-color: var(--tb-even-bg);
|
382
|
-
}
|
383
|
-
|
384
|
-
&:nth-child(2n + 1) {
|
385
|
-
background-color: var(--tb-odd-bg);
|
386
|
-
}
|
387
|
-
|
388
|
-
td {
|
389
|
-
@extend %table-cell;
|
390
|
-
}
|
391
|
-
}
|
392
|
-
} /* tbody */
|
393
|
-
}/* table */
|
394
|
-
}
|
395
|
-
|
396
|
-
/* --- post --- */
|
397
|
-
|
398
|
-
.post {
|
399
|
-
h1 {
|
400
|
-
margin-top: 3rem;
|
401
|
-
margin-bottom: 1.5rem;
|
402
|
-
}
|
403
|
-
|
404
|
-
a {
|
405
|
-
&.img-link {
|
406
|
-
@extend %no-cursor;
|
407
|
-
}
|
408
|
-
|
409
|
-
/* created by `_includes/img-extra.html` */
|
410
|
-
&.popup {
|
411
|
-
cursor: zoom-in;
|
412
|
-
|
413
|
-
> img[data-src]:not(.normal):not(.left):not(.right) {
|
414
|
-
@include align-center;
|
415
|
-
}
|
416
|
-
}
|
417
|
-
|
418
|
-
&:hover {
|
419
|
-
code {
|
420
|
-
@extend %link-hover;
|
421
|
-
}
|
422
|
-
}
|
423
|
-
} /* a */
|
424
|
-
|
425
|
-
}
|
426
|
-
|
427
|
-
.pageviews .fa-spinner {
|
428
|
-
font-size: 80%;
|
429
|
-
}
|
430
|
-
|
431
|
-
.post-meta {
|
432
|
-
font-size: 0.85rem;
|
433
|
-
word-spacing: 1px;
|
434
|
-
|
435
|
-
a {
|
436
|
-
&:not(:last-child) {
|
437
|
-
margin-right: 2px;
|
438
|
-
}
|
439
|
-
|
440
|
-
&:not([class]):hover {
|
441
|
-
@extend %link-hover;
|
442
|
-
}
|
443
|
-
}
|
444
|
-
|
445
|
-
em {
|
446
|
-
@extend %normal-font-style;
|
447
|
-
}
|
448
|
-
}
|
449
|
-
|
450
|
-
.post-content {
|
451
|
-
font-size: 1.08rem;
|
452
|
-
line-height: 1.8;
|
453
|
-
margin-top: 2rem;
|
454
|
-
overflow-wrap: break-word;
|
455
|
-
word-wrap: break-word;
|
456
|
-
|
457
|
-
a {
|
458
|
-
&:not(.img-link) {
|
459
|
-
@extend %link-underline;
|
460
|
-
|
461
|
-
&:hover {
|
462
|
-
@extend %link-hover;
|
463
|
-
}
|
464
|
-
}
|
465
|
-
|
466
|
-
&.img-link {
|
467
|
-
@extend %img-caption;
|
468
|
-
}
|
469
|
-
|
470
|
-
}
|
471
|
-
|
472
|
-
ul {
|
473
|
-
/* attribute 'hide-bullet' was added by liquid */
|
474
|
-
.task-list-item[hide-bullet] {
|
475
|
-
list-style-type: none;
|
476
|
-
|
477
|
-
> i { /* checkbox icon */
|
478
|
-
margin: 0 0.4rem 0.2rem -1.4rem;
|
479
|
-
vertical-align: middle;
|
480
|
-
color: var(--checkbox-color);
|
481
|
-
|
482
|
-
&.checked {
|
483
|
-
color: var(--checkbox-checked-color);
|
484
|
-
}
|
485
|
-
}
|
486
|
-
|
487
|
-
}
|
488
|
-
|
489
|
-
input[type=checkbox] {
|
490
|
-
margin: 0 0.5rem 0.2rem -1.3rem;
|
491
|
-
vertical-align: middle;
|
492
|
-
}
|
493
|
-
|
494
|
-
} /* ul */
|
495
|
-
|
496
|
-
> ol,
|
497
|
-
> ul {
|
498
|
-
padding-left: 2rem;
|
499
|
-
|
500
|
-
li {
|
501
|
-
ol,
|
502
|
-
ul { /* sub list */
|
503
|
-
padding-left: 2rem;
|
504
|
-
margin-top: 0.3rem;
|
505
|
-
}
|
506
|
-
}
|
507
|
-
|
508
|
-
}
|
509
|
-
|
510
|
-
> ol {
|
511
|
-
li {
|
512
|
-
padding-left: 0.25em;
|
513
|
-
}
|
514
|
-
}
|
515
|
-
|
516
|
-
dl > dd {
|
517
|
-
margin-left: 1rem;
|
518
|
-
}
|
519
|
-
|
520
|
-
} /* .post-content */
|
521
|
-
|
522
|
-
.tag:hover {
|
523
|
-
@extend %tag-hover;
|
524
|
-
}
|
525
|
-
|
526
|
-
.post-tag {
|
527
|
-
display: inline-block;
|
528
|
-
min-width: 2rem;
|
529
|
-
text-align: center;
|
530
|
-
background: var(--tag-bg);
|
531
|
-
border-radius: 0.3rem;
|
532
|
-
padding: 0 0.4rem;
|
533
|
-
color: inherit;
|
534
|
-
line-height: 1.3rem;
|
535
|
-
|
536
|
-
&:not(:last-child) {
|
537
|
-
margin-right: 0.2rem;
|
538
|
-
}
|
539
|
-
|
540
|
-
&:hover {
|
541
|
-
@extend %tag-hover;
|
542
|
-
|
543
|
-
border-bottom: none;
|
544
|
-
text-decoration: none;
|
545
|
-
color: #d2603a;
|
546
|
-
}
|
547
|
-
}
|
548
|
-
|
549
|
-
/* --- buttons --- */
|
550
|
-
.btn-lang {
|
551
|
-
border: 1px solid !important;
|
552
|
-
padding: 1px 3px;
|
553
|
-
border-radius: 3px;
|
554
|
-
color: var(--link-color);
|
555
|
-
|
556
|
-
&:focus {
|
557
|
-
box-shadow: none;
|
558
|
-
}
|
559
|
-
}
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
.
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
}
|
607
|
-
|
608
|
-
.
|
609
|
-
|
610
|
-
}
|
611
|
-
|
612
|
-
.
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
}
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
top: 0;
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
width:
|
688
|
-
height:
|
689
|
-
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
height:
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
}
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
@extend %
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
}
|
871
|
-
|
872
|
-
#
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
}
|
881
|
-
}
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
#topbar {
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
}
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
}
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
}
|
1053
|
-
|
1054
|
-
#
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
}
|
1080
|
-
}
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
#
|
1094
|
-
|
1095
|
-
}
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
}
|
1156
|
-
}
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
}
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
}
|
1237
|
-
|
1238
|
-
#
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
@include
|
1245
|
-
}
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
@media all and (max-width:
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
}
|
1275
|
-
}
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
#
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
#
|
1318
|
-
|
1319
|
-
}
|
1320
|
-
|
1321
|
-
#
|
1322
|
-
#
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
}
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
}
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
}
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
}
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
.
|
1372
|
-
|
1373
|
-
}
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
}
|
1382
|
-
|
1383
|
-
#
|
1384
|
-
margin-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
}
|
1407
|
-
|
1408
|
-
/*
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
}
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
#
|
1476
|
-
|
1477
|
-
}
|
1478
|
-
|
1479
|
-
#
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
}
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
}
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1
|
+
/*
|
2
|
+
The common styles
|
3
|
+
*/
|
4
|
+
|
5
|
+
html {
|
6
|
+
@media (prefers-color-scheme: light) {
|
7
|
+
&:not([data-mode]),
|
8
|
+
&[data-mode=light] {
|
9
|
+
@include light-scheme;
|
10
|
+
}
|
11
|
+
|
12
|
+
&[data-mode=dark] {
|
13
|
+
@include dark-scheme;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
@media (prefers-color-scheme: dark) {
|
18
|
+
&:not([data-mode]),
|
19
|
+
&[data-mode=dark] {
|
20
|
+
@include dark-scheme;
|
21
|
+
}
|
22
|
+
|
23
|
+
&[data-mode=light] {
|
24
|
+
@include light-scheme;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
font-size: 16px;
|
29
|
+
}
|
30
|
+
|
31
|
+
body {
|
32
|
+
line-height: 1.75rem;
|
33
|
+
background: var(--body-bg);
|
34
|
+
color: var(--text-color);
|
35
|
+
-webkit-font-smoothing: antialiased;
|
36
|
+
font-family: 'Source Sans Pro', 'Microsoft Yahei', sans-serif;
|
37
|
+
}
|
38
|
+
|
39
|
+
/* --- Typography --- */
|
40
|
+
|
41
|
+
h1 {
|
42
|
+
@extend %heading;
|
43
|
+
|
44
|
+
font-size: 1.9rem;
|
45
|
+
}
|
46
|
+
|
47
|
+
h2 {
|
48
|
+
@extend %heading;
|
49
|
+
@extend %section;
|
50
|
+
@extend %anchor;
|
51
|
+
|
52
|
+
font-size: 1.5rem;
|
53
|
+
}
|
54
|
+
|
55
|
+
h3 {
|
56
|
+
@extend %heading;
|
57
|
+
@extend %section;
|
58
|
+
@extend %anchor;
|
59
|
+
|
60
|
+
font-size: 1.2rem;
|
61
|
+
}
|
62
|
+
|
63
|
+
h4 {
|
64
|
+
@extend %heading;
|
65
|
+
@extend %section;
|
66
|
+
@extend %anchor;
|
67
|
+
|
68
|
+
font-size: 1.15rem;
|
69
|
+
}
|
70
|
+
|
71
|
+
h5 {
|
72
|
+
@extend %heading;
|
73
|
+
@extend %section;
|
74
|
+
@extend %anchor;
|
75
|
+
|
76
|
+
font-size: 1.1rem;
|
77
|
+
}
|
78
|
+
|
79
|
+
ol,
|
80
|
+
ul {
|
81
|
+
ol,
|
82
|
+
ul {
|
83
|
+
margin-bottom: 1rem;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
a {
|
88
|
+
@extend %link-color;
|
89
|
+
}
|
90
|
+
|
91
|
+
img {
|
92
|
+
max-width: 100%;
|
93
|
+
height: auto;
|
94
|
+
}
|
95
|
+
|
96
|
+
blockquote {
|
97
|
+
border-left: 5px solid var(--blockquote-border-color);
|
98
|
+
padding-left: 1rem;
|
99
|
+
color: var(--blockquote-text-color);
|
100
|
+
|
101
|
+
&[class^="prompt-"] {
|
102
|
+
display: flex;
|
103
|
+
border-left: 0;
|
104
|
+
border-radius: 6px;
|
105
|
+
padding: 0.75rem 1.2rem;
|
106
|
+
color: var(--prompt-text-color);
|
107
|
+
|
108
|
+
&::before {
|
109
|
+
margin-right: 1rem;
|
110
|
+
font-family: "Font Awesome 5 Free";
|
111
|
+
text-align: center;
|
112
|
+
width: 1.25rem;
|
113
|
+
}
|
114
|
+
|
115
|
+
p:last-child {
|
116
|
+
margin-bottom: 0rem;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
@include prompt("tip", "\f0eb", 400);
|
121
|
+
|
122
|
+
@include prompt("info", "\f06a");
|
123
|
+
|
124
|
+
@include prompt("warning", "\f06a");
|
125
|
+
|
126
|
+
@include prompt("danger", "\f071");
|
127
|
+
}
|
128
|
+
|
129
|
+
mjx-container {
|
130
|
+
overflow-x: auto;
|
131
|
+
overflow-y: hidden;
|
132
|
+
}
|
133
|
+
|
134
|
+
kbd {
|
135
|
+
font-family: inherit;
|
136
|
+
display: inline-block;
|
137
|
+
vertical-align: middle;
|
138
|
+
line-height: 1.3rem;
|
139
|
+
min-width: 1.75rem;
|
140
|
+
text-align: center;
|
141
|
+
margin: 0 0.3rem;
|
142
|
+
padding-top: 0.1rem;
|
143
|
+
color: var(--kbd-text-color);
|
144
|
+
background-color: var(--kbd-bg-color);
|
145
|
+
border-radius: 0.25rem;
|
146
|
+
border: solid 1px var(--kbd-wrap-color);
|
147
|
+
box-shadow: inset 0 -2px 0 var(--kbd-wrap-color);
|
148
|
+
}
|
149
|
+
|
150
|
+
footer {
|
151
|
+
@include pl-pr(1.5rem);
|
152
|
+
|
153
|
+
font-size: 0.8rem;
|
154
|
+
|
155
|
+
> div.d-flex {
|
156
|
+
height: $footer-height;
|
157
|
+
line-height: 1.2rem;
|
158
|
+
padding-bottom: 1rem;
|
159
|
+
border-top: 1px solid var(--main-border-color);
|
160
|
+
|
161
|
+
> div {
|
162
|
+
width: 350px;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
a {
|
167
|
+
@extend %text-color;
|
168
|
+
|
169
|
+
&:link {
|
170
|
+
@include no-text-decoration;
|
171
|
+
}
|
172
|
+
|
173
|
+
&:hover {
|
174
|
+
@extend %link-hover;
|
175
|
+
|
176
|
+
@include no-text-decoration;
|
177
|
+
}
|
178
|
+
}
|
179
|
+
|
180
|
+
.footer-right {
|
181
|
+
text-align: right;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
i { /* fontawesome icons */
|
186
|
+
&.far,
|
187
|
+
&.fas {
|
188
|
+
@extend %no-cursor;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
@keyframes fade-in {
|
193
|
+
from { opacity: 0; }
|
194
|
+
to { opacity: 1; }
|
195
|
+
}
|
196
|
+
|
197
|
+
img[data-src] {
|
198
|
+
margin: 0.5rem 0;
|
199
|
+
|
200
|
+
&[data-loaded=true] {
|
201
|
+
animation: fade-in linear 0.5s;
|
202
|
+
}
|
203
|
+
|
204
|
+
&.left {
|
205
|
+
float: left;
|
206
|
+
margin: 0.75rem 1rem 1rem 0;
|
207
|
+
}
|
208
|
+
|
209
|
+
&.right {
|
210
|
+
float: right;
|
211
|
+
margin: 0.75rem 0 1rem 1rem;
|
212
|
+
}
|
213
|
+
|
214
|
+
&.shadow {
|
215
|
+
filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.08));
|
216
|
+
box-shadow: none !important; /* cover the Bootstrap 4.6.1 styles */
|
217
|
+
}
|
218
|
+
|
219
|
+
@extend %img-caption;
|
220
|
+
}
|
221
|
+
|
222
|
+
/* --- Panels --- */
|
223
|
+
|
224
|
+
.access {
|
225
|
+
top: 2rem;
|
226
|
+
transition: top 0.2s ease-in-out;
|
227
|
+
margin-top: 3rem;
|
228
|
+
margin-bottom: 4rem;
|
229
|
+
|
230
|
+
&:only-child {
|
231
|
+
position: -webkit-sticky; /* Safari */
|
232
|
+
position: sticky;
|
233
|
+
}
|
234
|
+
|
235
|
+
> div {
|
236
|
+
padding-left: 1rem;
|
237
|
+
border-left: 1px solid var(--main-border-color);
|
238
|
+
|
239
|
+
&:not(:last-child) {
|
240
|
+
margin-bottom: 4rem;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
.post-content {
|
245
|
+
font-size: 0.9rem;
|
246
|
+
}
|
247
|
+
|
248
|
+
}
|
249
|
+
|
250
|
+
#panel-wrapper {
|
251
|
+
/* the headings */
|
252
|
+
.panel-heading {
|
253
|
+
@include label(inherit);
|
254
|
+
}
|
255
|
+
|
256
|
+
.post-tag {
|
257
|
+
display: inline-block;
|
258
|
+
line-height: 1rem;
|
259
|
+
font-size: 0.85rem;
|
260
|
+
background: none;
|
261
|
+
border: 1px solid var(--btn-border-color);
|
262
|
+
border-radius: 0.8rem;
|
263
|
+
padding: 0.3rem 0.5rem;
|
264
|
+
margin: 0 0.35rem 0.5rem 0;
|
265
|
+
|
266
|
+
&:hover {
|
267
|
+
background-color: #2a408e;
|
268
|
+
border-color: #2a408e;
|
269
|
+
color: #fff;
|
270
|
+
transition: none;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
[data-topbar-visible=true] & > div {
|
275
|
+
top: 6rem;
|
276
|
+
}
|
277
|
+
}
|
278
|
+
|
279
|
+
#access-lastmod {
|
280
|
+
li {
|
281
|
+
height: 1.8rem;
|
282
|
+
overflow: hidden;
|
283
|
+
text-overflow: ellipsis;
|
284
|
+
display: -webkit-box;
|
285
|
+
-webkit-line-clamp: 1;
|
286
|
+
-webkit-box-orient: vertical;
|
287
|
+
list-style: none;
|
288
|
+
}
|
289
|
+
|
290
|
+
a {
|
291
|
+
&:hover {
|
292
|
+
@extend %link-hover;
|
293
|
+
}
|
294
|
+
|
295
|
+
@extend %no-bottom-border;
|
296
|
+
|
297
|
+
color: inherit;
|
298
|
+
}
|
299
|
+
|
300
|
+
}
|
301
|
+
|
302
|
+
.footnotes > ol {
|
303
|
+
padding-left: 2rem;
|
304
|
+
margin-top: 0.5rem;
|
305
|
+
|
306
|
+
> li {
|
307
|
+
&:not(:last-child) {
|
308
|
+
margin-bottom: 0.3rem;
|
309
|
+
}
|
310
|
+
|
311
|
+
> p {
|
312
|
+
margin-left: 0.25em;
|
313
|
+
margin-top: 0;
|
314
|
+
margin-bottom: 0;
|
315
|
+
}
|
316
|
+
|
317
|
+
/* [scroll-focus] added by `smooth-scroll.js` */
|
318
|
+
&:target:not([scroll-focus]),
|
319
|
+
&[scroll-focus=true] > p {
|
320
|
+
background-color: var(--footnote-target-bg);
|
321
|
+
width: fit-content;
|
322
|
+
-webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
|
323
|
+
transition: background-color 1.5s ease-in-out;
|
324
|
+
}
|
325
|
+
}
|
326
|
+
}
|
327
|
+
|
328
|
+
.footnote {
|
329
|
+
@at-root a#{&} {
|
330
|
+
@include ml-mr(1px);
|
331
|
+
@include pl-pr(2px);
|
332
|
+
|
333
|
+
border-bottom-style: none !important;
|
334
|
+
-webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
|
335
|
+
transition: background-color 1.5s ease-in-out;
|
336
|
+
}
|
337
|
+
|
338
|
+
/* [scroll-focus] added by `smooth-scroll.js` */
|
339
|
+
@at-root sup:target:not([scroll-focus]),
|
340
|
+
sup[scroll-focus=true] > a#{&} {
|
341
|
+
background-color: var(--footnote-target-bg);
|
342
|
+
}
|
343
|
+
}
|
344
|
+
|
345
|
+
.reversefootnote {
|
346
|
+
@at-root a#{&} {
|
347
|
+
font-size: 0.6rem;
|
348
|
+
line-height: 1;
|
349
|
+
position: relative;
|
350
|
+
bottom: 0.25em;
|
351
|
+
margin-left: 0.25em;
|
352
|
+
border-bottom-style: none !important;
|
353
|
+
}
|
354
|
+
}
|
355
|
+
|
356
|
+
/* --- Begin of Markdown table style --- */
|
357
|
+
|
358
|
+
/* it will be created by Liquid */
|
359
|
+
.table-wrapper {
|
360
|
+
overflow-x: auto;
|
361
|
+
margin-bottom: 1.5rem;
|
362
|
+
|
363
|
+
> table {
|
364
|
+
min-width: 100%;
|
365
|
+
overflow-x: auto;
|
366
|
+
border-spacing: 0;
|
367
|
+
|
368
|
+
thead {
|
369
|
+
border-bottom: solid 2px rgba(210, 215, 217, 0.75);
|
370
|
+
|
371
|
+
th {
|
372
|
+
@extend %table-cell;
|
373
|
+
}
|
374
|
+
}
|
375
|
+
|
376
|
+
tbody {
|
377
|
+
tr {
|
378
|
+
border-bottom: 1px solid var(--tb-border-color);
|
379
|
+
|
380
|
+
&:nth-child(2n) {
|
381
|
+
background-color: var(--tb-even-bg);
|
382
|
+
}
|
383
|
+
|
384
|
+
&:nth-child(2n + 1) {
|
385
|
+
background-color: var(--tb-odd-bg);
|
386
|
+
}
|
387
|
+
|
388
|
+
td {
|
389
|
+
@extend %table-cell;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
} /* tbody */
|
393
|
+
}/* table */
|
394
|
+
}
|
395
|
+
|
396
|
+
/* --- post --- */
|
397
|
+
|
398
|
+
.post {
|
399
|
+
h1 {
|
400
|
+
margin-top: 3rem;
|
401
|
+
margin-bottom: 1.5rem;
|
402
|
+
}
|
403
|
+
|
404
|
+
a {
|
405
|
+
&.img-link {
|
406
|
+
@extend %no-cursor;
|
407
|
+
}
|
408
|
+
|
409
|
+
/* created by `_includes/img-extra.html` */
|
410
|
+
&.popup {
|
411
|
+
cursor: zoom-in;
|
412
|
+
|
413
|
+
> img[data-src]:not(.normal):not(.left):not(.right) {
|
414
|
+
@include align-center;
|
415
|
+
}
|
416
|
+
}
|
417
|
+
|
418
|
+
&:hover {
|
419
|
+
code {
|
420
|
+
@extend %link-hover;
|
421
|
+
}
|
422
|
+
}
|
423
|
+
} /* a */
|
424
|
+
|
425
|
+
}
|
426
|
+
|
427
|
+
.pageviews .fa-spinner {
|
428
|
+
font-size: 80%;
|
429
|
+
}
|
430
|
+
|
431
|
+
.post-meta {
|
432
|
+
font-size: 0.85rem;
|
433
|
+
word-spacing: 1px;
|
434
|
+
|
435
|
+
a {
|
436
|
+
&:not(:last-child) {
|
437
|
+
margin-right: 2px;
|
438
|
+
}
|
439
|
+
|
440
|
+
&:not([class]):hover {
|
441
|
+
@extend %link-hover;
|
442
|
+
}
|
443
|
+
}
|
444
|
+
|
445
|
+
em {
|
446
|
+
@extend %normal-font-style;
|
447
|
+
}
|
448
|
+
}
|
449
|
+
|
450
|
+
.post-content {
|
451
|
+
font-size: 1.08rem;
|
452
|
+
line-height: 1.8;
|
453
|
+
margin-top: 2rem;
|
454
|
+
overflow-wrap: break-word;
|
455
|
+
word-wrap: break-word;
|
456
|
+
|
457
|
+
a {
|
458
|
+
&:not(.img-link) {
|
459
|
+
@extend %link-underline;
|
460
|
+
|
461
|
+
&:hover {
|
462
|
+
@extend %link-hover;
|
463
|
+
}
|
464
|
+
}
|
465
|
+
|
466
|
+
&.img-link {
|
467
|
+
@extend %img-caption;
|
468
|
+
}
|
469
|
+
|
470
|
+
}
|
471
|
+
|
472
|
+
ul {
|
473
|
+
/* attribute 'hide-bullet' was added by liquid */
|
474
|
+
.task-list-item[hide-bullet] {
|
475
|
+
list-style-type: none;
|
476
|
+
|
477
|
+
> i { /* checkbox icon */
|
478
|
+
margin: 0 0.4rem 0.2rem -1.4rem;
|
479
|
+
vertical-align: middle;
|
480
|
+
color: var(--checkbox-color);
|
481
|
+
|
482
|
+
&.checked {
|
483
|
+
color: var(--checkbox-checked-color);
|
484
|
+
}
|
485
|
+
}
|
486
|
+
|
487
|
+
}
|
488
|
+
|
489
|
+
input[type=checkbox] {
|
490
|
+
margin: 0 0.5rem 0.2rem -1.3rem;
|
491
|
+
vertical-align: middle;
|
492
|
+
}
|
493
|
+
|
494
|
+
} /* ul */
|
495
|
+
|
496
|
+
> ol,
|
497
|
+
> ul {
|
498
|
+
padding-left: 2rem;
|
499
|
+
|
500
|
+
li {
|
501
|
+
ol,
|
502
|
+
ul { /* sub list */
|
503
|
+
padding-left: 2rem;
|
504
|
+
margin-top: 0.3rem;
|
505
|
+
}
|
506
|
+
}
|
507
|
+
|
508
|
+
}
|
509
|
+
|
510
|
+
> ol {
|
511
|
+
li {
|
512
|
+
padding-left: 0.25em;
|
513
|
+
}
|
514
|
+
}
|
515
|
+
|
516
|
+
dl > dd {
|
517
|
+
margin-left: 1rem;
|
518
|
+
}
|
519
|
+
|
520
|
+
} /* .post-content */
|
521
|
+
|
522
|
+
.tag:hover {
|
523
|
+
@extend %tag-hover;
|
524
|
+
}
|
525
|
+
|
526
|
+
.post-tag {
|
527
|
+
display: inline-block;
|
528
|
+
min-width: 2rem;
|
529
|
+
text-align: center;
|
530
|
+
background: var(--tag-bg);
|
531
|
+
border-radius: 0.3rem;
|
532
|
+
padding: 0 0.4rem;
|
533
|
+
color: inherit;
|
534
|
+
line-height: 1.3rem;
|
535
|
+
|
536
|
+
&:not(:last-child) {
|
537
|
+
margin-right: 0.2rem;
|
538
|
+
}
|
539
|
+
|
540
|
+
&:hover {
|
541
|
+
@extend %tag-hover;
|
542
|
+
|
543
|
+
border-bottom: none;
|
544
|
+
text-decoration: none;
|
545
|
+
color: #d2603a;
|
546
|
+
}
|
547
|
+
}
|
548
|
+
|
549
|
+
/* --- buttons --- */
|
550
|
+
.btn-lang {
|
551
|
+
border: 1px solid !important;
|
552
|
+
padding: 1px 3px;
|
553
|
+
border-radius: 3px;
|
554
|
+
color: var(--link-color);
|
555
|
+
|
556
|
+
&:focus {
|
557
|
+
box-shadow: none;
|
558
|
+
}
|
559
|
+
}
|
560
|
+
|
561
|
+
.btn-home {
|
562
|
+
color: inherit;
|
563
|
+
padding: 0;
|
564
|
+
width: 50%;
|
565
|
+
margin: 0 auto;
|
566
|
+
display: -webkit-box;
|
567
|
+
-webkit-box-pack: center;
|
568
|
+
-webkit-box-align: center;
|
569
|
+
border: 1px solid var(--btn-paginator-border-color);
|
570
|
+
background-color: var(--button-bg);
|
571
|
+
|
572
|
+
&:hover {
|
573
|
+
background-color: var(--btn-paginator-hover-color);
|
574
|
+
}
|
575
|
+
}
|
576
|
+
|
577
|
+
/* --- Effects classes --- */
|
578
|
+
|
579
|
+
.loaded {
|
580
|
+
display: block !important;
|
581
|
+
|
582
|
+
@at-root .d-flex#{&} {
|
583
|
+
display: flex !important;
|
584
|
+
}
|
585
|
+
}
|
586
|
+
|
587
|
+
.unloaded {
|
588
|
+
display: none !important;
|
589
|
+
}
|
590
|
+
|
591
|
+
.visible {
|
592
|
+
visibility: visible !important;
|
593
|
+
}
|
594
|
+
|
595
|
+
.hidden {
|
596
|
+
visibility: hidden !important;
|
597
|
+
}
|
598
|
+
|
599
|
+
.flex-grow-1 {
|
600
|
+
-ms-flex-positive: 1 !important;
|
601
|
+
flex-grow: 1 !important;
|
602
|
+
}
|
603
|
+
|
604
|
+
.btn-box-shadow {
|
605
|
+
box-shadow: 0 0 8px 0 var(--btn-box-shadow) !important;
|
606
|
+
}
|
607
|
+
|
608
|
+
.no-text-decoration {
|
609
|
+
@include no-text-decoration;
|
610
|
+
}
|
611
|
+
|
612
|
+
.tooltip-inner { /* Overrided BS4 Tooltip */
|
613
|
+
font-size: 0.7rem;
|
614
|
+
max-width: 220px;
|
615
|
+
text-align: left;
|
616
|
+
}
|
617
|
+
|
618
|
+
.disabled {
|
619
|
+
color: rgb(206, 196, 196);
|
620
|
+
pointer-events: auto;
|
621
|
+
cursor: not-allowed;
|
622
|
+
}
|
623
|
+
|
624
|
+
.hide-border-bottom {
|
625
|
+
border-bottom: none !important;
|
626
|
+
}
|
627
|
+
|
628
|
+
.input-focus {
|
629
|
+
box-shadow: none;
|
630
|
+
border-color: var(--input-focus-border-color) !important;
|
631
|
+
background: center !important;
|
632
|
+
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
|
633
|
+
}
|
634
|
+
|
635
|
+
/* --- Overriding --- */
|
636
|
+
|
637
|
+
/* magnific-popup */
|
638
|
+
figure .mfp-title {
|
639
|
+
text-align: center;
|
640
|
+
padding-right: 0;
|
641
|
+
margin-top: 0.5rem;
|
642
|
+
}
|
643
|
+
|
644
|
+
/* mermaid */
|
645
|
+
.mermaid {
|
646
|
+
text-align: center;
|
647
|
+
}
|
648
|
+
|
649
|
+
/* --- sidebar layout --- */
|
650
|
+
|
651
|
+
$sidebar-display: "sidebar-display";
|
652
|
+
|
653
|
+
#sidebar {
|
654
|
+
@include pl-pr(0);
|
655
|
+
|
656
|
+
position: fixed;
|
657
|
+
top: 0;
|
658
|
+
left: 0;
|
659
|
+
height: 100%;
|
660
|
+
overflow-y: auto;
|
661
|
+
width: $sidebar-width;
|
662
|
+
z-index: 99;
|
663
|
+
background: var(--sidebar-bg);
|
664
|
+
|
665
|
+
/* Hide scrollbar for Chrome, Safari and Opera */
|
666
|
+
&::-webkit-scrollbar {
|
667
|
+
display: none;
|
668
|
+
}
|
669
|
+
|
670
|
+
/* Hide scrollbar for IE, Edge and Firefox */
|
671
|
+
-ms-overflow-style: none; /* IE and Edge */
|
672
|
+
scrollbar-width: none; /* Firefox */
|
673
|
+
|
674
|
+
a {
|
675
|
+
@extend %sidebar-links;
|
676
|
+
|
677
|
+
&:hover {
|
678
|
+
@include no-text-decoration;
|
679
|
+
|
680
|
+
color: var(--sidebar-active-color) !important;
|
681
|
+
}
|
682
|
+
}
|
683
|
+
|
684
|
+
#avatar {
|
685
|
+
> a {
|
686
|
+
display: block;
|
687
|
+
width: 6rem;
|
688
|
+
height: 6rem;
|
689
|
+
border-radius: 50%;
|
690
|
+
border: 2px solid rgba(222, 222, 222, 0.7);
|
691
|
+
overflow: hidden;
|
692
|
+
transform: translateZ(0); /* fixed the zoom in Safari */
|
693
|
+
-webkit-transition: border-color 0.35s ease-in-out;
|
694
|
+
-moz-transition: border-color 0.35s ease-in-out;
|
695
|
+
transition: border-color 0.35s ease-in-out;
|
696
|
+
|
697
|
+
&:hover {
|
698
|
+
border-color: white;
|
699
|
+
}
|
700
|
+
}
|
701
|
+
|
702
|
+
img {
|
703
|
+
width: 100%;
|
704
|
+
height: 100%;
|
705
|
+
-webkit-transition: transform 0.5s;
|
706
|
+
-moz-transition: transform 0.5s;
|
707
|
+
transition: transform 0.5s;
|
708
|
+
|
709
|
+
&:hover {
|
710
|
+
-ms-transform: scale(1.2);
|
711
|
+
-moz-transform: scale(1.2);
|
712
|
+
-webkit-transform: scale(1.2);
|
713
|
+
transform: scale(1.2);
|
714
|
+
}
|
715
|
+
}
|
716
|
+
} /* #avatar */
|
717
|
+
|
718
|
+
.site-title {
|
719
|
+
a {
|
720
|
+
@extend %clickable-transition;
|
721
|
+
|
722
|
+
font-weight: 900;
|
723
|
+
font-size: 1.5rem;
|
724
|
+
letter-spacing: 0.5px;
|
725
|
+
color: rgba(134, 133, 133, 99%);
|
726
|
+
}
|
727
|
+
}
|
728
|
+
|
729
|
+
.site-subtitle {
|
730
|
+
font-size: 95%;
|
731
|
+
color: var(--sidebar-muted-color);
|
732
|
+
line-height: 1.2rem;
|
733
|
+
word-spacing: 1px;
|
734
|
+
margin: 0.5rem 1.5rem 0.5rem 1.5rem;
|
735
|
+
min-height: 3rem; /* avoid vertical shifting in multi-line words */
|
736
|
+
user-select: none;
|
737
|
+
}
|
738
|
+
|
739
|
+
.nav-link {
|
740
|
+
border-radius: 0;
|
741
|
+
font-size: 0.95rem;
|
742
|
+
font-weight: 600;
|
743
|
+
letter-spacing: 1px;
|
744
|
+
display: table-cell;
|
745
|
+
vertical-align: middle;
|
746
|
+
}
|
747
|
+
|
748
|
+
.nav-item {
|
749
|
+
text-align: center;
|
750
|
+
display: table;
|
751
|
+
height: $tab-height;
|
752
|
+
|
753
|
+
&.active {
|
754
|
+
.nav-link {
|
755
|
+
color: var(--sidebar-active-color);
|
756
|
+
}
|
757
|
+
}
|
758
|
+
|
759
|
+
&:not(.active) > a {
|
760
|
+
@extend %clickable-transition;
|
761
|
+
}
|
762
|
+
}
|
763
|
+
|
764
|
+
ul {
|
765
|
+
height: $tab-height * $tab-count;
|
766
|
+
margin-bottom: 2rem;
|
767
|
+
padding-left: 0;
|
768
|
+
|
769
|
+
li {
|
770
|
+
width: 100%;
|
771
|
+
|
772
|
+
&:last-child {
|
773
|
+
a {
|
774
|
+
position: relative;
|
775
|
+
left: $cursor-width / 2;
|
776
|
+
width: 100%;
|
777
|
+
}
|
778
|
+
|
779
|
+
&::after { /* the cursor */
|
780
|
+
display: table;
|
781
|
+
visibility: hidden;
|
782
|
+
content: "";
|
783
|
+
position: relative;
|
784
|
+
right: 1px;
|
785
|
+
width: $cursor-width;
|
786
|
+
height: $tab-cursor-height;
|
787
|
+
border-radius: 1px;
|
788
|
+
background-color: var(--nav-cursor-color);
|
789
|
+
pointer-events: none;
|
790
|
+
}
|
791
|
+
}
|
792
|
+
} /* li */
|
793
|
+
|
794
|
+
@mixin fix-cursor($top) {
|
795
|
+
top: $top;
|
796
|
+
visibility: visible;
|
797
|
+
}
|
798
|
+
|
799
|
+
@for $i from 1 through $tab-count {
|
800
|
+
$offset: $tab-count - $i;
|
801
|
+
$top: -$offset * $tab-height + ($tab-height - $tab-cursor-height) / 2;
|
802
|
+
|
803
|
+
@if $i < $tab-count {
|
804
|
+
> li.active:nth-child(#{$i}),
|
805
|
+
> li.nav-item:nth-child(#{$i}):hover {
|
806
|
+
~ li:last-child::after {
|
807
|
+
@include fix-cursor($top);
|
808
|
+
}
|
809
|
+
}
|
810
|
+
} @else {
|
811
|
+
> li.active:nth-child(#{$i}):last-child::after,
|
812
|
+
> li.nav-item:nth-child(#{$i}):last-child:hover::after {
|
813
|
+
@include fix-cursor($top);
|
814
|
+
}
|
815
|
+
}
|
816
|
+
|
817
|
+
} /* @for */
|
818
|
+
|
819
|
+
} /* ul */
|
820
|
+
|
821
|
+
.sidebar-bottom {
|
822
|
+
margin-bottom: 2.1rem;
|
823
|
+
|
824
|
+
@include ml-mr(auto);
|
825
|
+
@include pl-pr(1rem);
|
826
|
+
|
827
|
+
%icon {
|
828
|
+
width: 2.4rem;
|
829
|
+
text-align: center;
|
830
|
+
}
|
831
|
+
|
832
|
+
a {
|
833
|
+
@extend %icon;
|
834
|
+
@extend %clickable-transition;
|
835
|
+
}
|
836
|
+
|
837
|
+
i {
|
838
|
+
font-size: 1.2rem;
|
839
|
+
line-height: 1.75rem;
|
840
|
+
}
|
841
|
+
|
842
|
+
.mode-toggle {
|
843
|
+
padding: 0;
|
844
|
+
border: 0;
|
845
|
+
margin-bottom: 1px;
|
846
|
+
background-color: transparent;
|
847
|
+
|
848
|
+
@extend %icon;
|
849
|
+
@extend %sidebar-links;
|
850
|
+
|
851
|
+
> i {
|
852
|
+
@extend %clickable-transition;
|
853
|
+
}
|
854
|
+
|
855
|
+
&:hover > i {
|
856
|
+
color: var(--sidebar-active-color);
|
857
|
+
}
|
858
|
+
}
|
859
|
+
|
860
|
+
.icon-border {
|
861
|
+
@extend %no-cursor;
|
862
|
+
|
863
|
+
background-color: var(--sidebar-muted-color);
|
864
|
+
content: "";
|
865
|
+
width: 3px;
|
866
|
+
height: 3px;
|
867
|
+
border-radius: 50%;
|
868
|
+
}
|
869
|
+
|
870
|
+
} /* .sidebar-bottom */
|
871
|
+
|
872
|
+
} /* #sidebar */
|
873
|
+
|
874
|
+
@media (hover: hover) {
|
875
|
+
#sidebar ul > li:last-child::after {
|
876
|
+
-webkit-transition: top 0.5s ease;
|
877
|
+
-moz-transition: top 0.5s ease;
|
878
|
+
-o-transition: top 0.5s ease;
|
879
|
+
transition: top 0.5s ease;
|
880
|
+
}
|
881
|
+
}
|
882
|
+
|
883
|
+
.profile-wrapper {
|
884
|
+
margin-top: 2rem;
|
885
|
+
width: 100%;
|
886
|
+
}
|
887
|
+
|
888
|
+
#search-result-wrapper {
|
889
|
+
display: none;
|
890
|
+
height: 100%;
|
891
|
+
width: 100%;
|
892
|
+
overflow: auto;
|
893
|
+
|
894
|
+
.post-content {
|
895
|
+
margin-top: 2rem;
|
896
|
+
}
|
897
|
+
}
|
898
|
+
|
899
|
+
/* --- top-bar --- */
|
900
|
+
|
901
|
+
#topbar-wrapper {
|
902
|
+
height: $topbar-height;
|
903
|
+
position: fixed;
|
904
|
+
top: 0;
|
905
|
+
left: $sidebar-width; /* same as sidebar width */
|
906
|
+
right: 0;
|
907
|
+
transition: top 0.2s ease-in-out;
|
908
|
+
z-index: 50;
|
909
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
|
910
|
+
background-color: var(--topbar-wrapper-bg);
|
911
|
+
|
912
|
+
[data-topbar-visible=false] & {
|
913
|
+
top: -$topbar-height; /* same as topbar height. */
|
914
|
+
}
|
915
|
+
}
|
916
|
+
|
917
|
+
#topbar {
|
918
|
+
i { /* icons */
|
919
|
+
color: #999;
|
920
|
+
}
|
921
|
+
|
922
|
+
#breadcrumb {
|
923
|
+
font-size: 1rem;
|
924
|
+
color: gray;
|
925
|
+
padding-left: 0.5rem;
|
926
|
+
|
927
|
+
a:hover {
|
928
|
+
@extend %link-hover;
|
929
|
+
}
|
930
|
+
|
931
|
+
span {
|
932
|
+
&:not(:last-child) {
|
933
|
+
&::after {
|
934
|
+
content: "›";
|
935
|
+
padding: 0 0.3rem;
|
936
|
+
}
|
937
|
+
}
|
938
|
+
}
|
939
|
+
}
|
940
|
+
} /* #topbar */
|
941
|
+
|
942
|
+
#sidebar-trigger,
|
943
|
+
#search-trigger {
|
944
|
+
display: none;
|
945
|
+
}
|
946
|
+
|
947
|
+
#search-wrapper {
|
948
|
+
display: flex;
|
949
|
+
width: 100%;
|
950
|
+
border-radius: 1rem;
|
951
|
+
border: 1px solid var(--search-wrapper-border-color);
|
952
|
+
background: var(--search-wrapper-bg);
|
953
|
+
padding: 0 0.5rem;
|
954
|
+
|
955
|
+
i {
|
956
|
+
z-index: 2;
|
957
|
+
font-size: 0.9rem;
|
958
|
+
color: var(--search-icon-color);
|
959
|
+
}
|
960
|
+
}
|
961
|
+
|
962
|
+
#search-cancel { /* 'Cancel' link */
|
963
|
+
color: var(--link-color);
|
964
|
+
margin-left: 1rem;
|
965
|
+
display: none;
|
966
|
+
|
967
|
+
@extend %cursor-pointer;
|
968
|
+
}
|
969
|
+
|
970
|
+
#search-input {
|
971
|
+
background: center;
|
972
|
+
border: 0;
|
973
|
+
border-radius: 0;
|
974
|
+
padding: 0.18rem 0.3rem;
|
975
|
+
color: var(--text-color);
|
976
|
+
height: auto;
|
977
|
+
|
978
|
+
&:focus {
|
979
|
+
box-shadow: none;
|
980
|
+
background: center;
|
981
|
+
|
982
|
+
&.form-control {
|
983
|
+
&::-webkit-input-placeholder { @include input-placeholder; }
|
984
|
+
&::-moz-placeholder { @include input-placeholder; }
|
985
|
+
&:-ms-input-placeholder { @include input-placeholder; }
|
986
|
+
&::placeholder { @include input-placeholder; }
|
987
|
+
}
|
988
|
+
}
|
989
|
+
}
|
990
|
+
|
991
|
+
#search-hints {
|
992
|
+
padding: 0 1rem;
|
993
|
+
|
994
|
+
h4 {
|
995
|
+
margin-bottom: 1.5rem;
|
996
|
+
}
|
997
|
+
|
998
|
+
.post-tag {
|
999
|
+
display: inline-block;
|
1000
|
+
line-height: 1rem;
|
1001
|
+
font-size: 1rem;
|
1002
|
+
background: var(--search-tag-bg);
|
1003
|
+
border: none;
|
1004
|
+
padding: 0.5rem;
|
1005
|
+
margin: 0 1.25rem 1rem 0;
|
1006
|
+
|
1007
|
+
&::before {
|
1008
|
+
content: "#";
|
1009
|
+
color: var(--text-muted-color);
|
1010
|
+
padding-right: 0.2rem;
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
@extend %link-color;
|
1014
|
+
}
|
1015
|
+
}
|
1016
|
+
|
1017
|
+
#search-results {
|
1018
|
+
padding-bottom: 3rem;
|
1019
|
+
|
1020
|
+
a {
|
1021
|
+
&:hover {
|
1022
|
+
@extend %link-hover;
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
@extend %link-color;
|
1026
|
+
@extend %no-bottom-border;
|
1027
|
+
@extend %heading;
|
1028
|
+
|
1029
|
+
font-size: 1.4rem;
|
1030
|
+
line-height: 2.5rem;
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
> div {
|
1034
|
+
width: 100%;
|
1035
|
+
|
1036
|
+
&:not(:last-child) {
|
1037
|
+
margin-bottom: 1rem;
|
1038
|
+
}
|
1039
|
+
|
1040
|
+
i { /* icons */
|
1041
|
+
color: #818182;
|
1042
|
+
margin-right: 0.15rem;
|
1043
|
+
font-size: 80%;
|
1044
|
+
}
|
1045
|
+
|
1046
|
+
> p {
|
1047
|
+
overflow: hidden;
|
1048
|
+
text-overflow: ellipsis;
|
1049
|
+
display: -webkit-box;
|
1050
|
+
-webkit-line-clamp: 3;
|
1051
|
+
-webkit-box-orient: vertical;
|
1052
|
+
}
|
1053
|
+
}
|
1054
|
+
} /* #search-results */
|
1055
|
+
|
1056
|
+
#topbar-title {
|
1057
|
+
display: none;
|
1058
|
+
font-size: 1.1rem;
|
1059
|
+
font-weight: 600;
|
1060
|
+
font-family: sans-serif;
|
1061
|
+
color: var(--topbar-text-color);
|
1062
|
+
text-align: center;
|
1063
|
+
width: 70%;
|
1064
|
+
overflow: hidden;
|
1065
|
+
text-overflow: ellipsis;
|
1066
|
+
word-break: keep-all;
|
1067
|
+
white-space: nowrap;
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
#core-wrapper {
|
1071
|
+
min-height: calc(100vh - #{$topbar-height} - #{$footer-height});
|
1072
|
+
|
1073
|
+
.categories,
|
1074
|
+
#tags,
|
1075
|
+
#archives {
|
1076
|
+
a:not(:hover) {
|
1077
|
+
@extend %no-bottom-border;
|
1078
|
+
}
|
1079
|
+
}
|
1080
|
+
}
|
1081
|
+
|
1082
|
+
#mask {
|
1083
|
+
display: none;
|
1084
|
+
position: fixed;
|
1085
|
+
top: 0;
|
1086
|
+
right: 0;
|
1087
|
+
bottom: 0;
|
1088
|
+
left: 0;
|
1089
|
+
height: 100%;
|
1090
|
+
width: 100%;
|
1091
|
+
z-index: 1;
|
1092
|
+
|
1093
|
+
@at-root [#{$sidebar-display}] & {
|
1094
|
+
display: block !important;
|
1095
|
+
}
|
1096
|
+
}
|
1097
|
+
|
1098
|
+
/* --- main wrapper --- */
|
1099
|
+
|
1100
|
+
#main-wrapper {
|
1101
|
+
background-color: var(--main-wrapper-bg);
|
1102
|
+
position: relative;
|
1103
|
+
min-height: 100vh;
|
1104
|
+
|
1105
|
+
@include pl-pr(0);
|
1106
|
+
}
|
1107
|
+
|
1108
|
+
#core-wrapper,
|
1109
|
+
#panel-wrapper {
|
1110
|
+
margin-top: $topbar-height; /* same as the height of topbar */
|
1111
|
+
}
|
1112
|
+
|
1113
|
+
#topbar-wrapper.row,
|
1114
|
+
#main > .row,
|
1115
|
+
#search-result-wrapper > .row {
|
1116
|
+
@include ml-mr(0);
|
1117
|
+
}
|
1118
|
+
|
1119
|
+
/* --- button back-to-top --- */
|
1120
|
+
|
1121
|
+
#back-to-top {
|
1122
|
+
$size: 2.7em;
|
1123
|
+
|
1124
|
+
display: none;
|
1125
|
+
z-index: 1;
|
1126
|
+
cursor: pointer;
|
1127
|
+
position: fixed;
|
1128
|
+
background: var(--button-bg);
|
1129
|
+
color: var(--btn-backtotop-color);
|
1130
|
+
padding: 0;
|
1131
|
+
width: $size;
|
1132
|
+
height: $size;
|
1133
|
+
border-radius: 50%;
|
1134
|
+
border: 1px solid var(--btn-backtotop-border-color);
|
1135
|
+
transition: transform 0.2s ease-out;
|
1136
|
+
-webkit-transition: transform 0.2s ease-out;
|
1137
|
+
|
1138
|
+
i {
|
1139
|
+
line-height: $size;
|
1140
|
+
position: relative;
|
1141
|
+
bottom: 2px;
|
1142
|
+
}
|
1143
|
+
}
|
1144
|
+
|
1145
|
+
#back-to-top:hover {
|
1146
|
+
transform: translate3d(0, -5px, 0);
|
1147
|
+
-webkit-transform: translate3d(0, -5px, 0);
|
1148
|
+
}
|
1149
|
+
|
1150
|
+
#notification {
|
1151
|
+
@keyframes popup {
|
1152
|
+
from {
|
1153
|
+
opacity: 0;
|
1154
|
+
bottom: 0;
|
1155
|
+
}
|
1156
|
+
}
|
1157
|
+
|
1158
|
+
.toast-header {
|
1159
|
+
background: none;
|
1160
|
+
border-bottom: none;
|
1161
|
+
color: inherit;
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
.toast-body {
|
1165
|
+
font-family: 'Lato';
|
1166
|
+
line-height: 1.25rem;
|
1167
|
+
|
1168
|
+
button {
|
1169
|
+
font-size: 90%;
|
1170
|
+
min-width: 4rem;
|
1171
|
+
}
|
1172
|
+
}
|
1173
|
+
|
1174
|
+
&.toast {
|
1175
|
+
display: none;
|
1176
|
+
|
1177
|
+
&.show {
|
1178
|
+
display: block;
|
1179
|
+
min-width: 20rem;
|
1180
|
+
border-radius: 0.5rem;
|
1181
|
+
-webkit-backdrop-filter: blur(10px);
|
1182
|
+
backdrop-filter: blur(10px);
|
1183
|
+
background-color: rgba(255, 255, 255, 0.5);
|
1184
|
+
color: #1b1b1eba;
|
1185
|
+
position: fixed;
|
1186
|
+
left: 50%;
|
1187
|
+
bottom: 20%;
|
1188
|
+
transform: translateX(-50%);
|
1189
|
+
animation: popup 0.8s;
|
1190
|
+
}
|
1191
|
+
}
|
1192
|
+
|
1193
|
+
}
|
1194
|
+
|
1195
|
+
/*
|
1196
|
+
Responsive Design:
|
1197
|
+
|
1198
|
+
{sidebar, content, panel} >= 1120px screen width
|
1199
|
+
{sidebar, content} >= 850px screen width
|
1200
|
+
{content} <= 849px screen width
|
1201
|
+
|
1202
|
+
*/
|
1203
|
+
|
1204
|
+
@media all and (max-width: 576px) {
|
1205
|
+
footer {
|
1206
|
+
height: $footer-height-mobile;
|
1207
|
+
|
1208
|
+
> div.d-flex {
|
1209
|
+
padding: 1.5rem 0;
|
1210
|
+
flex-wrap: wrap;
|
1211
|
+
-ms-flex-pack: distribute !important;
|
1212
|
+
justify-content: space-around !important;
|
1213
|
+
}
|
1214
|
+
|
1215
|
+
.footer-left,
|
1216
|
+
.footer-right {
|
1217
|
+
text-align: center;
|
1218
|
+
}
|
1219
|
+
}
|
1220
|
+
|
1221
|
+
#core-wrapper {
|
1222
|
+
min-height: calc(100vh - #{$topbar-height} - #{$footer-height-mobile}) !important;
|
1223
|
+
|
1224
|
+
h1 {
|
1225
|
+
margin-top: 2.2rem;
|
1226
|
+
font-size: 1.75rem;
|
1227
|
+
}
|
1228
|
+
|
1229
|
+
.post-content {
|
1230
|
+
> blockquote[class^=prompt-] {
|
1231
|
+
@include ml-mr(-1.25rem);
|
1232
|
+
border-radius: 0;
|
1233
|
+
}
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
#avatar > a {
|
1239
|
+
width: 5rem;
|
1240
|
+
height: 5rem;
|
1241
|
+
}
|
1242
|
+
|
1243
|
+
.site-subtitle {
|
1244
|
+
@include ml-mr(1.8rem);
|
1245
|
+
}
|
1246
|
+
|
1247
|
+
}
|
1248
|
+
|
1249
|
+
@media all and (max-width: 768px) {
|
1250
|
+
%full-width {
|
1251
|
+
max-width: 100%;
|
1252
|
+
}
|
1253
|
+
|
1254
|
+
#topbar {
|
1255
|
+
@extend %full-width;
|
1256
|
+
}
|
1257
|
+
|
1258
|
+
#main {
|
1259
|
+
@extend %full-width;
|
1260
|
+
@include pl-pr(0);
|
1261
|
+
}
|
1262
|
+
}
|
1263
|
+
|
1264
|
+
/* hide sidebar and panel */
|
1265
|
+
@media all and (max-width: 849px) {
|
1266
|
+
@mixin slide($append: null) {
|
1267
|
+
$basic: transform 0.4s ease;
|
1268
|
+
@if $append {
|
1269
|
+
-webkit-transition: $basic, $append;
|
1270
|
+
transition: $basic, $append;
|
1271
|
+
} @else {
|
1272
|
+
-webkit-transition: $basic;
|
1273
|
+
transition: $basic;
|
1274
|
+
}
|
1275
|
+
}
|
1276
|
+
|
1277
|
+
html,
|
1278
|
+
body {
|
1279
|
+
overflow-x: hidden;
|
1280
|
+
}
|
1281
|
+
|
1282
|
+
[#{$sidebar-display}] {
|
1283
|
+
#sidebar {
|
1284
|
+
transform: translateX(0);
|
1285
|
+
}
|
1286
|
+
|
1287
|
+
#topbar-wrapper,
|
1288
|
+
#main-wrapper {
|
1289
|
+
transform: translateX(#{$sidebar-width});
|
1290
|
+
}
|
1291
|
+
}
|
1292
|
+
|
1293
|
+
#sidebar {
|
1294
|
+
@include slide;
|
1295
|
+
|
1296
|
+
transform: translateX(-#{$sidebar-width}); /* hide */
|
1297
|
+
-webkit-transform: translateX(-#{$sidebar-width});
|
1298
|
+
|
1299
|
+
.cursor {
|
1300
|
+
-webkit-transition: none;
|
1301
|
+
-moz-transition: none;
|
1302
|
+
transition: none;
|
1303
|
+
}
|
1304
|
+
}
|
1305
|
+
|
1306
|
+
#main-wrapper {
|
1307
|
+
@include slide;
|
1308
|
+
|
1309
|
+
padding-top: $topbar-height;
|
1310
|
+
}
|
1311
|
+
|
1312
|
+
#topbar,
|
1313
|
+
#main {
|
1314
|
+
max-width: 100%;
|
1315
|
+
}
|
1316
|
+
|
1317
|
+
#search-result-wrapper {
|
1318
|
+
width: 100%;
|
1319
|
+
}
|
1320
|
+
|
1321
|
+
#breadcrumb,
|
1322
|
+
#search-wrapper {
|
1323
|
+
display: none;
|
1324
|
+
}
|
1325
|
+
|
1326
|
+
#topbar-wrapper {
|
1327
|
+
@include slide(top 0.2s ease);
|
1328
|
+
|
1329
|
+
left: 0;
|
1330
|
+
}
|
1331
|
+
|
1332
|
+
#core-wrapper,
|
1333
|
+
#panel-wrapper {
|
1334
|
+
margin-top: 0;
|
1335
|
+
}
|
1336
|
+
|
1337
|
+
#topbar-title,
|
1338
|
+
#sidebar-trigger,
|
1339
|
+
#search-trigger {
|
1340
|
+
display: block;
|
1341
|
+
}
|
1342
|
+
|
1343
|
+
#search-result-wrapper .post-content {
|
1344
|
+
letter-spacing: 0;
|
1345
|
+
}
|
1346
|
+
|
1347
|
+
#tags {
|
1348
|
+
-webkit-box-pack: center !important;
|
1349
|
+
-ms-flex-pack: center !important;
|
1350
|
+
justify-content: center !important;
|
1351
|
+
}
|
1352
|
+
|
1353
|
+
h1.dynamic-title {
|
1354
|
+
display: none;
|
1355
|
+
|
1356
|
+
~ .post-content {
|
1357
|
+
margin-top: 3rem;
|
1358
|
+
}
|
1359
|
+
}
|
1360
|
+
|
1361
|
+
} /* max-width: 849px */
|
1362
|
+
|
1363
|
+
@media all and (max-width: 849px) and (orientation: portrait) {
|
1364
|
+
[data-topbar-visible=false] #topbar-wrapper {
|
1365
|
+
top: 0;
|
1366
|
+
}
|
1367
|
+
}
|
1368
|
+
|
1369
|
+
/* Phone & Pad */
|
1370
|
+
@media all and (min-width: 577px) and (max-width: 1199px) {
|
1371
|
+
footer > .d-flex > div {
|
1372
|
+
width: 312px;
|
1373
|
+
}
|
1374
|
+
}
|
1375
|
+
|
1376
|
+
/* Sidebar is visible */
|
1377
|
+
@media all and (min-width: 850px) {
|
1378
|
+
/* Solved jumping scrollbar */
|
1379
|
+
html {
|
1380
|
+
overflow-y: scroll;
|
1381
|
+
}
|
1382
|
+
|
1383
|
+
#main-wrapper {
|
1384
|
+
margin-left: $sidebar-width;
|
1385
|
+
}
|
1386
|
+
|
1387
|
+
.profile-wrapper {
|
1388
|
+
margin-top: 3rem;
|
1389
|
+
}
|
1390
|
+
|
1391
|
+
#search-hints {
|
1392
|
+
display: none;
|
1393
|
+
}
|
1394
|
+
|
1395
|
+
#search-wrapper {
|
1396
|
+
max-width: $search-max-width;
|
1397
|
+
}
|
1398
|
+
|
1399
|
+
#search-result-wrapper {
|
1400
|
+
margin-top: 3rem;
|
1401
|
+
max-width: $main-content-max-width;
|
1402
|
+
}
|
1403
|
+
|
1404
|
+
div.post-content .table-wrapper > table {
|
1405
|
+
min-width: 70%;
|
1406
|
+
}
|
1407
|
+
|
1408
|
+
/* button 'back-to-Top' position */
|
1409
|
+
#back-to-top {
|
1410
|
+
bottom: 5.5rem;
|
1411
|
+
right: 5%;
|
1412
|
+
}
|
1413
|
+
|
1414
|
+
#topbar {
|
1415
|
+
@include pl-pr(2rem);
|
1416
|
+
}
|
1417
|
+
|
1418
|
+
#topbar-title {
|
1419
|
+
text-align: left;
|
1420
|
+
}
|
1421
|
+
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
/* Pad horizontal */
|
1425
|
+
@media all and (min-width: 992px) and (max-width: 1199px) {
|
1426
|
+
#main .col-lg-11 {
|
1427
|
+
-webkit-box-flex: 0;
|
1428
|
+
-ms-flex: 0 0 96%;
|
1429
|
+
flex: 0 0 96%;
|
1430
|
+
max-width: 96%;
|
1431
|
+
}
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
/* Compact icons in sidebar & panel hidden */
|
1435
|
+
@media all and (min-width: 850px) and (max-width: 1199px) {
|
1436
|
+
#sidebar {
|
1437
|
+
width: $sidebar-width-small;
|
1438
|
+
|
1439
|
+
.site-subtitle {
|
1440
|
+
margin-left: 1rem;
|
1441
|
+
margin-right: 1rem;
|
1442
|
+
}
|
1443
|
+
|
1444
|
+
.sidebar-bottom {
|
1445
|
+
a,
|
1446
|
+
span {
|
1447
|
+
width: 2rem;
|
1448
|
+
}
|
1449
|
+
|
1450
|
+
.icon-border {
|
1451
|
+
left: -3px;
|
1452
|
+
}
|
1453
|
+
}
|
1454
|
+
}
|
1455
|
+
|
1456
|
+
#topbar-wrapper {
|
1457
|
+
left: 210px;
|
1458
|
+
}
|
1459
|
+
|
1460
|
+
#search-results > div {
|
1461
|
+
max-width: 700px;
|
1462
|
+
}
|
1463
|
+
|
1464
|
+
.site-title {
|
1465
|
+
font-size: 1.3rem;
|
1466
|
+
margin-left: 0 !important;
|
1467
|
+
}
|
1468
|
+
|
1469
|
+
.site-subtitle {
|
1470
|
+
@include ml-mr(1rem);
|
1471
|
+
|
1472
|
+
font-size: 90%;
|
1473
|
+
}
|
1474
|
+
|
1475
|
+
#main-wrapper {
|
1476
|
+
margin-left: 210px;
|
1477
|
+
}
|
1478
|
+
|
1479
|
+
#breadcrumb {
|
1480
|
+
width: 65%;
|
1481
|
+
overflow: hidden;
|
1482
|
+
text-overflow: ellipsis;
|
1483
|
+
word-break: keep-all;
|
1484
|
+
white-space: nowrap;
|
1485
|
+
}
|
1486
|
+
|
1487
|
+
}
|
1488
|
+
|
1489
|
+
/* panel hidden */
|
1490
|
+
@media all and (max-width: 1199px) {
|
1491
|
+
#panel-wrapper {
|
1492
|
+
display: none;
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
#main > div.row {
|
1496
|
+
-webkit-box-pack: center !important;
|
1497
|
+
-ms-flex-pack: center !important;
|
1498
|
+
justify-content: center !important;
|
1499
|
+
}
|
1500
|
+
}
|
1501
|
+
|
1502
|
+
/* --- desktop mode, both sidebar and panel are visible --- */
|
1503
|
+
|
1504
|
+
@media all and (min-width: 1200px) {
|
1505
|
+
#back-to-top {
|
1506
|
+
bottom: 6.5rem;
|
1507
|
+
}
|
1508
|
+
|
1509
|
+
#search-wrapper {
|
1510
|
+
margin-right: 4rem;
|
1511
|
+
}
|
1512
|
+
|
1513
|
+
#search-input {
|
1514
|
+
-webkit-transition: all 0.3s ease-in-out;
|
1515
|
+
transition: all 0.3s ease-in-out;
|
1516
|
+
}
|
1517
|
+
|
1518
|
+
#search-results > div {
|
1519
|
+
width: 46%;
|
1520
|
+
|
1521
|
+
&:nth-child(odd) {
|
1522
|
+
margin-right: 1.5rem;
|
1523
|
+
}
|
1524
|
+
|
1525
|
+
&:nth-child(even) {
|
1526
|
+
margin-left: 1.5rem;
|
1527
|
+
}
|
1528
|
+
|
1529
|
+
&:last-child:nth-child(odd) {
|
1530
|
+
position: relative;
|
1531
|
+
right: 24.3%;
|
1532
|
+
}
|
1533
|
+
}
|
1534
|
+
|
1535
|
+
.post-content {
|
1536
|
+
font-size: 1.03rem;
|
1537
|
+
}
|
1538
|
+
|
1539
|
+
footer > div.d-felx {
|
1540
|
+
width: 85%;
|
1541
|
+
}
|
1542
|
+
|
1543
|
+
}
|
1544
|
+
|
1545
|
+
@media all and (min-width: 1400px) {
|
1546
|
+
#back-to-top {
|
1547
|
+
right: calc((100vw - #{$sidebar-width} - 1140px) / 2 + 3rem);
|
1548
|
+
}
|
1549
|
+
}
|
1550
|
+
|
1551
|
+
@media all and (min-width: 1650px) {
|
1552
|
+
#main-wrapper {
|
1553
|
+
margin-left: $sidebar-width-large;
|
1554
|
+
}
|
1555
|
+
|
1556
|
+
#topbar-wrapper {
|
1557
|
+
left: $sidebar-width-large;
|
1558
|
+
}
|
1559
|
+
|
1560
|
+
#search-wrapper {
|
1561
|
+
margin-right: calc(#{$main-content-max-width} * 0.25 - #{$search-max-width});
|
1562
|
+
}
|
1563
|
+
|
1564
|
+
#topbar,
|
1565
|
+
#main {
|
1566
|
+
max-width: $main-content-max-width;
|
1567
|
+
}
|
1568
|
+
|
1569
|
+
#core-wrapper,
|
1570
|
+
#tail-wrapper {
|
1571
|
+
padding-right: 4.5rem !important;
|
1572
|
+
}
|
1573
|
+
|
1574
|
+
#back-to-top {
|
1575
|
+
right: calc((100vw - #{$sidebar-width-large} - #{$main-content-max-width}) / 2 + 2rem);
|
1576
|
+
}
|
1577
|
+
|
1578
|
+
#sidebar {
|
1579
|
+
width: $sidebar-width-large;
|
1580
|
+
|
1581
|
+
.profile-wrapper {
|
1582
|
+
margin-top: 4rem;
|
1583
|
+
margin-bottom: 1rem;
|
1584
|
+
|
1585
|
+
&.text-center {
|
1586
|
+
}
|
1587
|
+
|
1588
|
+
%profile-ml {
|
1589
|
+
margin: 0 auto;
|
1590
|
+
}
|
1591
|
+
|
1592
|
+
#avatar {
|
1593
|
+
@extend %profile-ml;
|
1594
|
+
|
1595
|
+
> a {
|
1596
|
+
width: 6.2rem;
|
1597
|
+
height: 6.2rem;
|
1598
|
+
|
1599
|
+
&.mx-auto {
|
1600
|
+
}
|
1601
|
+
}
|
1602
|
+
}
|
1603
|
+
|
1604
|
+
.site-title {
|
1605
|
+
@extend %profile-ml;
|
1606
|
+
|
1607
|
+
a {
|
1608
|
+
font-size: 1.7rem;
|
1609
|
+
letter-spacing: 1px;
|
1610
|
+
}
|
1611
|
+
}
|
1612
|
+
|
1613
|
+
.site-subtitle {
|
1614
|
+
@extend %profile-ml;
|
1615
|
+
|
1616
|
+
word-spacing: 0;
|
1617
|
+
margin-top: 0.3rem;
|
1618
|
+
}
|
1619
|
+
|
1620
|
+
} /* .profile-wrapper (min-width: 1650px) */
|
1621
|
+
|
1622
|
+
ul {
|
1623
|
+
padding-left: 2.5rem;
|
1624
|
+
|
1625
|
+
> li:last-child {
|
1626
|
+
> a {
|
1627
|
+
position: static;
|
1628
|
+
}
|
1629
|
+
}
|
1630
|
+
|
1631
|
+
.nav-item {
|
1632
|
+
text-align: left;
|
1633
|
+
|
1634
|
+
.nav-link {
|
1635
|
+
> span {
|
1636
|
+
letter-spacing: 2px;
|
1637
|
+
}
|
1638
|
+
|
1639
|
+
> i {
|
1640
|
+
&.unloaded {
|
1641
|
+
display: inline-block !important;
|
1642
|
+
}
|
1643
|
+
}
|
1644
|
+
}
|
1645
|
+
|
1646
|
+
}
|
1647
|
+
}
|
1648
|
+
|
1649
|
+
.sidebar-bottom {
|
1650
|
+
padding-left: 3.5rem;
|
1651
|
+
width: 100%;
|
1652
|
+
|
1653
|
+
$icon-block-size: 2rem;
|
1654
|
+
|
1655
|
+
&.justify-content-center {
|
1656
|
+
-webkit-box-pack: start !important;
|
1657
|
+
-ms-flex-pack: start !important;
|
1658
|
+
justify-content: flex-start !important;
|
1659
|
+
}
|
1660
|
+
|
1661
|
+
> span,
|
1662
|
+
> button.mode-toggle,
|
1663
|
+
> a {
|
1664
|
+
@include ml-mr(0.15rem);
|
1665
|
+
|
1666
|
+
height: $icon-block-size;
|
1667
|
+
margin-bottom: 0.5rem; /* wrap line */
|
1668
|
+
}
|
1669
|
+
|
1670
|
+
i {
|
1671
|
+
background-color: var(--sidebar-btn-bg);
|
1672
|
+
font-size: 1rem;
|
1673
|
+
width: $icon-block-size;
|
1674
|
+
height: $icon-block-size;
|
1675
|
+
border-radius: 50%;
|
1676
|
+
position: relative;
|
1677
|
+
|
1678
|
+
&::before {
|
1679
|
+
position: absolute;
|
1680
|
+
top: 50%;
|
1681
|
+
left: 50%;
|
1682
|
+
transform: translate(-50%, -50%);
|
1683
|
+
}
|
1684
|
+
}
|
1685
|
+
|
1686
|
+
.icon-border {
|
1687
|
+
top: 0.9rem;
|
1688
|
+
}
|
1689
|
+
|
1690
|
+
} /* .sidebar-bottom */
|
1691
|
+
|
1692
|
+
} /* #sidebar */
|
1693
|
+
|
1694
|
+
} /* min-width: 1650px */
|