jekyll-theme-chirpy 4.3.2 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -162
  3. data/_config.yml +10 -6
  4. data/_data/locales/en.yml +2 -1
  5. data/_data/locales/id-ID.yml +2 -1
  6. data/_data/locales/ko-KR.yml +91 -0
  7. data/_data/locales/zh-CN.yml +2 -1
  8. data/_includes/{disqus.html → comments/disqus.html} +4 -4
  9. data/_includes/comments/utterances.html +51 -0
  10. data/_includes/comments.html +5 -0
  11. data/_includes/footer.html +1 -1
  12. data/_includes/js-selector.html +1 -1
  13. data/_includes/language-alias.html +1 -3
  14. data/_includes/mermaid.html +28 -0
  15. data/_includes/mode-toggle.html +48 -65
  16. data/_includes/read-time.html +3 -3
  17. data/_includes/refactor-content.html +112 -35
  18. data/_includes/related-posts.html +1 -1
  19. data/_includes/search-results.html +0 -8
  20. data/_includes/sidebar.html +10 -11
  21. data/_includes/timeago.html +11 -12
  22. data/_includes/toc.html +16 -0
  23. data/_includes/topbar.html +1 -1
  24. data/_includes/trending-tags.html +14 -0
  25. data/_includes/update-list.html +16 -0
  26. data/_layouts/default.html +6 -2
  27. data/_layouts/home.html +12 -9
  28. data/_layouts/page.html +45 -22
  29. data/_layouts/post.html +128 -127
  30. data/_sass/addon/commons.scss +198 -187
  31. data/_sass/addon/module.scss +48 -28
  32. data/_sass/addon/syntax.scss +56 -43
  33. data/_sass/addon/variables.scss +1 -1
  34. data/_sass/colors/dark-syntax.scss +3 -4
  35. data/_sass/colors/dark-typography.scss +23 -15
  36. data/_sass/colors/light-syntax.scss +3 -3
  37. data/_sass/colors/light-typography.scss +4 -5
  38. data/_sass/jekyll-theme-chirpy.scss +1 -1
  39. data/_sass/layout/archives.scss +5 -1
  40. data/_sass/layout/category-tag.scss +3 -2
  41. data/_sass/layout/home.scss +15 -4
  42. data/_sass/layout/post.scss +70 -46
  43. data/_sass/layout/tags.scss +1 -0
  44. data/assets/js/dist/categories.min.js +2 -2
  45. data/assets/js/dist/commons.min.js +2 -2
  46. data/assets/js/dist/home.min.js +2 -2
  47. data/assets/js/dist/page.min.js +2 -2
  48. data/assets/js/dist/post.min.js +2 -2
  49. data/assets/js/dist/pvreport.min.js +2 -2
  50. metadata +12 -9
  51. data/_includes/panel.html +0 -59
@@ -6,12 +6,9 @@
6
6
  @mixin mode-toggle($dark-mode: false) {
7
7
  @if $dark-mode {
8
8
  @include dark-scheme;
9
-
10
9
  } @else {
11
10
  @include light-scheme;
12
-
13
11
  }
14
-
15
12
  }
16
13
 
17
14
  html:not([mode]),
@@ -46,59 +43,20 @@ body {
46
43
  font-family: 'Source Sans Pro', 'Microsoft Yahei', sans-serif;
47
44
  }
48
45
 
49
- /* --- Scrollbar --- */
50
-
51
- $scrollbar-size: 7px;
52
-
53
- ::-webkit-scrollbar {
54
- width: $scrollbar-size;
55
- height: $scrollbar-size;
56
- }
57
-
58
- ::-webkit-scrollbar-track {
59
- @at-root body#{&} {
60
- -webkit-box-shadow: inset 0 0 6px var(--scrollbar-track-bg);
61
- }
62
- }
63
-
64
- ::-webkit-scrollbar-thumb {
65
- background-color: var(--scrollbar-thumb-bg);
66
- border-radius: calc(#{$scrollbar-size} / 2);
67
- }
68
-
69
- .highlight {
70
- border-color: transparent;
71
- transition: border-color 0.5s ease;
72
-
73
- &:hover {
74
- border-color: var(--scrollbar-thumb-bg);
75
- transition: border-color 0.2s ease;
76
- }
77
-
78
- &::-webkit-scrollbar-thumb {
79
- /* add border to act as background-color */
80
- border-right-style: inset;
81
- border-right-width: calc(100vw + 100vh);
82
- border-color: inherit;
83
- background-color: var(--highlight-bg-color);
84
- }
85
-
86
- }
87
-
88
46
  /* --- Typography --- */
89
47
 
90
48
  h1 {
91
49
  @extend %heading;
92
50
 
93
- font-size: 1.8rem;
51
+ font-size: 1.9rem;
94
52
  }
95
53
 
96
54
  h2 {
97
55
  @extend %heading;
98
56
  @extend %section;
99
- @extend %anchor;
57
+ @extend %anchor-relative;
100
58
 
101
- font-size: 1.4rem;
59
+ font-size: 1.5rem;
102
60
  }
103
61
 
104
62
  h3 {
@@ -106,7 +64,7 @@ h3 {
106
64
  @extend %section;
107
65
  @extend %anchor;
108
66
 
109
- font-size: 1.25rem;
67
+ font-size: 1.2rem;
110
68
  }
111
69
 
112
70
  h4 {
@@ -149,7 +107,19 @@ blockquote {
149
107
  }
150
108
 
151
109
  kbd {
110
+ font-family: inherit;
111
+ display: inline-block;
112
+ vertical-align: middle;
113
+ line-height: 1.3rem;
114
+ min-width: 1.75rem;
115
+ text-align: center;
152
116
  margin: 0 0.3rem;
117
+ padding-top: 0.1rem;
118
+ color: var(--kbd-text-color);
119
+ background-color: var(--kbd-bg-color);
120
+ border-radius: 0.25rem;
121
+ border: solid 1px var(--kbd-wrap-color);
122
+ box-shadow: inset 0 -2px 0 var(--kbd-wrap-color);
153
123
  }
154
124
 
155
125
  footer {
@@ -158,8 +128,6 @@ footer {
158
128
  padding: 0 1rem;
159
129
  height: $footer-height;
160
130
  font-size: 0.8rem;
161
- color: #7a7b7d;
162
- background-color: var(--footer-bg-color);
163
131
 
164
132
  > div.d-flex {
165
133
  line-height: 1.2rem;
@@ -174,21 +142,58 @@ footer {
174
142
  }
175
143
 
176
144
  a {
177
- color: var(--footer-link);
145
+ @extend %text-color;
146
+
178
147
  &:link {
179
148
  @include no-text-decoration;
180
149
  }
150
+
181
151
  &:hover {
182
152
  @extend %link-hover;
183
153
 
184
154
  @include no-text-decoration;
185
155
  }
186
156
  }
157
+
187
158
  .footer-right {
188
159
  text-align: right;
189
160
  }
190
161
  }
191
162
 
163
+ i { // fontawesome icons
164
+ &.far,
165
+ &.fas {
166
+ @extend %no-cursor;
167
+ }
168
+ }
169
+
170
+ @keyframes fade-in {
171
+ from { opacity: 0; }
172
+ to { opacity: 1; }
173
+ }
174
+
175
+ img[data-src] {
176
+ margin: 0.5rem 0;
177
+
178
+ &[data-loaded=true] {
179
+ animation: fade-in linear 0.5s;
180
+ }
181
+
182
+ &.left {
183
+ float: left;
184
+ margin: 0.75rem 1rem 1rem 0;
185
+ }
186
+
187
+ &.right {
188
+ float: right;
189
+ margin: 0.75rem 0 1rem 1rem;
190
+ }
191
+
192
+ &.shadow {
193
+ filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.08));
194
+ }
195
+ }
196
+
192
197
  /* --- Panels --- */
193
198
 
194
199
  .access {
@@ -202,27 +207,26 @@ footer {
202
207
  position: -webkit-sticky; /* Safari */
203
208
  position: sticky;
204
209
  }
205
- &.topbar-down {
206
- top: 6rem;
207
- }
210
+
208
211
  > div {
209
212
  padding-left: 1rem;
210
213
  border-left: 1px solid var(--main-border-color);
214
+
211
215
  &:not(:last-child) {
212
216
  margin-bottom: 4rem;
213
217
  }
214
218
  }
215
- span {
216
- @include panel-label;
217
- }
219
+
218
220
  .post-content {
219
221
  font-size: 0.9rem;
220
222
  }
223
+
221
224
  }
222
225
 
223
- #access-tags {
224
- > div.post-content > div {
225
- max-width: 80%;
226
+ #panel-wrapper {
227
+ // the headings
228
+ .panel-heading {
229
+ @include label(inherit);
226
230
  }
227
231
 
228
232
  .post-tag {
@@ -234,6 +238,7 @@ footer {
234
238
  border-radius: 0.8rem;
235
239
  padding: 0.3rem 0.5rem;
236
240
  margin: 0 0.35rem 0.5rem 0;
241
+
237
242
  &:hover {
238
243
  background-color: #2a408e;
239
244
  border-color: #2a408e;
@@ -241,10 +246,13 @@ footer {
241
246
  transition: none;
242
247
  }
243
248
  }
249
+
250
+ &.topbar-down > div {
251
+ top: 6rem;
252
+ }
244
253
  }
245
254
 
246
255
  #access-lastmod {
247
-
248
256
  li {
249
257
  height: 1.8rem;
250
258
  overflow: hidden;
@@ -270,21 +278,24 @@ footer {
270
278
  .footnotes > ol {
271
279
  padding-left: 2rem;
272
280
  margin-top: 0.5rem;
281
+
273
282
  > li {
274
283
  &:not(:last-child) {
275
284
  margin-bottom: 0.3rem;
276
285
  }
286
+
277
287
  > p {
278
288
  margin-left: 0.25em;
279
289
  margin-top: 0;
280
290
  margin-bottom: 0;
281
291
  }
292
+
282
293
  // [scroll-focus] added by `smooth-scroll.js`
283
294
  &:target:not([scroll-focus]),
284
295
  &[scroll-focus=true] > p {
285
296
  background-color: var(--footnote-target-bg);
286
297
  width: fit-content;
287
- -webkit-transition: background-color 1.5s ease-in-out; // Safari prior 6.1
298
+ -webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
288
299
  transition: background-color 1.5s ease-in-out;
289
300
  }
290
301
  }
@@ -296,7 +307,7 @@ footer {
296
307
  @include pl-pr(2px);
297
308
 
298
309
  border-bottom-style: none !important;
299
- -webkit-transition: background-color 1.5s ease-in-out; // Safari prior 6.1
310
+ -webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
300
311
  transition: background-color 1.5s ease-in-out;
301
312
  }
302
313
 
@@ -310,32 +321,18 @@ footer {
310
321
  .reversefootnote {
311
322
  @at-root a#{&} {
312
323
  font-size: 0.6rem;
313
- position: absolute;
314
324
  line-height: 1;
315
- padding-top: 0.5em;
316
- margin-left: 0.5em;
325
+ position: relative;
326
+ bottom: 0.25em;
327
+ margin-left: 0.25em;
317
328
  border-bottom-style: none !important;
318
329
  }
319
330
  }
320
331
 
321
- .post {
322
- h1 {
323
- margin-top: 3rem;
324
- margin-bottom: 1rem;
325
- }
326
- em { /* MarkDown italic */
327
- padding-right: 0.2rem;
328
- }
329
- a:hover {
330
- code {
331
- @extend %link-hover;
332
- }
333
- }
334
- }
335
-
336
332
  /* --- Begin of Markdown table style --- */
337
333
 
338
- .table-wrapper { // it will be created by Liquid
334
+ // it will be created by Liquid
335
+ .table-wrapper {
339
336
  overflow-x: auto;
340
337
  margin-bottom: 1.5rem;
341
338
 
@@ -346,6 +343,7 @@ footer {
346
343
 
347
344
  thead {
348
345
  border-bottom: solid 2px rgba(210, 215, 217, 0.75);
346
+
349
347
  th {
350
348
  @extend %table-cell;
351
349
  }
@@ -354,22 +352,54 @@ footer {
354
352
  tbody {
355
353
  tr {
356
354
  border-bottom: 1px solid var(--tb-border-color);
355
+
357
356
  &:nth-child(2n) {
358
357
  background-color: var(--tb-even-bg);
359
358
  }
359
+
360
360
  &:nth-child(2n + 1) {
361
361
  background-color: var(--tb-odd-bg);
362
362
  }
363
+
363
364
  td {
364
365
  @extend %table-cell;
365
366
  }
366
367
  }
367
- }
368
- }
368
+ } // tbody
369
+ }// table
369
370
  }
370
371
 
371
372
  /* --- post --- */
372
373
 
374
+ .post {
375
+ h1 {
376
+ margin-top: 3rem;
377
+ margin-bottom: 1.5rem;
378
+ }
379
+
380
+ a {
381
+ &.img-link {
382
+ @extend %no-cursor;
383
+ }
384
+
385
+ // created by `_includes/img-extra.html`
386
+ &.popup {
387
+ cursor: zoom-in;
388
+
389
+ > img[data-src]:not(.normal):not(.left):not(.right) {
390
+ @include align-center;
391
+ }
392
+ }
393
+
394
+ &:hover {
395
+ code {
396
+ @extend %link-hover;
397
+ }
398
+ }
399
+ } // a
400
+
401
+ }
402
+
373
403
  .pageviews .fa-spinner {
374
404
  font-size: 80%;
375
405
  }
@@ -377,16 +407,20 @@ footer {
377
407
  .post-meta {
378
408
  font-size: 0.85rem;
379
409
  word-spacing: 1px;
410
+
380
411
  a {
381
- @extend %link-color;
382
- @extend %link-underline;
383
412
  &:not(:last-child) {
384
413
  margin-right: 2px;
385
414
  }
415
+
386
416
  &:hover {
387
417
  @extend %link-hover;
388
418
  }
389
419
  }
420
+
421
+ em {
422
+ @extend %normal-font-style;
423
+ }
390
424
  }
391
425
 
392
426
  .post-content {
@@ -396,73 +430,25 @@ footer {
396
430
  overflow-wrap: break-word;
397
431
  word-wrap: break-word;
398
432
 
399
- @mixin caption {
400
- + em {
401
- display: block;
402
- text-align: center;
403
- font-style: normal;
404
- font-size: 80%;
405
- padding: 0;
406
- color: #6d6c6c;
407
- }
408
- }
409
-
410
- @keyframes fade-in {
411
- from { opacity: 0; }
412
- to { opacity: 1; }
413
- }
414
-
415
- img[data-src] {
416
- margin: 0.5rem 0;
417
-
418
- &[data-loaded=true] {
419
- animation: fade-in linear .5s;
420
- }
421
-
422
- &.left {
423
- float: left;
424
- margin: 0.75rem 1rem 1rem 0;
425
- }
426
-
427
- &.right {
428
- float: right;
429
- margin: 0.75rem 0 1rem 1rem;
430
- }
431
-
432
- &.shadow {
433
- filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.08));
434
- }
435
-
436
- @include caption;
437
-
438
- }
439
-
440
433
  a {
441
- blockquote & {
442
- color: var(--link-color);
443
- }
444
-
445
434
  &:not(.img-link) {
446
- @extend %link-color;
447
435
  @extend %link-underline;
436
+
448
437
  &:hover {
449
438
  @extend %link-hover;
450
439
  }
451
440
  }
452
441
 
453
- &.popup { // created by `_includes/img-extra.html`
454
- cursor: zoom-in;
455
-
456
- > img[data-src]:not(.normal):not(.left):not(.right) {
457
- @include align-center;
458
- }
459
- }
460
-
461
- &.img-link {
462
- @include caption;
442
+ &.img-link + em {
443
+ display: block;
444
+ text-align: center;
445
+ font-style: normal;
446
+ font-size: 80%;
447
+ padding: 0;
448
+ color: #6d6c6c;
463
449
  }
464
450
 
465
- } // a
451
+ }
466
452
 
467
453
  ul {
468
454
  // attribute 'hide-bullet' was added by liquid
@@ -473,6 +459,7 @@ footer {
473
459
  margin: 0 0.4rem 0.2rem -1.4rem;
474
460
  vertical-align: middle;
475
461
  color: var(--checkbox-color);
462
+
476
463
  &.checked {
477
464
  color: var(--checkbox-checked-color);
478
465
  }
@@ -546,6 +533,7 @@ footer {
546
533
  padding: 1px 3px;
547
534
  border-radius: 3px;
548
535
  color: var(--link-color);
536
+
549
537
  &:focus {
550
538
  box-shadow: none;
551
539
  }
@@ -553,10 +541,6 @@ footer {
553
541
 
554
542
  /* --- Effects classes --- */
555
543
 
556
- .semi-bold {
557
- font-weight: 600 !important;
558
- }
559
-
560
544
  .loaded {
561
545
  display: block !important;
562
546
 
@@ -755,7 +739,6 @@ $sidebar-display: "sidebar-display";
755
739
  width: 100%;
756
740
 
757
741
  &:last-child {
758
-
759
742
  a {
760
743
  position: relative;
761
744
  left: $cursor-width / 2;
@@ -805,7 +788,6 @@ $sidebar-display: "sidebar-display";
805
788
  } // ul
806
789
 
807
790
  .sidebar-bottom {
808
- font-size: 1.2rem;
809
791
  margin-bottom: 2.1rem;
810
792
 
811
793
  @include ml-mr(auto);
@@ -822,22 +804,31 @@ $sidebar-display: "sidebar-display";
822
804
  }
823
805
 
824
806
  i {
825
- line-height: 1.75rem; // default line-height in body
826
- vertical-align: middle;
807
+ font-size: 1.2rem;
808
+ line-height: 1.75rem;
827
809
  }
828
810
 
829
- #mode-toggle-wrapper {
811
+ .mode-toggle {
812
+ padding: 0;
813
+ border: 0;
814
+ margin-bottom: 1px;
815
+ background-color: transparent;
816
+
830
817
  @extend %icon;
818
+ @extend %sidebar-links;
831
819
 
832
- i {
833
- @extend %sidebar-links;
834
- @extend %cursor-pointer;
820
+ > i {
835
821
  @extend %clickable-transition;
836
822
  }
837
823
 
824
+ &:hover > i {
825
+ color: var(--sidebar-active-color);
826
+ }
838
827
  }
839
828
 
840
829
  .icon-border {
830
+ @extend %no-cursor;
831
+
841
832
  background-color: var(--sidebar-muted-color);
842
833
  content: "";
843
834
  width: 3px;
@@ -845,10 +836,6 @@ $sidebar-display: "sidebar-display";
845
836
  border-radius: 50%;
846
837
  }
847
838
 
848
- #mode-toggle-wrapper:hover > i {
849
- color: var(--sidebar-active-color);
850
- }
851
-
852
839
  } // .sidebar-bottom
853
840
 
854
841
  } // #sidebar
@@ -871,6 +858,7 @@ $sidebar-display: "sidebar-display";
871
858
  display: none;
872
859
  height: 100%;
873
860
  overflow: auto;
861
+
874
862
  .post-content {
875
863
  margin-top: 2rem;
876
864
  }
@@ -959,6 +947,7 @@ $sidebar-display: "sidebar-display";
959
947
  &:focus {
960
948
  box-shadow: none;
961
949
  background: center;
950
+
962
951
  &.form-control {
963
952
  &::-webkit-input-placeholder { @include input-placeholder; }
964
953
  &::-moz-placeholder { @include input-placeholder; }
@@ -969,7 +958,11 @@ $sidebar-display: "sidebar-display";
969
958
  }
970
959
 
971
960
  #search-hints {
972
- display: none;
961
+ padding: 0 1rem;
962
+
963
+ h4 {
964
+ margin-bottom: 1.5rem;
965
+ }
973
966
 
974
967
  .post-tag {
975
968
  display: inline-block;
@@ -978,17 +971,21 @@ $sidebar-display: "sidebar-display";
978
971
  background: var(--search-tag-bg);
979
972
  border: none;
980
973
  padding: 0.5rem;
981
- margin: 0 1rem 1rem 0;
974
+ margin: 0 1.25rem 1rem 0;
975
+
982
976
  &::before {
983
977
  content: "#";
984
978
  color: var(--text-muted-color);
985
979
  padding-right: 0.2rem;
986
980
  }
981
+
982
+ @extend %link-color;
987
983
  }
988
984
  }
989
985
 
990
986
  #search-results {
991
987
  padding-bottom: 6rem;
988
+
992
989
  a {
993
990
  &:hover {
994
991
  @extend %link-hover;
@@ -1039,7 +1036,9 @@ $sidebar-display: "sidebar-display";
1039
1036
  white-space: nowrap;
1040
1037
  }
1041
1038
 
1042
- #page {
1039
+ #core-wrapper {
1040
+ min-height: calc(100vh - #{$topbar-height} - #{$footer-height} - #{$bottom-min-height}) !important;
1041
+
1043
1042
  .categories,
1044
1043
  #tags,
1045
1044
  #archives {
@@ -1076,20 +1075,24 @@ $sidebar-display: "sidebar-display";
1076
1075
  @include pl-pr(0);
1077
1076
  }
1078
1077
 
1079
- #main > div.row:first-child > div {
1080
- &:nth-child(1),
1081
- &:nth-child(2) {
1082
- margin-top: $topbar-height; /* same as the height of topbar */
1083
- }
1084
- &:first-child {
1085
- /* 3rem for topbar, 6rem for footer */
1086
- min-height: calc(100vh - #{$topbar-height} - #{$footer-height} - #{$post-extend-min-height});
1078
+ #main {
1079
+ .row:first-child {
1080
+ > div {
1081
+ &:nth-child(1),
1082
+ &:nth-child(2) {
1083
+ margin-top: $topbar-height; /* same as the height of topbar */
1084
+ }
1085
+
1086
+ &:first-child {
1087
+ /* 3rem for topbar, 6rem for footer */
1088
+ min-height: calc(100vh - #{$topbar-height} - #{$footer-height} - #{$bottom-min-height});
1089
+ }
1090
+ }
1087
1091
  }
1088
- }
1089
1092
 
1090
- #post-wrapper {
1091
- min-height: calc(
1092
- 100vh - #{$topbar-height} - #{$footer-height} - #{$post-extend-min-height}) !important;
1093
+ div.row:first-of-type:last-of-type { // alone
1094
+ margin-bottom: 4rem;
1095
+ }
1093
1096
  }
1094
1097
 
1095
1098
  #topbar-wrapper.row,
@@ -1146,12 +1149,12 @@ $sidebar-display: "sidebar-display";
1146
1149
  min-height: calc(100vh - #{$topbar-height} - #{$footer-height});
1147
1150
  }
1148
1151
 
1149
- #post-wrapper {
1150
- min-height: calc(
1151
- 100vh - #{$topbar-height} - #{$footer-height} - #{$post-extend-min-height}) !important;
1152
+ #core-wrapper {
1153
+ min-height: calc(100vh - #{$topbar-height} - #{$footer-height} - #{$bottom-min-height}) !important;
1154
+
1152
1155
  h1 {
1153
1156
  margin-top: 2.2rem;
1154
- font-size: 1.55rem;
1157
+ font-size: 1.75rem;
1155
1158
  }
1156
1159
  }
1157
1160
 
@@ -1170,6 +1173,7 @@ $sidebar-display: "sidebar-display";
1170
1173
 
1171
1174
  footer {
1172
1175
  height: $footer-height;
1176
+
1173
1177
  > div.d-flex {
1174
1178
  width: 100%;
1175
1179
  padding: 1.5rem 0;
@@ -1178,6 +1182,7 @@ $sidebar-display: "sidebar-display";
1178
1182
  -ms-flex-pack: distribute !important;
1179
1183
  justify-content: space-around !important;
1180
1184
  }
1185
+
1181
1186
  .footer-left,
1182
1187
  .footer-right {
1183
1188
  text-align: center;
@@ -1201,13 +1206,13 @@ $sidebar-display: "sidebar-display";
1201
1206
  .footnotes ol > li {
1202
1207
  padding-top: 3.5rem;
1203
1208
  margin-top: -3.2rem;
1209
+
1204
1210
  &:first-child {
1205
1211
  margin-top: -3.5rem;
1206
1212
  }
1207
1213
  }
1208
1214
 
1209
1215
  [#{$sidebar-display}] {
1210
-
1211
1216
  #sidebar {
1212
1217
  transform: translateX(0);
1213
1218
  }
@@ -1272,6 +1277,7 @@ $sidebar-display: "sidebar-display";
1272
1277
  &.loaded ~ a {
1273
1278
  margin-right: 1rem;
1274
1279
  }
1280
+
1275
1281
  .fa-times-circle {
1276
1282
  right: 5.2rem;
1277
1283
  }
@@ -1286,19 +1292,15 @@ $sidebar-display: "sidebar-display";
1286
1292
  letter-spacing: 0;
1287
1293
  }
1288
1294
 
1289
- #search-hints {
1290
- display: block;
1291
- padding: 0 1rem;
1292
- }
1293
-
1294
1295
  #tags {
1295
1296
  -webkit-box-pack: center !important;
1296
1297
  -ms-flex-pack: center !important;
1297
1298
  justify-content: center !important;
1298
1299
  }
1299
1300
 
1300
- #page h1.dynamic-title {
1301
+ h1.dynamic-title {
1301
1302
  display: none;
1303
+
1302
1304
  ~ .post-content {
1303
1305
  margin-top: 3rem;
1304
1306
  }
@@ -1373,7 +1375,6 @@ $sidebar-display: "sidebar-display";
1373
1375
 
1374
1376
  /* Compact icons in sidebar & panel hidden */
1375
1377
  @media all and (min-width: 850px) and (max-width: 1199px) {
1376
-
1377
1378
  #sidebar {
1378
1379
  width: $sidebar-width-small;
1379
1380
 
@@ -1387,6 +1388,7 @@ $sidebar-display: "sidebar-display";
1387
1388
  span {
1388
1389
  width: 2rem;
1389
1390
  }
1391
+
1390
1392
  .icon-border {
1391
1393
  left: -3px;
1392
1394
  }
@@ -1446,7 +1448,6 @@ $sidebar-display: "sidebar-display";
1446
1448
  /* --- desktop mode, both sidebar and panel are visible --- */
1447
1449
 
1448
1450
  @media all and (min-width: 1200px) {
1449
-
1450
1451
  #main > div.row > div.col-xl-8 {
1451
1452
  -webkit-box-flex: 0;
1452
1453
  -ms-flex: 0 0 75%;
@@ -1476,18 +1477,25 @@ $sidebar-display: "sidebar-display";
1476
1477
 
1477
1478
  #search-results > div {
1478
1479
  width: 46%;
1480
+
1479
1481
  &:nth-child(odd) {
1480
1482
  margin-right: 1.5rem;
1481
1483
  }
1484
+
1482
1485
  &:nth-child(even) {
1483
1486
  margin-left: 1.5rem;
1484
1487
  }
1488
+
1485
1489
  &:last-child:nth-child(odd) {
1486
1490
  position: relative;
1487
1491
  right: 24.3%;
1488
1492
  }
1489
1493
  }
1490
1494
 
1495
+ #search-hints {
1496
+ display: none;
1497
+ }
1498
+
1491
1499
  .post-content {
1492
1500
  font-size: 1.03rem;
1493
1501
  }
@@ -1499,9 +1507,9 @@ $sidebar-display: "sidebar-display";
1499
1507
  }
1500
1508
 
1501
1509
  @media all and (min-width: 1400px) {
1502
-
1503
1510
  #main > div.row {
1504
1511
  padding-left: calc((100% - #{$main-content-max-width}) / 2);
1512
+
1505
1513
  > div.col-xl-8 {
1506
1514
  max-width: 850px;
1507
1515
  }
@@ -1509,6 +1517,7 @@ $sidebar-display: "sidebar-display";
1509
1517
 
1510
1518
  #search-result-wrapper {
1511
1519
  padding-right: 2rem;
1520
+
1512
1521
  > div {
1513
1522
  max-width: 1110px;
1514
1523
  }
@@ -1527,13 +1536,13 @@ $sidebar-display: "sidebar-display";
1527
1536
  }
1528
1537
 
1529
1538
  @media all and (min-width: 1650px) {
1530
-
1531
1539
  #breadcrumb {
1532
1540
  padding-left: 0;
1533
1541
  }
1534
1542
 
1535
1543
  #main > div.row > div.col-xl-8 {
1536
1544
  padding-left: 0;
1545
+
1537
1546
  > div:first-child {
1538
1547
  padding-left: 0.55rem !important;
1539
1548
  padding-right: 1.9rem !important;
@@ -1581,6 +1590,7 @@ $sidebar-display: "sidebar-display";
1581
1590
  > a {
1582
1591
  width: 6.2rem;
1583
1592
  height: 6.2rem;
1593
+
1584
1594
  &.mx-auto {
1585
1595
  margin-left: 0 !important;
1586
1596
  }
@@ -1645,6 +1655,7 @@ $sidebar-display: "sidebar-display";
1645
1655
  }
1646
1656
 
1647
1657
  > span,
1658
+ > button.mode-toggle,
1648
1659
  > a {
1649
1660
  @include ml-mr(0.15rem);
1650
1661