jekyll-theme-chirpy 3.0.1

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