jekyll-theme-chirpy 5.3.0 → 5.3.2
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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/_data/assets/cross_origin.yml +3 -3
- data/_data/assets/self_host.yml +2 -2
- data/_data/locales/en.yml +10 -0
- data/_data/locales/hu-HU.yml +2 -2
- data/_data/locales/ko-KR.yml +7 -0
- data/_data/locales/pt-BR.yml +1 -1
- data/_data/locales/zh-CN.yml +8 -1
- data/_includes/comments/disqus.html +11 -11
- data/_includes/comments/giscus.html +1 -1
- data/_includes/datetime.html +2 -8
- data/_includes/footer.html +26 -26
- data/_includes/head.html +15 -21
- data/_includes/js-selector.html +1 -5
- data/_includes/mermaid.html +12 -10
- data/_includes/post-nav.html +4 -4
- data/_includes/post-sharing.html +3 -3
- data/_includes/read-time.html +3 -3
- data/_includes/refactor-content.html +10 -12
- data/_includes/related-posts.html +1 -1
- data/_includes/search-loader.html +1 -1
- data/_includes/sidebar.html +3 -3
- data/_includes/toc.html +1 -1
- data/_includes/topbar.html +9 -9
- data/_includes/trending-tags.html +1 -1
- data/_includes/update-list.html +1 -1
- data/_layouts/archives.html +2 -9
- data/_layouts/categories.html +12 -14
- data/_layouts/category.html +0 -2
- data/_layouts/default.html +6 -9
- data/_layouts/home.html +1 -3
- data/_layouts/page.html +4 -6
- data/_layouts/post.html +10 -12
- data/_layouts/tag.html +0 -2
- data/_sass/addon/commons.scss +134 -136
- data/_sass/addon/module.scss +5 -2
- data/_sass/addon/syntax.scss +14 -20
- data/_sass/addon/variables.scss +0 -4
- data/_sass/colors/dark-syntax.scss +17 -18
- data/_sass/colors/dark-typography.scss +22 -22
- data/_sass/colors/light-syntax.scss +2 -3
- data/_sass/colors/light-typography.scss +13 -14
- data/_sass/jekyll-theme-chirpy.scss +1 -1
- data/_sass/layout/archives.scss +4 -12
- data/_sass/layout/categories.scss +12 -13
- data/_sass/layout/category-tag.scss +4 -4
- data/_sass/layout/home.scss +19 -25
- data/_sass/layout/post.scss +132 -136
- data/_sass/layout/tags.scss +1 -1
- data/assets/404.html +1 -3
- data/assets/js/data/search.json +3 -1
- data/assets/js/data/swcache.js +35 -36
- data/assets/js/dist/categories.min.js +2 -2
- data/assets/js/dist/commons.min.js +2 -2
- data/assets/js/dist/home.min.js +2 -2
- data/assets/js/dist/misc.min.js +2 -2
- data/assets/js/dist/page.min.js +2 -2
- data/assets/js/dist/post.min.js +2 -2
- data/assets/js/dist/pvreport.min.js +2 -2
- data/assets/js/pwa/app.js +33 -33
- data/assets/js/pwa/sw.js +54 -53
- data/assets/js/pwa/unregister.js +5 -5
- metadata +2 -10
- data/_config.yml +0 -201
- data/_includes/lang.html +0 -8
- data/_plugins/posts-lastmod-hook.rb +0 -14
- data/_tabs/about.md +0 -8
- data/_tabs/archives.md +0 -6
- data/_tabs/categories.md +0 -5
- data/_tabs/tags.md +0 -5
- data/index.html +0 -4
data/_sass/addon/commons.scss
CHANGED
@@ -5,22 +5,22 @@
|
|
5
5
|
html {
|
6
6
|
@media (prefers-color-scheme: light) {
|
7
7
|
&:not([data-mode]),
|
8
|
-
&[data-mode=light] {
|
8
|
+
&[data-mode="light"] {
|
9
9
|
@include light-scheme;
|
10
10
|
}
|
11
11
|
|
12
|
-
&[data-mode=dark] {
|
12
|
+
&[data-mode="dark"] {
|
13
13
|
@include dark-scheme;
|
14
14
|
}
|
15
15
|
}
|
16
16
|
|
17
17
|
@media (prefers-color-scheme: dark) {
|
18
18
|
&:not([data-mode]),
|
19
|
-
&[data-mode=dark] {
|
19
|
+
&[data-mode="dark"] {
|
20
20
|
@include dark-scheme;
|
21
21
|
}
|
22
22
|
|
23
|
-
&[data-mode=light] {
|
23
|
+
&[data-mode="light"] {
|
24
24
|
@include light-scheme;
|
25
25
|
}
|
26
26
|
}
|
@@ -29,11 +29,11 @@ html {
|
|
29
29
|
}
|
30
30
|
|
31
31
|
body {
|
32
|
-
line-height: 1.75rem;
|
33
32
|
background: var(--body-bg);
|
34
33
|
color: var(--text-color);
|
35
34
|
-webkit-font-smoothing: antialiased;
|
36
|
-
font-family:
|
35
|
+
font-family: "Source Sans Pro", "Microsoft Yahei", sans-serif;
|
36
|
+
line-height: 1.75;
|
37
37
|
}
|
38
38
|
|
39
39
|
/* --- Typography --- */
|
@@ -76,14 +76,6 @@ h5 {
|
|
76
76
|
font-size: 1.1rem;
|
77
77
|
}
|
78
78
|
|
79
|
-
ol,
|
80
|
-
ul {
|
81
|
-
ol,
|
82
|
-
ul {
|
83
|
-
margin-bottom: 1rem;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
79
|
a {
|
88
80
|
@extend %link-color;
|
89
81
|
}
|
@@ -102,27 +94,28 @@ blockquote {
|
|
102
94
|
display: flex;
|
103
95
|
border-left: 0;
|
104
96
|
border-radius: 6px;
|
105
|
-
padding:
|
97
|
+
padding: 1rem;
|
106
98
|
color: var(--prompt-text-color);
|
107
99
|
|
108
100
|
&::before {
|
109
|
-
margin-right: 1rem;
|
110
101
|
font-family: "Font Awesome 5 Free";
|
111
102
|
text-align: center;
|
112
103
|
width: 1.25rem;
|
104
|
+
margin-right: 0.75rem;
|
113
105
|
}
|
114
106
|
|
115
|
-
|
116
|
-
|
107
|
+
> div {
|
108
|
+
max-width: calc(100% - 2rem);
|
109
|
+
|
110
|
+
> :last-child {
|
111
|
+
margin-bottom: 0;
|
112
|
+
}
|
117
113
|
}
|
118
114
|
}
|
119
115
|
|
120
116
|
@include prompt("tip", "\f0eb", 400);
|
121
|
-
|
122
117
|
@include prompt("info", "\f06a");
|
123
|
-
|
124
118
|
@include prompt("warning", "\f06a");
|
125
|
-
|
126
119
|
@include prompt("danger", "\f071");
|
127
120
|
}
|
128
121
|
|
@@ -148,11 +141,10 @@ kbd {
|
|
148
141
|
}
|
149
142
|
|
150
143
|
footer {
|
151
|
-
@include pl-pr(1.5rem);
|
152
|
-
|
153
144
|
font-size: 0.8rem;
|
145
|
+
background-color: var(--main-bg);
|
154
146
|
|
155
|
-
|
147
|
+
div.d-flex {
|
156
148
|
height: $footer-height;
|
157
149
|
line-height: 1.2rem;
|
158
150
|
padding-bottom: 1rem;
|
@@ -172,7 +164,6 @@ footer {
|
|
172
164
|
|
173
165
|
&:hover {
|
174
166
|
@extend %link-hover;
|
175
|
-
|
176
167
|
@include no-text-decoration;
|
177
168
|
}
|
178
169
|
}
|
@@ -189,6 +180,11 @@ i { /* fontawesome icons */
|
|
189
180
|
}
|
190
181
|
}
|
191
182
|
|
183
|
+
@-webkit-keyframes fade-in {
|
184
|
+
from { opacity: 0; }
|
185
|
+
to { opacity: 1; }
|
186
|
+
}
|
187
|
+
|
192
188
|
@keyframes fade-in {
|
193
189
|
from { opacity: 0; }
|
194
190
|
to { opacity: 1; }
|
@@ -197,7 +193,8 @@ i { /* fontawesome icons */
|
|
197
193
|
img[data-src] {
|
198
194
|
margin: 0.5rem 0;
|
199
195
|
|
200
|
-
&[data-loaded=true] {
|
196
|
+
&[data-loaded="true"] {
|
197
|
+
-webkit-animation: fade-in linear 0.5s;
|
201
198
|
animation: fade-in linear 0.5s;
|
202
199
|
}
|
203
200
|
|
@@ -212,6 +209,7 @@ img[data-src] {
|
|
212
209
|
}
|
213
210
|
|
214
211
|
&.shadow {
|
212
|
+
-webkit-filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.08));
|
215
213
|
filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.08));
|
216
214
|
box-shadow: none !important; /* cover the Bootstrap 4.6.1 styles */
|
217
215
|
}
|
@@ -228,7 +226,7 @@ img[data-src] {
|
|
228
226
|
margin-bottom: 4rem;
|
229
227
|
|
230
228
|
&:only-child {
|
231
|
-
position: -webkit-sticky;
|
229
|
+
position: -webkit-sticky;
|
232
230
|
position: sticky;
|
233
231
|
}
|
234
232
|
|
@@ -244,7 +242,6 @@ img[data-src] {
|
|
244
242
|
.post-content {
|
245
243
|
font-size: 0.9rem;
|
246
244
|
}
|
247
|
-
|
248
245
|
}
|
249
246
|
|
250
247
|
#panel-wrapper {
|
@@ -266,12 +263,12 @@ img[data-src] {
|
|
266
263
|
&:hover {
|
267
264
|
background-color: #2a408e;
|
268
265
|
border-color: #2a408e;
|
269
|
-
color: #
|
266
|
+
color: #ffffff;
|
270
267
|
transition: none;
|
271
268
|
}
|
272
269
|
}
|
273
270
|
|
274
|
-
[data-topbar-visible=true] & > div {
|
271
|
+
[data-topbar-visible="true"] & > div {
|
275
272
|
top: 6rem;
|
276
273
|
}
|
277
274
|
}
|
@@ -296,7 +293,6 @@ img[data-src] {
|
|
296
293
|
|
297
294
|
color: inherit;
|
298
295
|
}
|
299
|
-
|
300
296
|
}
|
301
297
|
|
302
298
|
.footnotes > ol {
|
@@ -316,10 +312,11 @@ img[data-src] {
|
|
316
312
|
|
317
313
|
/* [scroll-focus] added by `smooth-scroll.js` */
|
318
314
|
&:target:not([scroll-focus]),
|
319
|
-
&[scroll-focus=true] > p {
|
315
|
+
&[scroll-focus="true"] > p {
|
320
316
|
background-color: var(--footnote-target-bg);
|
317
|
+
width: -moz-fit-content;
|
318
|
+
width: -webkit-fit-content;
|
321
319
|
width: fit-content;
|
322
|
-
-webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
|
323
320
|
transition: background-color 1.5s ease-in-out;
|
324
321
|
}
|
325
322
|
}
|
@@ -331,7 +328,6 @@ img[data-src] {
|
|
331
328
|
@include pl-pr(2px);
|
332
329
|
|
333
330
|
border-bottom-style: none !important;
|
334
|
-
-webkit-transition: background-color 1.5s ease-in-out; /* Safari prior 6.1 */
|
335
331
|
transition: background-color 1.5s ease-in-out;
|
336
332
|
}
|
337
333
|
|
@@ -421,7 +417,6 @@ img[data-src] {
|
|
421
417
|
}
|
422
418
|
}
|
423
419
|
} /* a */
|
424
|
-
|
425
420
|
}
|
426
421
|
|
427
422
|
.pageviews .fa-spinner {
|
@@ -449,10 +444,8 @@ img[data-src] {
|
|
449
444
|
|
450
445
|
.post-content {
|
451
446
|
font-size: 1.08rem;
|
452
|
-
line-height: 1.8;
|
453
447
|
margin-top: 2rem;
|
454
448
|
overflow-wrap: break-word;
|
455
|
-
word-wrap: break-word;
|
456
449
|
|
457
450
|
a {
|
458
451
|
&:not(.img-link) {
|
@@ -466,17 +459,40 @@ img[data-src] {
|
|
466
459
|
&.img-link {
|
467
460
|
@extend %img-caption;
|
468
461
|
}
|
469
|
-
|
470
462
|
}
|
471
463
|
|
464
|
+
ol,
|
472
465
|
ul {
|
473
|
-
|
474
|
-
|
466
|
+
&:not([class]),
|
467
|
+
&.task-list {
|
468
|
+
-webkit-padding-start: 1.75rem;
|
469
|
+
padding-inline-start: 1.75rem;
|
470
|
+
|
471
|
+
li {
|
472
|
+
margin: 0.25rem 0;
|
473
|
+
padding-left: 0.25rem;
|
474
|
+
}
|
475
|
+
|
476
|
+
ol,
|
477
|
+
ul {
|
478
|
+
-webkit-padding-start: 1.25rem;
|
479
|
+
padding-inline-start: 1.25rem;
|
480
|
+
margin: 0.5rem 0;
|
481
|
+
}
|
482
|
+
}
|
483
|
+
}
|
484
|
+
|
485
|
+
ul.task-list {
|
486
|
+
-webkit-padding-start: 1.25rem;
|
487
|
+
padding-inline-start: 1.25rem;
|
488
|
+
|
489
|
+
li {
|
475
490
|
list-style-type: none;
|
491
|
+
padding-left: 0;
|
476
492
|
|
477
493
|
> i { /* checkbox icon */
|
478
|
-
|
479
|
-
|
494
|
+
width: 2rem;
|
495
|
+
margin-left: -1.25rem;
|
480
496
|
color: var(--checkbox-color);
|
481
497
|
|
482
498
|
&.checked {
|
@@ -484,39 +500,21 @@ img[data-src] {
|
|
484
500
|
}
|
485
501
|
}
|
486
502
|
|
503
|
+
ul {
|
504
|
+
-webkit-padding-start: 1.75rem;
|
505
|
+
padding-inline-start: 1.75rem;
|
506
|
+
}
|
487
507
|
}
|
488
508
|
|
489
|
-
input[type=checkbox] {
|
509
|
+
input[type="checkbox"] {
|
490
510
|
margin: 0 0.5rem 0.2rem -1.3rem;
|
491
511
|
vertical-align: middle;
|
492
512
|
}
|
493
|
-
|
494
513
|
} /* ul */
|
495
514
|
|
496
|
-
> ol,
|
497
|
-
> ul {
|
498
|
-
padding-left: 2rem;
|
499
|
-
|
500
|
-
li {
|
501
|
-
ol,
|
502
|
-
ul { /* sub list */
|
503
|
-
padding-left: 2rem;
|
504
|
-
margin-top: 0.3rem;
|
505
|
-
}
|
506
|
-
}
|
507
|
-
|
508
|
-
}
|
509
|
-
|
510
|
-
> ol {
|
511
|
-
li {
|
512
|
-
padding-left: 0.25em;
|
513
|
-
}
|
514
|
-
}
|
515
|
-
|
516
515
|
dl > dd {
|
517
516
|
margin-left: 1rem;
|
518
517
|
}
|
519
|
-
|
520
518
|
} /* .post-content */
|
521
519
|
|
522
520
|
.tag:hover {
|
@@ -581,7 +579,6 @@ img[data-src] {
|
|
581
579
|
}
|
582
580
|
|
583
581
|
.flex-grow-1 {
|
584
|
-
-ms-flex-positive: 1 !important;
|
585
582
|
flex-grow: 1 !important;
|
586
583
|
}
|
587
584
|
|
@@ -673,9 +670,8 @@ $sidebar-display: "sidebar-display";
|
|
673
670
|
border-radius: 50%;
|
674
671
|
border: 2px solid rgba(222, 222, 222, 0.7);
|
675
672
|
overflow: hidden;
|
673
|
+
-webkit-transform: translateZ(0);
|
676
674
|
transform: translateZ(0); /* fixed the zoom in Safari */
|
677
|
-
-webkit-transition: border-color 0.35s ease-in-out;
|
678
|
-
-moz-transition: border-color 0.35s ease-in-out;
|
679
675
|
transition: border-color 0.35s ease-in-out;
|
680
676
|
|
681
677
|
&:hover {
|
@@ -686,13 +682,11 @@ $sidebar-display: "sidebar-display";
|
|
686
682
|
img {
|
687
683
|
width: 100%;
|
688
684
|
height: 100%;
|
689
|
-
-webkit-
|
690
|
-
-moz-transition: transform 0.5s;
|
685
|
+
transition: -webkit-transform 0.5s;
|
691
686
|
transition: transform 0.5s;
|
687
|
+
transition: transform 0.5s, -webkit-transform 0.5s;
|
692
688
|
|
693
689
|
&:hover {
|
694
|
-
-ms-transform: scale(1.2);
|
695
|
-
-moz-transform: scale(1.2);
|
696
690
|
-webkit-transform: scale(1.2);
|
697
691
|
transform: scale(1.2);
|
698
692
|
}
|
@@ -700,23 +694,27 @@ $sidebar-display: "sidebar-display";
|
|
700
694
|
} /* #avatar */
|
701
695
|
|
702
696
|
.site-title {
|
697
|
+
margin-top: 0.55rem;
|
698
|
+
|
703
699
|
a {
|
704
700
|
@extend %clickable-transition;
|
705
701
|
|
706
702
|
font-weight: 900;
|
707
703
|
font-size: 1.5rem;
|
708
704
|
letter-spacing: 0.5px;
|
709
|
-
color: rgba(134, 133, 133, 99
|
705
|
+
color: rgba(134, 133, 133, 0.99);
|
710
706
|
}
|
711
707
|
}
|
712
708
|
|
713
709
|
.site-subtitle {
|
714
710
|
font-size: 95%;
|
715
711
|
color: var(--sidebar-muted-color);
|
716
|
-
line-height: 1.
|
712
|
+
line-height: 1.25rem;
|
717
713
|
word-spacing: 1px;
|
718
|
-
margin: 0.
|
714
|
+
margin: 0.2rem 1.5rem 0.5rem 1.5rem;
|
719
715
|
min-height: 3rem; /* avoid vertical shifting in multi-line words */
|
716
|
+
-webkit-user-select: none;
|
717
|
+
-moz-user-select: none;
|
720
718
|
user-select: none;
|
721
719
|
}
|
722
720
|
|
@@ -797,9 +795,7 @@ $sidebar-display: "sidebar-display";
|
|
797
795
|
@include fix-cursor($top);
|
798
796
|
}
|
799
797
|
}
|
800
|
-
|
801
798
|
} /* @for */
|
802
|
-
|
803
799
|
} /* ul */
|
804
800
|
|
805
801
|
.sidebar-bottom {
|
@@ -850,16 +846,11 @@ $sidebar-display: "sidebar-display";
|
|
850
846
|
height: 3px;
|
851
847
|
border-radius: 50%;
|
852
848
|
}
|
853
|
-
|
854
849
|
} /* .sidebar-bottom */
|
855
|
-
|
856
850
|
} /* #sidebar */
|
857
851
|
|
858
852
|
@media (hover: hover) {
|
859
853
|
#sidebar ul > li:last-child::after {
|
860
|
-
-webkit-transition: top 0.5s ease;
|
861
|
-
-moz-transition: top 0.5s ease;
|
862
|
-
-o-transition: top 0.5s ease;
|
863
854
|
transition: top 0.5s ease;
|
864
855
|
}
|
865
856
|
}
|
@@ -893,14 +884,14 @@ $sidebar-display: "sidebar-display";
|
|
893
884
|
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
|
894
885
|
background-color: var(--topbar-wrapper-bg);
|
895
886
|
|
896
|
-
[data-topbar-visible=false] & {
|
887
|
+
[data-topbar-visible="false"] & {
|
897
888
|
top: -$topbar-height; /* same as topbar height. */
|
898
889
|
}
|
899
890
|
}
|
900
891
|
|
901
892
|
#topbar {
|
902
893
|
i { /* icons */
|
903
|
-
color: #
|
894
|
+
color: #999999;
|
904
895
|
}
|
905
896
|
|
906
897
|
#breadcrumb {
|
@@ -964,9 +955,8 @@ $sidebar-display: "sidebar-display";
|
|
964
955
|
background: center;
|
965
956
|
|
966
957
|
&.form-control {
|
967
|
-
&::-webkit-input-placeholder { @include input-placeholder; }
|
968
958
|
&::-moz-placeholder { @include input-placeholder; }
|
969
|
-
|
959
|
+
&::-webkit-input-placeholder { @include input-placeholder; }
|
970
960
|
&::placeholder { @include input-placeholder; }
|
971
961
|
}
|
972
962
|
}
|
@@ -1052,8 +1042,6 @@ $sidebar-display: "sidebar-display";
|
|
1052
1042
|
}
|
1053
1043
|
|
1054
1044
|
#core-wrapper {
|
1055
|
-
min-height: calc(100vh - #{$topbar-height} - #{$footer-height});
|
1056
|
-
|
1057
1045
|
.categories,
|
1058
1046
|
#tags,
|
1059
1047
|
#archives {
|
@@ -1061,6 +1049,10 @@ $sidebar-display: "sidebar-display";
|
|
1061
1049
|
@extend %no-bottom-border;
|
1062
1050
|
}
|
1063
1051
|
}
|
1052
|
+
|
1053
|
+
@at-root .row:only-child > #{&} {
|
1054
|
+
padding-bottom: 3rem;
|
1055
|
+
}
|
1064
1056
|
}
|
1065
1057
|
|
1066
1058
|
#mask {
|
@@ -1082,9 +1074,9 @@ $sidebar-display: "sidebar-display";
|
|
1082
1074
|
/* --- main wrapper --- */
|
1083
1075
|
|
1084
1076
|
#main-wrapper {
|
1085
|
-
background-color: var(--main-
|
1077
|
+
background-color: var(--main-bg);
|
1086
1078
|
position: relative;
|
1087
|
-
min-height: 100vh;
|
1079
|
+
min-height: calc(100vh - #{$footer-height});
|
1088
1080
|
|
1089
1081
|
@include pl-pr(0);
|
1090
1082
|
}
|
@@ -1116,7 +1108,9 @@ $sidebar-display: "sidebar-display";
|
|
1116
1108
|
height: $size;
|
1117
1109
|
border-radius: 50%;
|
1118
1110
|
border: 1px solid var(--btn-backtotop-border-color);
|
1111
|
+
transition: -webkit-transform 0.2s ease-out;
|
1119
1112
|
transition: transform 0.2s ease-out;
|
1113
|
+
transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
|
1120
1114
|
-webkit-transition: transform 0.2s ease-out;
|
1121
1115
|
|
1122
1116
|
i {
|
@@ -1132,6 +1126,13 @@ $sidebar-display: "sidebar-display";
|
|
1132
1126
|
}
|
1133
1127
|
|
1134
1128
|
#notification {
|
1129
|
+
@-webkit-keyframes popup {
|
1130
|
+
from {
|
1131
|
+
opacity: 0;
|
1132
|
+
bottom: 0;
|
1133
|
+
}
|
1134
|
+
}
|
1135
|
+
|
1135
1136
|
@keyframes popup {
|
1136
1137
|
from {
|
1137
1138
|
opacity: 0;
|
@@ -1146,7 +1147,7 @@ $sidebar-display: "sidebar-display";
|
|
1146
1147
|
}
|
1147
1148
|
|
1148
1149
|
.toast-body {
|
1149
|
-
font-family:
|
1150
|
+
font-family: Lato, sans-serif;
|
1150
1151
|
line-height: 1.25rem;
|
1151
1152
|
|
1152
1153
|
button {
|
@@ -1169,11 +1170,12 @@ $sidebar-display: "sidebar-display";
|
|
1169
1170
|
position: fixed;
|
1170
1171
|
left: 50%;
|
1171
1172
|
bottom: 20%;
|
1173
|
+
-webkit-transform: translateX(-50%);
|
1172
1174
|
transform: translateX(-50%);
|
1175
|
+
-webkit-animation: popup 0.8s;
|
1173
1176
|
animation: popup 0.8s;
|
1174
1177
|
}
|
1175
1178
|
}
|
1176
|
-
|
1177
1179
|
}
|
1178
1180
|
|
1179
1181
|
/*
|
@@ -1189,10 +1191,9 @@ $sidebar-display: "sidebar-display";
|
|
1189
1191
|
footer {
|
1190
1192
|
height: $footer-height-mobile;
|
1191
1193
|
|
1192
|
-
|
1194
|
+
div.d-flex {
|
1193
1195
|
padding: 1.5rem 0;
|
1194
1196
|
flex-wrap: wrap;
|
1195
|
-
-ms-flex-pack: distribute !important;
|
1196
1197
|
justify-content: space-around !important;
|
1197
1198
|
}
|
1198
1199
|
|
@@ -1202,6 +1203,10 @@ $sidebar-display: "sidebar-display";
|
|
1202
1203
|
}
|
1203
1204
|
}
|
1204
1205
|
|
1206
|
+
#main-wrapper {
|
1207
|
+
min-height: calc(100vh - #{$footer-height-mobile});
|
1208
|
+
}
|
1209
|
+
|
1205
1210
|
#core-wrapper {
|
1206
1211
|
min-height: calc(100vh - #{$topbar-height} - #{$footer-height-mobile}) !important;
|
1207
1212
|
|
@@ -1211,12 +1216,14 @@ $sidebar-display: "sidebar-display";
|
|
1211
1216
|
}
|
1212
1217
|
|
1213
1218
|
.post-content {
|
1214
|
-
> blockquote[class^=prompt-] {
|
1219
|
+
> blockquote[class^="prompt-"] {
|
1220
|
+
@include pl-pr(1.25rem);
|
1215
1221
|
@include ml-mr(-1.25rem);
|
1222
|
+
|
1216
1223
|
border-radius: 0;
|
1224
|
+
max-width: none;
|
1217
1225
|
}
|
1218
1226
|
}
|
1219
|
-
|
1220
1227
|
}
|
1221
1228
|
|
1222
1229
|
#avatar > a {
|
@@ -1227,7 +1234,6 @@ $sidebar-display: "sidebar-display";
|
|
1227
1234
|
.site-subtitle {
|
1228
1235
|
@include ml-mr(1.8rem);
|
1229
1236
|
}
|
1230
|
-
|
1231
1237
|
}
|
1232
1238
|
|
1233
1239
|
@media all and (max-width: 768px) {
|
@@ -1249,11 +1255,10 @@ $sidebar-display: "sidebar-display";
|
|
1249
1255
|
@media all and (max-width: 849px) {
|
1250
1256
|
@mixin slide($append: null) {
|
1251
1257
|
$basic: transform 0.4s ease;
|
1258
|
+
|
1252
1259
|
@if $append {
|
1253
|
-
-webkit-transition: $basic, $append;
|
1254
1260
|
transition: $basic, $append;
|
1255
1261
|
} @else {
|
1256
|
-
-webkit-transition: $basic;
|
1257
1262
|
transition: $basic;
|
1258
1263
|
}
|
1259
1264
|
}
|
@@ -1263,13 +1268,20 @@ $sidebar-display: "sidebar-display";
|
|
1263
1268
|
overflow-x: hidden;
|
1264
1269
|
}
|
1265
1270
|
|
1271
|
+
footer {
|
1272
|
+
@include slide;
|
1273
|
+
}
|
1274
|
+
|
1266
1275
|
[#{$sidebar-display}] {
|
1267
1276
|
#sidebar {
|
1277
|
+
-webkit-transform: translateX(0);
|
1268
1278
|
transform: translateX(0);
|
1269
1279
|
}
|
1270
1280
|
|
1271
1281
|
#topbar-wrapper,
|
1272
|
-
#main-wrapper
|
1282
|
+
#main-wrapper,
|
1283
|
+
footer {
|
1284
|
+
-webkit-transform: translateX(#{$sidebar-width});
|
1273
1285
|
transform: translateX(#{$sidebar-width});
|
1274
1286
|
}
|
1275
1287
|
}
|
@@ -1281,8 +1293,6 @@ $sidebar-display: "sidebar-display";
|
|
1281
1293
|
-webkit-transform: translateX(-#{$sidebar-width});
|
1282
1294
|
|
1283
1295
|
.cursor {
|
1284
|
-
-webkit-transition: none;
|
1285
|
-
-moz-transition: none;
|
1286
1296
|
transition: none;
|
1287
1297
|
}
|
1288
1298
|
}
|
@@ -1294,7 +1304,8 @@ $sidebar-display: "sidebar-display";
|
|
1294
1304
|
}
|
1295
1305
|
|
1296
1306
|
#topbar,
|
1297
|
-
#main
|
1307
|
+
#main,
|
1308
|
+
footer > .container {
|
1298
1309
|
max-width: 100%;
|
1299
1310
|
}
|
1300
1311
|
|
@@ -1329,8 +1340,6 @@ $sidebar-display: "sidebar-display";
|
|
1329
1340
|
}
|
1330
1341
|
|
1331
1342
|
#tags {
|
1332
|
-
-webkit-box-pack: center !important;
|
1333
|
-
-ms-flex-pack: center !important;
|
1334
1343
|
justify-content: center !important;
|
1335
1344
|
}
|
1336
1345
|
|
@@ -1341,18 +1350,17 @@ $sidebar-display: "sidebar-display";
|
|
1341
1350
|
margin-top: 3rem;
|
1342
1351
|
}
|
1343
1352
|
}
|
1344
|
-
|
1345
1353
|
} /* max-width: 849px */
|
1346
1354
|
|
1347
1355
|
@media all and (max-width: 849px) and (orientation: portrait) {
|
1348
|
-
[data-topbar-visible=false] #topbar-wrapper {
|
1356
|
+
[data-topbar-visible="false"] #topbar-wrapper {
|
1349
1357
|
top: 0;
|
1350
1358
|
}
|
1351
1359
|
}
|
1352
1360
|
|
1353
1361
|
/* Phone & Pad */
|
1354
1362
|
@media all and (min-width: 577px) and (max-width: 1199px) {
|
1355
|
-
footer
|
1363
|
+
footer .d-flex > div {
|
1356
1364
|
width: 312px;
|
1357
1365
|
}
|
1358
1366
|
}
|
@@ -1364,7 +1372,8 @@ $sidebar-display: "sidebar-display";
|
|
1364
1372
|
overflow-y: scroll;
|
1365
1373
|
}
|
1366
1374
|
|
1367
|
-
#main-wrapper
|
1375
|
+
#main-wrapper,
|
1376
|
+
footer {
|
1368
1377
|
margin-left: $sidebar-width;
|
1369
1378
|
}
|
1370
1379
|
|
@@ -1395,21 +1404,14 @@ $sidebar-display: "sidebar-display";
|
|
1395
1404
|
right: 5%;
|
1396
1405
|
}
|
1397
1406
|
|
1398
|
-
#topbar {
|
1399
|
-
@include pl-pr(2rem);
|
1400
|
-
}
|
1401
|
-
|
1402
1407
|
#topbar-title {
|
1403
1408
|
text-align: left;
|
1404
1409
|
}
|
1405
|
-
|
1406
1410
|
}
|
1407
1411
|
|
1408
1412
|
/* Pad horizontal */
|
1409
1413
|
@media all and (min-width: 992px) and (max-width: 1199px) {
|
1410
1414
|
#main .col-lg-11 {
|
1411
|
-
-webkit-box-flex: 0;
|
1412
|
-
-ms-flex: 0 0 96%;
|
1413
1415
|
flex: 0 0 96%;
|
1414
1416
|
max-width: 96%;
|
1415
1417
|
}
|
@@ -1438,7 +1440,7 @@ $sidebar-display: "sidebar-display";
|
|
1438
1440
|
}
|
1439
1441
|
|
1440
1442
|
#topbar-wrapper {
|
1441
|
-
left:
|
1443
|
+
left: $sidebar-width-small;
|
1442
1444
|
}
|
1443
1445
|
|
1444
1446
|
#search-results > div {
|
@@ -1456,8 +1458,9 @@ $sidebar-display: "sidebar-display";
|
|
1456
1458
|
font-size: 90%;
|
1457
1459
|
}
|
1458
1460
|
|
1459
|
-
#main-wrapper
|
1460
|
-
|
1461
|
+
#main-wrapper,
|
1462
|
+
footer {
|
1463
|
+
margin-left: $sidebar-width-small;
|
1461
1464
|
}
|
1462
1465
|
|
1463
1466
|
#breadcrumb {
|
@@ -1467,7 +1470,6 @@ $sidebar-display: "sidebar-display";
|
|
1467
1470
|
word-break: keep-all;
|
1468
1471
|
white-space: nowrap;
|
1469
1472
|
}
|
1470
|
-
|
1471
1473
|
}
|
1472
1474
|
|
1473
1475
|
/* panel hidden */
|
@@ -1477,8 +1479,6 @@ $sidebar-display: "sidebar-display";
|
|
1477
1479
|
}
|
1478
1480
|
|
1479
1481
|
#main > div.row {
|
1480
|
-
-webkit-box-pack: center !important;
|
1481
|
-
-ms-flex-pack: center !important;
|
1482
1482
|
justify-content: center !important;
|
1483
1483
|
}
|
1484
1484
|
}
|
@@ -1495,7 +1495,6 @@ $sidebar-display: "sidebar-display";
|
|
1495
1495
|
}
|
1496
1496
|
|
1497
1497
|
#search-input {
|
1498
|
-
-webkit-transition: all 0.3s ease-in-out;
|
1499
1498
|
transition: all 0.3s ease-in-out;
|
1500
1499
|
}
|
1501
1500
|
|
@@ -1520,10 +1519,11 @@ $sidebar-display: "sidebar-display";
|
|
1520
1519
|
font-size: 1.03rem;
|
1521
1520
|
}
|
1522
1521
|
|
1523
|
-
footer
|
1524
|
-
|
1522
|
+
footer {
|
1523
|
+
div.d-felx {
|
1524
|
+
width: 85%;
|
1525
|
+
}
|
1525
1526
|
}
|
1526
|
-
|
1527
1527
|
}
|
1528
1528
|
|
1529
1529
|
@media all and (min-width: 1400px) {
|
@@ -1533,7 +1533,8 @@ $sidebar-display: "sidebar-display";
|
|
1533
1533
|
}
|
1534
1534
|
|
1535
1535
|
@media all and (min-width: 1650px) {
|
1536
|
-
#main-wrapper
|
1536
|
+
#main-wrapper,
|
1537
|
+
footer {
|
1537
1538
|
margin-left: $sidebar-width-large;
|
1538
1539
|
}
|
1539
1540
|
|
@@ -1546,7 +1547,8 @@ $sidebar-display: "sidebar-display";
|
|
1546
1547
|
}
|
1547
1548
|
|
1548
1549
|
#topbar,
|
1549
|
-
#main
|
1550
|
+
#main,
|
1551
|
+
footer > .container {
|
1550
1552
|
max-width: $main-content-max-width;
|
1551
1553
|
}
|
1552
1554
|
|
@@ -1590,6 +1592,8 @@ $sidebar-display: "sidebar-display";
|
|
1590
1592
|
.site-title {
|
1591
1593
|
@extend %profile-ml;
|
1592
1594
|
|
1595
|
+
margin-top: 0.4rem;
|
1596
|
+
|
1593
1597
|
a {
|
1594
1598
|
font-size: 1.7rem;
|
1595
1599
|
letter-spacing: 1px;
|
@@ -1600,9 +1604,8 @@ $sidebar-display: "sidebar-display";
|
|
1600
1604
|
@extend %profile-ml;
|
1601
1605
|
|
1602
1606
|
word-spacing: 0;
|
1603
|
-
margin-top: 0
|
1607
|
+
margin-top: 0;
|
1604
1608
|
}
|
1605
|
-
|
1606
1609
|
} /* .profile-wrapper (min-width: 1650px) */
|
1607
1610
|
|
1608
1611
|
ul {
|
@@ -1628,7 +1631,6 @@ $sidebar-display: "sidebar-display";
|
|
1628
1631
|
}
|
1629
1632
|
}
|
1630
1633
|
}
|
1631
|
-
|
1632
1634
|
}
|
1633
1635
|
}
|
1634
1636
|
|
@@ -1639,8 +1641,6 @@ $sidebar-display: "sidebar-display";
|
|
1639
1641
|
$icon-block-size: 2rem;
|
1640
1642
|
|
1641
1643
|
&.justify-content-center {
|
1642
|
-
-webkit-box-pack: start !important;
|
1643
|
-
-ms-flex-pack: start !important;
|
1644
1644
|
justify-content: flex-start !important;
|
1645
1645
|
}
|
1646
1646
|
|
@@ -1665,6 +1665,7 @@ $sidebar-display: "sidebar-display";
|
|
1665
1665
|
position: absolute;
|
1666
1666
|
top: 50%;
|
1667
1667
|
left: 50%;
|
1668
|
+
-webkit-transform: translate(-50%, -50%);
|
1668
1669
|
transform: translate(-50%, -50%);
|
1669
1670
|
}
|
1670
1671
|
}
|
@@ -1672,9 +1673,6 @@ $sidebar-display: "sidebar-display";
|
|
1672
1673
|
.icon-border {
|
1673
1674
|
top: 0.9rem;
|
1674
1675
|
}
|
1675
|
-
|
1676
1676
|
} /* .sidebar-bottom */
|
1677
|
-
|
1678
1677
|
} /* #sidebar */
|
1679
|
-
|
1680
1678
|
} /* min-width: 1650px */
|