redeyed-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +52 -0
  4. data/_config.yml +328 -0
  5. data/_data/assets/cross-origin.yml +65 -0
  6. data/_data/assets/self-host.yml +51 -0
  7. data/_data/authors.yml +12 -0
  8. data/_data/contact.yml +16 -0
  9. data/_data/locale/en.yml +78 -0
  10. data/_data/share.yml +16 -0
  11. data/_includes/back-to-top.html +2 -0
  12. data/_includes/breadcrumbs.html +1 -0
  13. data/_includes/comments.html +0 -0
  14. data/_includes/copyright.html +1 -0
  15. data/_includes/datetime.html +0 -0
  16. data/_includes/favicons.html +14 -0
  17. data/_includes/footer.html +1 -0
  18. data/_includes/ga-site-tag.html +8 -0
  19. data/_includes/google-tags-body.html +4 -0
  20. data/_includes/google-tags-head.html +6 -0
  21. data/_includes/head.html +72 -0
  22. data/_includes/header-banner.html +1 -0
  23. data/_includes/header-wide.html +1 -0
  24. data/_includes/header.html +1 -0
  25. data/_includes/javascript.html +89 -0
  26. data/_includes/jsdelivr-combine.html +18 -0
  27. data/_includes/lang.html +6 -0
  28. data/_includes/mermaid.html +1 -0
  29. data/_includes/mode-toggle.html +138 -0
  30. data/_includes/navbar.html +6 -0
  31. data/_includes/no-linenos.html +0 -0
  32. data/_includes/options.html +13 -0
  33. data/_includes/pagination.html +0 -0
  34. data/_includes/panel-bottom.html +1 -0
  35. data/_includes/panel-foot-2.html +1 -0
  36. data/_includes/panel-foot-3.html +1 -0
  37. data/_includes/panel-foot-4.html +1 -0
  38. data/_includes/panel-foot-full.html +1 -0
  39. data/_includes/panel-top-2.html +1 -0
  40. data/_includes/panel-top-3.html +1 -0
  41. data/_includes/panel-top-4.html +1 -0
  42. data/_includes/panel-top-full.html +1 -0
  43. data/_includes/post-nav.html +0 -0
  44. data/_includes/post-share.html +0 -0
  45. data/_includes/readtime.html +0 -0
  46. data/_includes/related-posts.html +0 -0
  47. data/_includes/search-loader.html +46 -0
  48. data/_includes/search-results.html +1 -0
  49. data/_includes/sidebar.html +0 -0
  50. data/_includes/toc.html +0 -0
  51. data/_javascript/common/back-to-top.js +20 -0
  52. data/_javascript/common/mode-toggle.js +13 -0
  53. data/_javascript/common/scroll-helper.js +36 -0
  54. data/_javascript/common/search-display.js +129 -0
  55. data/_javascript/common/sidebar.js +30 -0
  56. data/_javascript/common/tooltip-loader.js +6 -0
  57. data/_javascript/common/topbar-switcher.js +90 -0
  58. data/_javascript/common/topbar-title.js +67 -0
  59. data/_javascript/utils/category-collapse.js +30 -0
  60. data/_javascript/utils/checkbox.js +12 -0
  61. data/_javascript/utils/clipboard.js +133 -0
  62. data/_javascript/utils/img-extra.js +47 -0
  63. data/_javascript/utils/locale-datetime.js +45 -0
  64. data/_javascript/utils/pageviews.js +250 -0
  65. data/_javascript/utils/smooth-scroll.js +96 -0
  66. data/_layouts/archive.html +0 -0
  67. data/_layouts/categories.html +0 -0
  68. data/_layouts/category.html +0 -0
  69. data/_layouts/compress.html +10 -0
  70. data/_layouts/default.html +5 -0
  71. data/_layouts/page.html +5 -0
  72. data/_layouts/panel-both.html +14 -0
  73. data/_layouts/panel-left.html +14 -0
  74. data/_layouts/panel-none.html +81 -0
  75. data/_layouts/panel-right.html +14 -0
  76. data/_layouts/post.html +5 -0
  77. data/_layouts/tag.html +0 -0
  78. data/_layouts/tags.html +0 -0
  79. data/_sass/addon/common.scss +1630 -0
  80. data/_sass/addon/mixins.scss +144 -0
  81. data/_sass/addon/syntax.scss +0 -0
  82. data/_sass/addon/variables.scss +31 -0
  83. data/_sass/colors/brew-scheme.scss +7 -0
  84. data/_sass/colors/dark-scheme.scss +21 -0
  85. data/_sass/colors/dark-syntax.scss +88 -0
  86. data/_sass/colors/light-scheme.scss +7 -0
  87. data/_sass/colors/light-syntax.scss +84 -0
  88. data/_sass/layout/page.scss +0 -0
  89. data/_sass/layout/panel-both.scss +0 -0
  90. data/_sass/layout/panel-left.scss +0 -0
  91. data/_sass/layout/panel-none.scss +146 -0
  92. data/_sass/layout/panel-right.scss +0 -0
  93. data/_sass/layout/post.scss +0 -0
  94. data/_sass/redeyed-jekyll-theme.scss +26 -0
  95. data/_sass/variables-hook.scss +0 -0
  96. data/assets/css/style.scss +8 -0
  97. data/assets/img/d20R/d20R-128.png +0 -0
  98. data/assets/img/d20R/d20R-16.png +0 -0
  99. data/assets/img/d20R/d20R-200.png +0 -0
  100. data/assets/img/d20R/d20R-240.png +0 -0
  101. data/assets/img/d20R/d20R-32.png +0 -0
  102. data/assets/img/d20R/d20R-320.png +0 -0
  103. data/assets/img/d20R/d20R-48.png +0 -0
  104. data/assets/img/d20R/d20R-500.png +0 -0
  105. data/assets/img/d20R/d20R-600.png +0 -0
  106. data/assets/img/d20R/d20R-64.png +0 -0
  107. data/assets/img/d20R/d20R.svg +98 -0
  108. data/assets/img/d20RB/d20RB-128.png +0 -0
  109. data/assets/img/d20RB/d20RB-16.png +0 -0
  110. data/assets/img/d20RB/d20RB-200.png +0 -0
  111. data/assets/img/d20RB/d20RB-240.png +0 -0
  112. data/assets/img/d20RB/d20RB-32.png +0 -0
  113. data/assets/img/d20RB/d20RB-320.png +0 -0
  114. data/assets/img/d20RB/d20RB-48.png +0 -0
  115. data/assets/img/d20RB/d20RB-500.png +0 -0
  116. data/assets/img/d20RB/d20RB-600.png +0 -0
  117. data/assets/img/d20RB/d20RB-64.png +0 -0
  118. data/assets/img/d20RB/d20RB.svg +103 -0
  119. data/assets/img/favicons/android-chrome-192x192.png +0 -0
  120. data/assets/img/favicons/android-chrome-512x512.png +0 -0
  121. data/assets/img/favicons/apple-touch-icon.png +0 -0
  122. data/assets/img/favicons/browserconfig.xml +12 -0
  123. data/assets/img/favicons/favicon-16x16.png +0 -0
  124. data/assets/img/favicons/favicon-32x32.png +0 -0
  125. data/assets/img/favicons/favicon.ico +0 -0
  126. data/assets/img/favicons/mstile-150x150.png +0 -0
  127. data/assets/img/favicons/mstile-310x150.png +0 -0
  128. data/assets/img/favicons/mstile-310x310.png +0 -0
  129. data/assets/img/favicons/mstile-70x70.png +0 -0
  130. data/assets/img/favicons/safari-pinned-tab.svg +112 -0
  131. data/assets/img/favicons/site.webmanifest +19 -0
  132. data/assets/js/data/search.json +19 -0
  133. data/assets/js/data/swcache.js +54 -0
  134. data/assets/js/fetch.js +458 -0
  135. data/assets/js/pwa/app.js +47 -0
  136. data/assets/js/pwa/sw.js +89 -0
  137. data/assets/js/pwa/unregister.js +12 -0
  138. data/src/404.html +10 -0
  139. data/src/favicon.ico +0 -0
  140. data/src/feed.xml +61 -0
  141. data/src/index.md +22 -0
  142. data/src/robots.txt +10 -0
  143. data/src/style/html.md +7 -0
  144. data/src/style/index.md +11 -0
  145. data/src/style/markdown.md +108 -0
  146. metadata +375 -0
@@ -0,0 +1,1630 @@
1
+ /*
2
+ 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: 14px;
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: 'Cormorant Infant', serif;
37
+ }
38
+
39
+ /* TYPOGRAPHY */
40
+
41
+ h1 {
42
+ @extend %heading;
43
+ font-size: 2rem;
44
+ }
45
+
46
+ h2 {
47
+ @extend %heading;
48
+ @extend %section;
49
+ @extend %anchor;
50
+
51
+ font-size: 1.6rem;
52
+ }
53
+
54
+ h3 {
55
+ @extend %heading;
56
+ @extend %section;
57
+ @extend %anchor;
58
+
59
+ font-size: 1.2rem;
60
+ }
61
+
62
+ h4 {
63
+ @extend %heading;
64
+ @extend %section;
65
+ @extend %anchor;
66
+
67
+ font-size: 1.1rem;
68
+ }
69
+
70
+ h5 {
71
+ @extend %heading;
72
+ @extend %section;
73
+ @extend %anchor;
74
+
75
+ font-size: 1rem;
76
+ }
77
+
78
+ h6 {
79
+ @extend %heading;
80
+ @extend %section;
81
+ @extend %anchor;
82
+
83
+ font-size: 0.9rem;
84
+ }
85
+
86
+ ol,ul {
87
+ ol,ul { margin-bottom: 1rem; }
88
+ }
89
+
90
+ a { @extend %link-color; }
91
+
92
+ img {
93
+ max-width: 100%;
94
+ height: auto;
95
+ }
96
+
97
+ blockquote {
98
+ border-left: 5px solid var(--blockquote-border-color);
99
+ padding-left: 1rem;
100
+ color: var(--blockquote-text-color);
101
+
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);
108
+
109
+ &::before {
110
+ margin-right: 1rem;
111
+ font-family: "Font Awesome 5 Free";
112
+ text-align: center;
113
+ width: 1.25rem;
114
+ }
115
+
116
+ p:last-child {
117
+ margin-bottom: 0rem;
118
+ }
119
+ }
120
+
121
+ @include prompt("tip", "\f0eb", 400);
122
+
123
+ @include prompt("info", "\f06a");
124
+
125
+ @include prompt("warning", "\f06a");
126
+
127
+ @include prompt("danger", "\f071");
128
+ }
129
+
130
+ mjx-container {
131
+ overflow-x: auto;
132
+ overflow-y: hidden;
133
+ }
134
+
135
+ kbd {
136
+ font-family: inherit;
137
+ display: inline-block;
138
+ vertical-align: middle;
139
+ line-height: 1.3rem;
140
+ min-width: 1.75rem;
141
+ text-align: center;
142
+ margin: 0 0.3rem;
143
+ padding-top: 0.1rem;
144
+ color: var(--kbd-text-color);
145
+ background-color: var(--kbd-bg-color);
146
+ border-radius: 0.25rem;
147
+ border: solid 1px var(--kbd-wrap-color);
148
+ box-shadow: inset 0 -2px 0 var(--kbd-wrap-color);
149
+ }
150
+
151
+ footer {
152
+ @include pl-pr(1.5rem);
153
+
154
+ font-size: 0.8rem;
155
+
156
+ > div.d-flex {
157
+ height: $footer-height;
158
+ line-height: 1.2rem;
159
+ padding-bottom: 1rem;
160
+ border-top: 1px solid var(--main-border-color);
161
+
162
+ > div {
163
+ width: 350px;
164
+ }
165
+ }
166
+
167
+ a {
168
+ @extend %text-color;
169
+
170
+ &:link {
171
+ @include no-text-decoration;
172
+ }
173
+
174
+ &:hover {
175
+ @extend %link-hover;
176
+
177
+ @include no-text-decoration;
178
+ }
179
+ }
180
+
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; }
432
+ }
433
+
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 */