redeyed-jekyll-theme 0.1.0 → 0.1.1

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