jekyll-theme-chirpy-clarkezone 5.3.2

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