jekyll-theme-chirpy 6.1.0 → 6.2.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.
- checksums.yaml +4 -4
- data/README.md +24 -23
- data/_data/locales/tr-TR.yml +4 -4
- data/_data/origin/cors.yml +11 -11
- data/_includes/comments/disqus.html +2 -1
- data/_includes/datetime.html +5 -4
- data/_includes/footer.html +30 -28
- data/_includes/head.html +1 -1
- data/_includes/notification.html +24 -0
- data/_includes/post-nav.html +9 -12
- data/_includes/post-paginator.html +77 -75
- data/_includes/post-sharing.html +6 -4
- data/_includes/related-posts.html +31 -39
- data/_includes/search-loader.html +10 -8
- data/_includes/search-results.html +1 -1
- data/_includes/sidebar.html +63 -60
- data/_includes/toc.html +3 -3
- data/_includes/topbar.html +17 -10
- data/_includes/trending-tags.html +3 -3
- data/_includes/update-list.html +4 -4
- data/_layouts/archives.html +18 -19
- data/_layouts/category.html +2 -2
- data/_layouts/default.html +51 -32
- data/_layouts/home.html +12 -11
- data/_layouts/page.html +21 -63
- data/_layouts/post.html +72 -70
- data/_layouts/tag.html +2 -2
- data/_sass/addon/commons.scss +118 -149
- data/_sass/addon/module.scss +12 -3
- data/_sass/addon/syntax.scss +51 -29
- data/_sass/addon/variables.scss +10 -5
- data/_sass/colors/syntax-dark.scss +138 -0
- data/_sass/colors/syntax-light.scss +179 -0
- data/_sass/colors/{dark-typography.scss → typography-dark.scss} +18 -19
- data/_sass/colors/{light-typography.scss → typography-light.scss} +17 -16
- data/_sass/layout/category-tag.scss +0 -5
- data/_sass/layout/home.scss +18 -35
- data/_sass/layout/post.scss +46 -51
- data/_sass/{jekyll-theme-chirpy.scss → main.scss} +2 -8
- data/assets/404.html +1 -3
- data/assets/css/{style.scss → jekyll-theme-chirpy.scss} +1 -1
- data/assets/js/data/swcache.js +32 -33
- data/assets/js/dist/categories.min.js +2 -4
- data/assets/js/dist/commons.min.js +2 -4
- data/assets/js/dist/home.min.js +2 -4
- data/assets/js/dist/misc.min.js +2 -4
- data/assets/js/dist/page.min.js +2 -4
- data/assets/js/dist/post.min.js +2 -4
- data/assets/js/pwa/sw.js +56 -57
- metadata +9 -11
- data/_data/authors.yml +0 -17
- data/_data/contact.yml +0 -28
- data/_data/share.yml +0 -25
- data/_sass/colors/dark-syntax.scss +0 -91
- data/_sass/colors/light-syntax.scss +0 -83
data/_sass/addon/commons.scss
CHANGED
@@ -175,17 +175,13 @@ kbd {
|
|
175
175
|
footer {
|
176
176
|
font-size: 0.8rem;
|
177
177
|
background-color: var(--main-bg);
|
178
|
+
height: $footer-height;
|
179
|
+
border-top: 1px solid var(--main-border-color);
|
178
180
|
|
179
|
-
|
180
|
-
height: $footer-height;
|
181
|
-
line-height: 1.2rem;
|
182
|
-
padding-bottom: 1rem;
|
183
|
-
border-top: 1px solid var(--main-border-color);
|
184
|
-
flex-wrap: wrap;
|
185
|
-
}
|
181
|
+
@extend %text-color;
|
186
182
|
|
187
183
|
a {
|
188
|
-
@extend %text-
|
184
|
+
@extend %text-highlight;
|
189
185
|
|
190
186
|
&:hover {
|
191
187
|
@extend %link-hover;
|
@@ -193,7 +189,7 @@ footer {
|
|
193
189
|
}
|
194
190
|
|
195
191
|
p {
|
196
|
-
|
192
|
+
line-height: 1.75;
|
197
193
|
text-align: center;
|
198
194
|
margin-bottom: 0;
|
199
195
|
}
|
@@ -220,7 +216,7 @@ i {
|
|
220
216
|
position: sticky;
|
221
217
|
}
|
222
218
|
|
223
|
-
>
|
219
|
+
> section {
|
224
220
|
padding-left: 1rem;
|
225
221
|
border-left: 1px solid var(--main-border-color);
|
226
222
|
|
@@ -229,7 +225,7 @@ i {
|
|
229
225
|
}
|
230
226
|
}
|
231
227
|
|
232
|
-
.
|
228
|
+
.content {
|
233
229
|
font-size: 0.9rem;
|
234
230
|
}
|
235
231
|
}
|
@@ -237,13 +233,15 @@ i {
|
|
237
233
|
#panel-wrapper {
|
238
234
|
/* the headings */
|
239
235
|
.panel-heading {
|
236
|
+
font-family: inherit;
|
237
|
+
line-height: inherit;
|
238
|
+
|
240
239
|
@include label(inherit);
|
241
240
|
}
|
242
241
|
|
243
242
|
.post-tag {
|
244
243
|
line-height: 1.05rem;
|
245
244
|
font-size: 0.85rem;
|
246
|
-
border: 1px solid var(--btn-border-color);
|
247
245
|
border-radius: 0.8rem;
|
248
246
|
padding: 0.3rem 0.5rem;
|
249
247
|
margin: 0 0.35rem 0.5rem 0;
|
@@ -372,7 +370,10 @@ i {
|
|
372
370
|
}
|
373
371
|
}
|
374
372
|
|
375
|
-
|
373
|
+
main {
|
374
|
+
line-height: 1.75;
|
375
|
+
min-height: calc(100vh - $topbar-height - $footer-height);
|
376
|
+
|
376
377
|
h1 {
|
377
378
|
margin-top: 2rem;
|
378
379
|
margin-bottom: 1.5rem;
|
@@ -386,6 +387,14 @@ i {
|
|
386
387
|
}
|
387
388
|
}
|
388
389
|
}
|
390
|
+
|
391
|
+
.categories,
|
392
|
+
#tags,
|
393
|
+
#archives {
|
394
|
+
a:not(:hover) {
|
395
|
+
@extend %no-bottom-border;
|
396
|
+
}
|
397
|
+
}
|
389
398
|
}
|
390
399
|
|
391
400
|
.post-meta {
|
@@ -402,7 +411,7 @@ i {
|
|
402
411
|
}
|
403
412
|
}
|
404
413
|
|
405
|
-
.
|
414
|
+
.content {
|
406
415
|
font-size: 1.08rem;
|
407
416
|
margin-top: 2rem;
|
408
417
|
overflow-wrap: break-word;
|
@@ -484,7 +493,7 @@ i {
|
|
484
493
|
::marker {
|
485
494
|
color: var(--text-muted-color);
|
486
495
|
}
|
487
|
-
} /* .
|
496
|
+
} /* .content */
|
488
497
|
|
489
498
|
.tag:hover {
|
490
499
|
@extend %tag-hover;
|
@@ -494,9 +503,10 @@ i {
|
|
494
503
|
display: inline-block;
|
495
504
|
min-width: 2rem;
|
496
505
|
text-align: center;
|
497
|
-
border-radius: 0.
|
506
|
+
border-radius: 0.5rem;
|
507
|
+
border: 1px solid var(--btn-border-color);
|
498
508
|
padding: 0 0.4rem;
|
499
|
-
color:
|
509
|
+
color: var(--text-muted-color);
|
500
510
|
line-height: 1.3rem;
|
501
511
|
|
502
512
|
&:not(:last-child) {
|
@@ -602,7 +612,7 @@ i {
|
|
602
612
|
}
|
603
613
|
|
604
614
|
.btn-box-shadow {
|
605
|
-
box-shadow:
|
615
|
+
box-shadow: var(--card-shadow);
|
606
616
|
}
|
607
617
|
|
608
618
|
/* overwrite bootstrap muted */
|
@@ -694,6 +704,7 @@ $btn-mb: 0.5rem;
|
|
694
704
|
width: $sidebar-width;
|
695
705
|
z-index: 99;
|
696
706
|
background: var(--sidebar-bg);
|
707
|
+
border-right: 1px solid var(--sidebar-border-color);
|
697
708
|
|
698
709
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
699
710
|
&::-webkit-scrollbar {
|
@@ -741,23 +752,25 @@ $btn-mb: 0.5rem;
|
|
741
752
|
}
|
742
753
|
|
743
754
|
.site-title {
|
755
|
+
font-family: inherit;
|
744
756
|
font-weight: 900;
|
745
757
|
font-size: 1.75rem;
|
746
758
|
line-height: 1.2;
|
747
759
|
letter-spacing: 0.25px;
|
748
|
-
color: rgba(134, 133, 133, 0.99);
|
749
760
|
margin-top: 1.25rem;
|
750
761
|
margin-bottom: 0.5rem;
|
751
762
|
|
752
763
|
a {
|
753
764
|
@extend %clickable-transition;
|
754
765
|
@extend %sidebar-link-hover;
|
766
|
+
|
767
|
+
color: var(--site-title-color);
|
755
768
|
}
|
756
769
|
}
|
757
770
|
|
758
771
|
.site-subtitle {
|
759
772
|
font-size: 95%;
|
760
|
-
color: var(--
|
773
|
+
color: var(--site-subtitle-color);
|
761
774
|
margin-top: 0.25rem;
|
762
775
|
word-spacing: 1px;
|
763
776
|
-webkit-user-select: none;
|
@@ -832,6 +845,7 @@ $btn-mb: 0.5rem;
|
|
832
845
|
display: flex;
|
833
846
|
align-items: center;
|
834
847
|
justify-content: center;
|
848
|
+
box-shadow: var(--sidebar-border-color) 0 0 0 1px;
|
835
849
|
|
836
850
|
&:hover {
|
837
851
|
background-color: var(--sidebar-hover-bg);
|
@@ -865,7 +879,7 @@ $btn-mb: 0.5rem;
|
|
865
879
|
@extend %no-cursor;
|
866
880
|
@include ml-mr(calc(($btn-gap - $btn-border-width) / 2));
|
867
881
|
|
868
|
-
background-color: var(--sidebar-
|
882
|
+
background-color: var(--sidebar-btn-color);
|
869
883
|
content: '';
|
870
884
|
width: $btn-border-width;
|
871
885
|
height: $btn-border-width;
|
@@ -895,7 +909,7 @@ $btn-mb: 0.5rem;
|
|
895
909
|
width: 100%;
|
896
910
|
overflow: auto;
|
897
911
|
|
898
|
-
.
|
912
|
+
.content {
|
899
913
|
margin-top: 2rem;
|
900
914
|
}
|
901
915
|
}
|
@@ -908,14 +922,13 @@ $btn-mb: 0.5rem;
|
|
908
922
|
}
|
909
923
|
|
910
924
|
#topbar {
|
911
|
-
|
912
|
-
i {
|
925
|
+
button i {
|
913
926
|
color: #999999;
|
914
927
|
}
|
915
928
|
|
916
929
|
#breadcrumb {
|
917
930
|
font-size: 1rem;
|
918
|
-
color:
|
931
|
+
color: var(--text-muted-color);
|
919
932
|
padding-left: 0.5rem;
|
920
933
|
|
921
934
|
a:hover {
|
@@ -933,16 +946,51 @@ $btn-mb: 0.5rem;
|
|
933
946
|
}
|
934
947
|
} /* #topbar */
|
935
948
|
|
936
|
-
|
937
|
-
|
938
|
-
|
949
|
+
::-webkit-input-placeholder {
|
950
|
+
@include placeholder;
|
951
|
+
}
|
952
|
+
|
953
|
+
::-moz-placeholder {
|
954
|
+
@include placeholder;
|
955
|
+
}
|
956
|
+
|
957
|
+
:-ms-input-placeholder {
|
958
|
+
@include placeholder;
|
939
959
|
}
|
940
960
|
|
941
|
-
|
961
|
+
::-ms-input-placeholder {
|
962
|
+
@include placeholder;
|
963
|
+
}
|
964
|
+
|
965
|
+
::placeholder {
|
966
|
+
@include placeholder;
|
967
|
+
}
|
968
|
+
|
969
|
+
:focus::-webkit-input-placeholder {
|
970
|
+
@include placeholder-focus;
|
971
|
+
}
|
972
|
+
|
973
|
+
:focus::-moz-placeholder {
|
974
|
+
@include placeholder-focus;
|
975
|
+
}
|
976
|
+
|
977
|
+
:focus:-ms-input-placeholder {
|
978
|
+
@include placeholder-focus;
|
979
|
+
}
|
980
|
+
|
981
|
+
:focus::-ms-input-placeholder {
|
982
|
+
@include placeholder-focus;
|
983
|
+
}
|
984
|
+
|
985
|
+
:focus::placeholder {
|
986
|
+
@include placeholder-focus;
|
987
|
+
}
|
988
|
+
|
989
|
+
search {
|
942
990
|
display: flex;
|
943
991
|
width: 100%;
|
944
992
|
border-radius: 1rem;
|
945
|
-
border: 1px solid var(--search-
|
993
|
+
border: 1px solid var(--search-border-color);
|
946
994
|
background: var(--main-bg);
|
947
995
|
padding: 0 0.5rem;
|
948
996
|
|
@@ -953,10 +1001,14 @@ $btn-mb: 0.5rem;
|
|
953
1001
|
}
|
954
1002
|
}
|
955
1003
|
|
1004
|
+
#sidebar-trigger,
|
1005
|
+
#search-trigger {
|
1006
|
+
display: none;
|
1007
|
+
}
|
1008
|
+
|
956
1009
|
/* 'Cancel' link */
|
957
1010
|
#search-cancel {
|
958
1011
|
color: var(--link-color);
|
959
|
-
margin-left: 0.75rem;
|
960
1012
|
display: none;
|
961
1013
|
white-space: nowrap;
|
962
1014
|
|
@@ -973,24 +1025,6 @@ $btn-mb: 0.5rem;
|
|
973
1025
|
|
974
1026
|
&:focus {
|
975
1027
|
box-shadow: none;
|
976
|
-
|
977
|
-
&.form-control {
|
978
|
-
&::-moz-placeholder {
|
979
|
-
@include input-placeholder;
|
980
|
-
}
|
981
|
-
&::-webkit-input-placeholder {
|
982
|
-
@include input-placeholder;
|
983
|
-
}
|
984
|
-
&:-ms-input-placeholder {
|
985
|
-
@include input-placeholder;
|
986
|
-
}
|
987
|
-
&::-ms-input-placeholder {
|
988
|
-
@include input-placeholder;
|
989
|
-
}
|
990
|
-
&::placeholder {
|
991
|
-
@include input-placeholder;
|
992
|
-
}
|
993
|
-
}
|
994
1028
|
}
|
995
1029
|
}
|
996
1030
|
|
@@ -1036,7 +1070,7 @@ $btn-mb: 0.5rem;
|
|
1036
1070
|
line-height: 2.5rem;
|
1037
1071
|
}
|
1038
1072
|
|
1039
|
-
>
|
1073
|
+
> article {
|
1040
1074
|
width: 100%;
|
1041
1075
|
|
1042
1076
|
&:not(:last-child) {
|
@@ -1074,18 +1108,6 @@ $btn-mb: 0.5rem;
|
|
1074
1108
|
white-space: nowrap;
|
1075
1109
|
}
|
1076
1110
|
|
1077
|
-
#core-wrapper {
|
1078
|
-
line-height: 1.75;
|
1079
|
-
|
1080
|
-
.categories,
|
1081
|
-
#tags,
|
1082
|
-
#archives {
|
1083
|
-
a:not(:hover) {
|
1084
|
-
@extend %no-bottom-border;
|
1085
|
-
}
|
1086
|
-
}
|
1087
|
-
}
|
1088
|
-
|
1089
1111
|
#mask {
|
1090
1112
|
display: none;
|
1091
1113
|
position: fixed;
|
@@ -1102,15 +1124,13 @@ $btn-mb: 0.5rem;
|
|
1102
1124
|
/* --- main wrapper --- */
|
1103
1125
|
|
1104
1126
|
#main-wrapper {
|
1105
|
-
background-color: var(--main-bg);
|
1106
1127
|
position: relative;
|
1107
|
-
min-height: calc(100vh - $footer-height-mobile);
|
1108
1128
|
|
1109
1129
|
@include pl-pr(0);
|
1110
1130
|
}
|
1111
1131
|
|
1112
1132
|
#topbar-wrapper.row,
|
1113
|
-
#main > .row,
|
1133
|
+
#main-wrapper > .container > .row,
|
1114
1134
|
#search-result-wrapper > .row {
|
1115
1135
|
@include ml-mr(0);
|
1116
1136
|
}
|
@@ -1118,19 +1138,17 @@ $btn-mb: 0.5rem;
|
|
1118
1138
|
/* --- button back-to-top --- */
|
1119
1139
|
|
1120
1140
|
#back-to-top {
|
1121
|
-
$size: 3rem;
|
1122
|
-
|
1123
1141
|
display: none;
|
1124
1142
|
z-index: 1;
|
1125
1143
|
cursor: pointer;
|
1126
1144
|
position: fixed;
|
1127
1145
|
right: 1rem;
|
1128
|
-
bottom:
|
1146
|
+
bottom: calc($footer-height-large - $back2top-size / 2);
|
1129
1147
|
background: var(--button-bg);
|
1130
1148
|
color: var(--btn-backtotop-color);
|
1131
1149
|
padding: 0;
|
1132
|
-
width: $size;
|
1133
|
-
height: $size;
|
1150
|
+
width: $back2top-size;
|
1151
|
+
height: $back2top-size;
|
1134
1152
|
border-radius: 50%;
|
1135
1153
|
border: 1px solid var(--btn-backtotop-border-color);
|
1136
1154
|
transition: transform 0.2s ease-out;
|
@@ -1142,7 +1160,7 @@ $btn-mb: 0.5rem;
|
|
1142
1160
|
}
|
1143
1161
|
|
1144
1162
|
i {
|
1145
|
-
line-height: $size;
|
1163
|
+
line-height: $back2top-size;
|
1146
1164
|
position: relative;
|
1147
1165
|
bottom: 2px;
|
1148
1166
|
}
|
@@ -1208,14 +1226,10 @@ $btn-mb: 0.5rem;
|
|
1208
1226
|
*/
|
1209
1227
|
|
1210
1228
|
@media all and (max-width: 576px) {
|
1211
|
-
|
1212
|
-
|
1213
|
-
}
|
1214
|
-
|
1215
|
-
#core-wrapper {
|
1216
|
-
.post-content {
|
1229
|
+
main {
|
1230
|
+
.content {
|
1217
1231
|
> blockquote[class^='prompt-'] {
|
1218
|
-
@include ml-mr(-
|
1232
|
+
@include ml-mr(-1rem);
|
1219
1233
|
|
1220
1234
|
border-radius: 0;
|
1221
1235
|
max-width: none;
|
@@ -1238,7 +1252,7 @@ $btn-mb: 0.5rem;
|
|
1238
1252
|
@extend %full-width;
|
1239
1253
|
}
|
1240
1254
|
|
1241
|
-
#main {
|
1255
|
+
#main-wrapper > .container {
|
1242
1256
|
@extend %full-width;
|
1243
1257
|
@include pl-pr(0);
|
1244
1258
|
}
|
@@ -1256,21 +1270,15 @@ $btn-mb: 0.5rem;
|
|
1256
1270
|
}
|
1257
1271
|
}
|
1258
1272
|
|
1259
|
-
|
1260
|
-
|
1261
|
-
overflow-x: hidden;
|
1273
|
+
main {
|
1274
|
+
min-height: calc(100vh - $topbar-height - $footer-height-large);
|
1262
1275
|
}
|
1263
1276
|
|
1264
1277
|
footer {
|
1265
1278
|
@include slide;
|
1266
1279
|
|
1267
|
-
height: $footer-height-
|
1268
|
-
|
1269
|
-
div.d-flex {
|
1270
|
-
padding: 1.5rem 0;
|
1271
|
-
line-height: 1.65;
|
1272
|
-
flex-wrap: wrap;
|
1273
|
-
}
|
1280
|
+
height: $footer-height-large;
|
1281
|
+
padding: 1.5rem 0;
|
1274
1282
|
}
|
1275
1283
|
|
1276
1284
|
[#{$sidebar-display}] {
|
@@ -1278,8 +1286,7 @@ $btn-mb: 0.5rem;
|
|
1278
1286
|
transform: translateX(0);
|
1279
1287
|
}
|
1280
1288
|
|
1281
|
-
#main-wrapper
|
1282
|
-
footer {
|
1289
|
+
#main-wrapper {
|
1283
1290
|
transform: translateX(#{$sidebar-width});
|
1284
1291
|
}
|
1285
1292
|
|
@@ -1300,8 +1307,7 @@ $btn-mb: 0.5rem;
|
|
1300
1307
|
}
|
1301
1308
|
|
1302
1309
|
#topbar,
|
1303
|
-
#main
|
1304
|
-
footer > .container {
|
1310
|
+
#main-wrapper > .container {
|
1305
1311
|
max-width: 100%;
|
1306
1312
|
}
|
1307
1313
|
|
@@ -1310,7 +1316,7 @@ $btn-mb: 0.5rem;
|
|
1310
1316
|
}
|
1311
1317
|
|
1312
1318
|
#breadcrumb,
|
1313
|
-
|
1319
|
+
search {
|
1314
1320
|
display: none;
|
1315
1321
|
}
|
1316
1322
|
|
@@ -1320,7 +1326,7 @@ $btn-mb: 0.5rem;
|
|
1320
1326
|
left: 0;
|
1321
1327
|
}
|
1322
1328
|
|
1323
|
-
|
1329
|
+
main,
|
1324
1330
|
#panel-wrapper {
|
1325
1331
|
margin-top: 0;
|
1326
1332
|
}
|
@@ -1331,7 +1337,7 @@ $btn-mb: 0.5rem;
|
|
1331
1337
|
display: block;
|
1332
1338
|
}
|
1333
1339
|
|
1334
|
-
#search-result-wrapper .
|
1340
|
+
#search-result-wrapper .content {
|
1335
1341
|
letter-spacing: 0;
|
1336
1342
|
}
|
1337
1343
|
|
@@ -1342,19 +1348,12 @@ $btn-mb: 0.5rem;
|
|
1342
1348
|
h1.dynamic-title {
|
1343
1349
|
display: none;
|
1344
1350
|
|
1345
|
-
~ .
|
1351
|
+
~ .content {
|
1346
1352
|
margin-top: 2.5rem;
|
1347
1353
|
}
|
1348
1354
|
}
|
1349
1355
|
} /* max-width: 849px */
|
1350
1356
|
|
1351
|
-
/* Phone & Pad */
|
1352
|
-
@media all and (min-width: 577px) and (max-width: 1199px) {
|
1353
|
-
footer .d-flex > div {
|
1354
|
-
width: 312px;
|
1355
|
-
}
|
1356
|
-
}
|
1357
|
-
|
1358
1357
|
/* Sidebar is visible */
|
1359
1358
|
@media all and (min-width: 850px) {
|
1360
1359
|
/* Solved jumping scrollbar */
|
@@ -1362,26 +1361,8 @@ $btn-mb: 0.5rem;
|
|
1362
1361
|
overflow-y: scroll;
|
1363
1362
|
}
|
1364
1363
|
|
1365
|
-
#main-wrapper,
|
1366
|
-
footer {
|
1367
|
-
margin-left: $sidebar-width;
|
1368
|
-
}
|
1369
|
-
|
1370
1364
|
#main-wrapper {
|
1371
|
-
|
1372
|
-
}
|
1373
|
-
|
1374
|
-
footer {
|
1375
|
-
p {
|
1376
|
-
width: auto;
|
1377
|
-
&:last-child {
|
1378
|
-
&::before {
|
1379
|
-
content: '-';
|
1380
|
-
margin: 0 0.75rem;
|
1381
|
-
opacity: 0.8;
|
1382
|
-
}
|
1383
|
-
}
|
1384
|
-
}
|
1365
|
+
margin-left: $sidebar-width;
|
1385
1366
|
}
|
1386
1367
|
|
1387
1368
|
#sidebar {
|
@@ -1394,7 +1375,7 @@ $btn-mb: 0.5rem;
|
|
1394
1375
|
display: none;
|
1395
1376
|
}
|
1396
1377
|
|
1397
|
-
|
1378
|
+
search {
|
1398
1379
|
max-width: $search-max-width;
|
1399
1380
|
}
|
1400
1381
|
|
@@ -1403,20 +1384,20 @@ $btn-mb: 0.5rem;
|
|
1403
1384
|
justify-content: start !important;
|
1404
1385
|
}
|
1405
1386
|
|
1406
|
-
|
1387
|
+
main {
|
1407
1388
|
h1 {
|
1408
1389
|
margin-top: 3rem;
|
1409
1390
|
}
|
1410
1391
|
}
|
1411
1392
|
|
1412
|
-
div.
|
1393
|
+
div.content .table-wrapper > table {
|
1413
1394
|
min-width: 70%;
|
1414
1395
|
}
|
1415
1396
|
|
1416
1397
|
/* button 'back-to-Top' position */
|
1417
1398
|
#back-to-top {
|
1418
|
-
bottom: 5.5rem;
|
1419
1399
|
right: 5%;
|
1400
|
+
bottom: calc($footer-height - $back2top-size / 2);
|
1420
1401
|
}
|
1421
1402
|
|
1422
1403
|
#topbar-title {
|
@@ -1426,7 +1407,7 @@ $btn-mb: 0.5rem;
|
|
1426
1407
|
|
1427
1408
|
/* Pad horizontal */
|
1428
1409
|
@media all and (min-width: 992px) and (max-width: 1199px) {
|
1429
|
-
#main .col-lg-11 {
|
1410
|
+
#main-wrapper > .container .col-lg-11 {
|
1430
1411
|
flex: 0 0 96%;
|
1431
1412
|
max-width: 96%;
|
1432
1413
|
}
|
@@ -1453,7 +1434,7 @@ $btn-mb: 0.5rem;
|
|
1453
1434
|
display: none;
|
1454
1435
|
}
|
1455
1436
|
|
1456
|
-
#main > div.row {
|
1437
|
+
#main-wrapper > .container > div.row {
|
1457
1438
|
justify-content: center !important;
|
1458
1439
|
}
|
1459
1440
|
}
|
@@ -1461,11 +1442,7 @@ $btn-mb: 0.5rem;
|
|
1461
1442
|
/* --- desktop mode, both sidebar and panel are visible --- */
|
1462
1443
|
|
1463
1444
|
@media all and (min-width: 1200px) {
|
1464
|
-
|
1465
|
-
bottom: 6.5rem;
|
1466
|
-
}
|
1467
|
-
|
1468
|
-
#search-wrapper {
|
1445
|
+
search {
|
1469
1446
|
margin-right: 4rem;
|
1470
1447
|
}
|
1471
1448
|
|
@@ -1473,8 +1450,8 @@ $btn-mb: 0.5rem;
|
|
1473
1450
|
transition: all 0.3s ease-in-out;
|
1474
1451
|
}
|
1475
1452
|
|
1476
|
-
#search-results >
|
1477
|
-
width:
|
1453
|
+
#search-results > article {
|
1454
|
+
width: 45%;
|
1478
1455
|
|
1479
1456
|
&:nth-child(odd) {
|
1480
1457
|
margin-right: 1.5rem;
|
@@ -1490,15 +1467,9 @@ $btn-mb: 0.5rem;
|
|
1490
1467
|
}
|
1491
1468
|
}
|
1492
1469
|
|
1493
|
-
.
|
1470
|
+
.content {
|
1494
1471
|
font-size: 1.03rem;
|
1495
1472
|
}
|
1496
|
-
|
1497
|
-
footer {
|
1498
|
-
div.d-felx {
|
1499
|
-
width: 85%;
|
1500
|
-
}
|
1501
|
-
}
|
1502
1473
|
}
|
1503
1474
|
|
1504
1475
|
@media all and (min-width: 1400px) {
|
@@ -1510,8 +1481,7 @@ $btn-mb: 0.5rem;
|
|
1510
1481
|
@media all and (min-width: 1650px) {
|
1511
1482
|
$icon-gap: 1rem;
|
1512
1483
|
|
1513
|
-
#main-wrapper
|
1514
|
-
footer {
|
1484
|
+
#main-wrapper {
|
1515
1485
|
margin-left: $sidebar-width-large;
|
1516
1486
|
}
|
1517
1487
|
|
@@ -1519,20 +1489,19 @@ $btn-mb: 0.5rem;
|
|
1519
1489
|
left: $sidebar-width-large;
|
1520
1490
|
}
|
1521
1491
|
|
1522
|
-
|
1492
|
+
search {
|
1523
1493
|
margin-right: calc(
|
1524
1494
|
#{$main-content-max-width} * 0.25 - #{$search-max-width} - 0.75rem
|
1525
1495
|
);
|
1526
1496
|
}
|
1527
1497
|
|
1528
|
-
#main
|
1529
|
-
footer > .container {
|
1498
|
+
#main-wrapper > .container {
|
1530
1499
|
max-width: $main-content-max-width;
|
1531
1500
|
padding-left: 1.75rem !important;
|
1532
1501
|
padding-right: 1.75rem !important;
|
1533
1502
|
}
|
1534
1503
|
|
1535
|
-
|
1504
|
+
main.col-12,
|
1536
1505
|
#tail-wrapper {
|
1537
1506
|
padding-right: 4.5rem !important;
|
1538
1507
|
}
|
data/_sass/addon/module.scss
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
}
|
12
12
|
|
13
13
|
%section {
|
14
|
-
|
14
|
+
main & {
|
15
15
|
margin-top: 2.5rem;
|
16
16
|
margin-bottom: 1.25rem;
|
17
17
|
|
@@ -107,7 +107,7 @@
|
|
107
107
|
}
|
108
108
|
|
109
109
|
%sidebar-links {
|
110
|
-
color:
|
110
|
+
color: var(--sidebar-muted-color);
|
111
111
|
-webkit-user-select: none;
|
112
112
|
-moz-user-select: none;
|
113
113
|
-ms-user-select: none;
|
@@ -122,6 +122,11 @@
|
|
122
122
|
-webkit-box-orient: vertical;
|
123
123
|
}
|
124
124
|
|
125
|
+
%text-highlight {
|
126
|
+
color: inherit;
|
127
|
+
font-weight: 600;
|
128
|
+
}
|
129
|
+
|
125
130
|
/* ---------- scss mixin --------- */
|
126
131
|
|
127
132
|
@mixin mt-mb($value) {
|
@@ -144,7 +149,11 @@
|
|
144
149
|
padding-right: $val;
|
145
150
|
}
|
146
151
|
|
147
|
-
@mixin
|
152
|
+
@mixin placeholder {
|
153
|
+
color: var(--text-muted-color) !important;
|
154
|
+
}
|
155
|
+
|
156
|
+
@mixin placeholder-focus {
|
148
157
|
opacity: 0.6;
|
149
158
|
}
|
150
159
|
|