jekyll-theme-chirpy 4.2.1 → 4.3.0
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 +86 -89
- data/_config.yml +4 -4
- data/_data/contact.yml +1 -1
- data/_includes/disqus.html +1 -1
- data/_includes/language-alias.html +72 -0
- data/_includes/refactor-content.html +12 -5
- data/_includes/sidebar.html +1 -1
- data/_sass/addon/commons.scss +89 -65
- data/_sass/addon/module.scss +10 -10
- data/_sass/addon/syntax.scss +47 -23
- data/_sass/addon/variables.scss +2 -2
- data/_sass/colors/dark-syntax.scss +2 -1
- data/_sass/colors/dark-typography.scss +7 -5
- data/_sass/colors/light-syntax.scss +2 -1
- data/_sass/colors/light-typography.scss +14 -10
- data/_sass/jekyll-theme-chirpy.scss +1 -1
- data/_sass/layout/categories.scss +14 -13
- data/_sass/layout/home.scss +1 -3
- data/_sass/layout/post.scss +17 -4
- data/_tabs/about.md +1 -1
- data/_tabs/tags.md +1 -1
- data/assets/js/dist/categories.min.js +1 -1
- data/assets/js/dist/commons.min.js +1 -1
- data/assets/js/dist/home.min.js +1 -1
- 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 +1 -1
- metadata +4 -6
data/_sass/addon/commons.scss
CHANGED
@@ -7,16 +7,9 @@
|
|
7
7
|
@if $dark-mode {
|
8
8
|
@include dark-scheme;
|
9
9
|
|
10
|
-
.mode-toggle {
|
11
|
-
transform: rotateY(180deg);
|
12
|
-
}
|
13
|
-
|
14
10
|
} @else {
|
15
11
|
@include light-scheme;
|
16
12
|
|
17
|
-
.mode-toggle {
|
18
|
-
transform: none;
|
19
|
-
}
|
20
13
|
}
|
21
14
|
|
22
15
|
}
|
@@ -73,6 +66,25 @@ $scrollbar-size: 7px;
|
|
73
66
|
border-radius: calc(#{$scrollbar-size} / 2);
|
74
67
|
}
|
75
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
|
+
|
76
88
|
/* --- Typography --- */
|
77
89
|
|
78
90
|
h1 {
|
@@ -645,31 +657,31 @@ $sidebar-display: "sidebar-display";
|
|
645
657
|
scrollbar-width: none; /* Firefox */
|
646
658
|
|
647
659
|
a {
|
648
|
-
@
|
660
|
+
@extend %sidebar-links;
|
649
661
|
|
650
662
|
&:hover {
|
651
663
|
@include no-text-decoration;
|
652
664
|
|
653
|
-
color:
|
665
|
+
color: var(--sidebar-active-color) !important;
|
654
666
|
}
|
655
667
|
}
|
656
668
|
|
657
669
|
#avatar {
|
658
|
-
&:hover > a {
|
659
|
-
border-color: #fff;
|
660
|
-
}
|
661
|
-
|
662
670
|
> a {
|
663
671
|
display: block;
|
664
672
|
width: 6rem;
|
665
673
|
height: 6rem;
|
666
674
|
border-radius: 50%;
|
667
|
-
border: 2px solid
|
675
|
+
border: 2px solid rgba(222, 222, 222, 0.7);
|
668
676
|
overflow: hidden;
|
669
677
|
transform: translateZ(0); // fixed the zoom in Safari
|
670
678
|
-webkit-transition: border-color 0.35s ease-in-out;
|
671
679
|
-moz-transition: border-color 0.35s ease-in-out;
|
672
680
|
transition: border-color 0.35s ease-in-out;
|
681
|
+
|
682
|
+
&:hover {
|
683
|
+
border-color: white;
|
684
|
+
}
|
673
685
|
}
|
674
686
|
|
675
687
|
img {
|
@@ -690,15 +702,18 @@ $sidebar-display: "sidebar-display";
|
|
690
702
|
|
691
703
|
.site-title {
|
692
704
|
a {
|
705
|
+
@extend %clickable-transition;
|
706
|
+
|
693
707
|
font-weight: 900;
|
694
708
|
font-size: 1.5rem;
|
695
709
|
letter-spacing: 0.5px;
|
710
|
+
color: rgba(134, 133, 133, 99%);
|
696
711
|
}
|
697
712
|
}
|
698
713
|
|
699
714
|
.site-subtitle {
|
700
715
|
font-size: 95%;
|
701
|
-
color:
|
716
|
+
color: var(--sidebar-muted-color);
|
702
717
|
line-height: 1.2rem;
|
703
718
|
word-spacing: 1px;
|
704
719
|
margin: 0.5rem 1.5rem 0.5rem 1.5rem;
|
@@ -719,16 +734,16 @@ $sidebar-display: "sidebar-display";
|
|
719
734
|
text-align: center;
|
720
735
|
display: table;
|
721
736
|
height: $tab-height;
|
722
|
-
|
723
|
-
.nav-link {
|
724
|
-
color: #f8f9facf;
|
725
|
-
}
|
726
|
-
}
|
737
|
+
|
727
738
|
&.active {
|
728
739
|
.nav-link {
|
729
|
-
color:
|
740
|
+
color: var(--sidebar-active-color);
|
730
741
|
}
|
731
742
|
}
|
743
|
+
|
744
|
+
&:not(.active) > a {
|
745
|
+
@extend %clickable-transition;
|
746
|
+
}
|
732
747
|
}
|
733
748
|
|
734
749
|
ul {
|
@@ -803,36 +818,35 @@ $sidebar-display: "sidebar-display";
|
|
803
818
|
|
804
819
|
a {
|
805
820
|
@extend %icon;
|
821
|
+
@extend %clickable-transition;
|
822
|
+
}
|
823
|
+
|
824
|
+
i {
|
825
|
+
line-height: 1.75rem; // default line-height in body
|
826
|
+
vertical-align: middle;
|
806
827
|
}
|
807
828
|
|
808
829
|
#mode-toggle-wrapper {
|
809
830
|
@extend %icon;
|
810
831
|
|
811
832
|
i {
|
812
|
-
@
|
813
|
-
|
814
|
-
|
815
|
-
font-size: 1.05rem;
|
816
|
-
text-align: center;
|
817
|
-
position: relative;
|
818
|
-
bottom: 1px;
|
833
|
+
@extend %sidebar-links;
|
834
|
+
@extend %cursor-pointer;
|
835
|
+
@extend %clickable-transition;
|
819
836
|
}
|
820
837
|
|
821
838
|
}
|
822
839
|
|
823
840
|
.icon-border {
|
824
|
-
background-color:
|
841
|
+
background-color: var(--sidebar-muted-color);
|
825
842
|
content: "";
|
826
843
|
width: 3px;
|
827
844
|
height: 3px;
|
828
845
|
border-radius: 50%;
|
829
|
-
position: relative;
|
830
|
-
top: 12px;
|
831
846
|
}
|
832
847
|
|
833
|
-
|
834
|
-
|
835
|
-
color: #fff;
|
848
|
+
#mode-toggle-wrapper:hover > i {
|
849
|
+
color: var(--sidebar-active-color);
|
836
850
|
}
|
837
851
|
|
838
852
|
} // .sidebar-bottom
|
@@ -873,7 +887,6 @@ $sidebar-display: "sidebar-display";
|
|
873
887
|
transition: top 0.2s ease-in-out;
|
874
888
|
z-index: 50;
|
875
889
|
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
|
876
|
-
box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.05);
|
877
890
|
background-color: var(--topbar-wrapper-bg);
|
878
891
|
}
|
879
892
|
|
@@ -911,15 +924,19 @@ $sidebar-display: "sidebar-display";
|
|
911
924
|
display: flex;
|
912
925
|
width: 85%;
|
913
926
|
border-radius: 1rem;
|
914
|
-
border: 1px solid var(--search-wrapper-
|
927
|
+
border: 1px solid var(--search-wrapper-border-color);
|
915
928
|
background: var(--search-wrapper-bg);
|
916
929
|
padding: 0 0.5rem;
|
930
|
+
|
917
931
|
i {
|
918
932
|
z-index: 2;
|
919
933
|
font-size: 0.9rem;
|
920
934
|
color: var(--search-icon-color);
|
921
935
|
}
|
936
|
+
|
922
937
|
.fa-times-circle { /* button 'clean up' */
|
938
|
+
@extend %cursor-pointer;
|
939
|
+
|
923
940
|
visibility: hidden;
|
924
941
|
}
|
925
942
|
}
|
@@ -928,6 +945,8 @@ $sidebar-display: "sidebar-display";
|
|
928
945
|
color: var(--link-color);
|
929
946
|
margin-left: 1rem;
|
930
947
|
display: none;
|
948
|
+
|
949
|
+
@extend %cursor-pointer;
|
931
950
|
}
|
932
951
|
|
933
952
|
#search-input {
|
@@ -1082,18 +1101,27 @@ $sidebar-display: "sidebar-display";
|
|
1082
1101
|
/* --- button back-to-top --- */
|
1083
1102
|
|
1084
1103
|
#back-to-top {
|
1104
|
+
$size: 2.7em;
|
1105
|
+
|
1085
1106
|
display: none;
|
1086
1107
|
z-index: 1;
|
1087
1108
|
cursor: pointer;
|
1088
1109
|
position: fixed;
|
1089
1110
|
background: var(--button-bg);
|
1090
1111
|
color: var(--btn-backtotop-color);
|
1091
|
-
|
1092
|
-
width:
|
1112
|
+
padding: 0;
|
1113
|
+
width: $size;
|
1114
|
+
height: $size;
|
1093
1115
|
border-radius: 50%;
|
1094
1116
|
border: 1px solid var(--btn-backtotop-border-color);
|
1095
|
-
transition: 0.2s ease-out;
|
1096
|
-
-webkit-transition: 0.2s ease-out;
|
1117
|
+
transition: transform 0.2s ease-out;
|
1118
|
+
-webkit-transition: transform 0.2s ease-out;
|
1119
|
+
|
1120
|
+
i {
|
1121
|
+
line-height: $size;
|
1122
|
+
position: relative;
|
1123
|
+
bottom: 2px;
|
1124
|
+
}
|
1097
1125
|
}
|
1098
1126
|
|
1099
1127
|
#back-to-top:hover {
|
@@ -1591,19 +1619,10 @@ $sidebar-display: "sidebar-display";
|
|
1591
1619
|
|
1592
1620
|
.nav-link {
|
1593
1621
|
> span {
|
1594
|
-
letter-spacing:
|
1622
|
+
letter-spacing: 2px;
|
1595
1623
|
}
|
1596
1624
|
|
1597
1625
|
> i {
|
1598
|
-
@include icon-round(1.65rem);
|
1599
|
-
|
1600
|
-
line-height: 1.5rem;
|
1601
|
-
font-size: 0.6rem;
|
1602
|
-
padding-top: 1px;
|
1603
|
-
padding-left: 1px;
|
1604
|
-
position: relative;
|
1605
|
-
bottom: 1px;
|
1606
|
-
|
1607
1626
|
&.unloaded {
|
1608
1627
|
display: inline-block !important;
|
1609
1628
|
}
|
@@ -1617,35 +1636,40 @@ $sidebar-display: "sidebar-display";
|
|
1617
1636
|
padding-left: 3.5rem;
|
1618
1637
|
width: 100%;
|
1619
1638
|
|
1639
|
+
$icon-block-size: 2rem;
|
1640
|
+
|
1620
1641
|
&.justify-content-center {
|
1621
1642
|
-webkit-box-pack: start !important;
|
1622
1643
|
-ms-flex-pack: start !important;
|
1623
1644
|
justify-content: flex-start !important;
|
1624
1645
|
}
|
1625
1646
|
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
}
|
1630
|
-
|
1631
|
-
i {
|
1632
|
-
@include icon-round(2rem);
|
1647
|
+
> span,
|
1648
|
+
> a {
|
1649
|
+
@include ml-mr(0.15rem);
|
1633
1650
|
|
1634
|
-
|
1635
|
-
margin-
|
1636
|
-
bottom: 0;
|
1651
|
+
height: $icon-block-size;
|
1652
|
+
margin-bottom: 0.5rem; // wrap line
|
1637
1653
|
}
|
1638
1654
|
|
1639
|
-
|
1640
|
-
|
1655
|
+
i {
|
1656
|
+
background-color: var(--sidebar-btn-bg);
|
1657
|
+
font-size: 1rem;
|
1658
|
+
width: $icon-block-size;
|
1659
|
+
height: $icon-block-size;
|
1660
|
+
border-radius: 50%;
|
1661
|
+
position: relative;
|
1641
1662
|
|
1642
|
-
|
1643
|
-
|
1663
|
+
&::before {
|
1664
|
+
position: absolute;
|
1665
|
+
top: 50%;
|
1666
|
+
left: 50%;
|
1667
|
+
transform: translate(-50%, -50%);
|
1644
1668
|
}
|
1645
1669
|
}
|
1646
1670
|
|
1647
1671
|
.icon-border {
|
1648
|
-
top:
|
1672
|
+
top: 0.9rem;
|
1649
1673
|
}
|
1650
1674
|
|
1651
1675
|
} // .sidebar-bottom
|
data/_sass/addon/module.scss
CHANGED
@@ -35,6 +35,10 @@
|
|
35
35
|
border-bottom: 1px solid var(--link-underline-color);
|
36
36
|
}
|
37
37
|
|
38
|
+
%clickable-transition {
|
39
|
+
transition: color 0.35s ease-in-out;
|
40
|
+
}
|
41
|
+
|
38
42
|
%no-bottom-border {
|
39
43
|
border-bottom: none;
|
40
44
|
}
|
@@ -51,25 +55,21 @@
|
|
51
55
|
margin-top: -2.5rem;
|
52
56
|
}
|
53
57
|
|
58
|
+
%cursor-pointer {
|
59
|
+
cursor: pointer;
|
60
|
+
}
|
61
|
+
|
54
62
|
/* ---------- scss mixin --------- */
|
55
63
|
|
56
64
|
@mixin no-text-decoration {
|
57
65
|
text-decoration: none;
|
58
66
|
}
|
59
67
|
|
60
|
-
|
61
|
-
color:
|
62
|
-
transition: color 0.35s ease-in-out;
|
68
|
+
%sidebar-links {
|
69
|
+
color: rgba(117, 117, 117, 0.9);
|
63
70
|
user-select: none;
|
64
71
|
}
|
65
72
|
|
66
|
-
@mixin icon-round($diameter) {
|
67
|
-
border: 1px solid;
|
68
|
-
border-radius: 50%;
|
69
|
-
width: $diameter;
|
70
|
-
height: $diameter;
|
71
|
-
}
|
72
|
-
|
73
73
|
@mixin ml-mr($value) {
|
74
74
|
margin-left: $value;
|
75
75
|
margin-right: $value;
|
data/_sass/addon/syntax.scss
CHANGED
@@ -172,22 +172,37 @@ div {
|
|
172
172
|
align-items: center;
|
173
173
|
line-height: 1.85rem;
|
174
174
|
|
175
|
-
//
|
176
|
-
|
177
|
-
|
178
|
-
color: var(--lang-badge-color);
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
175
|
+
// icons
|
176
|
+
i {
|
177
|
+
font-size: 1rem;
|
178
|
+
color: var(--lang-badge-muted-color);
|
179
|
+
|
180
|
+
&.small {
|
181
|
+
font-size: 70%;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
// the label block
|
186
|
+
span {
|
187
|
+
padding-left: 0.35rem;
|
188
|
+
|
189
|
+
&::after {
|
190
|
+
content: attr(text-data);
|
188
191
|
font-size: 0.85rem;
|
189
|
-
|
192
|
+
font-weight: 600;
|
193
|
+
color: var(--lang-badge-color);
|
194
|
+
}
|
195
|
+
|
196
|
+
i {
|
197
|
+
margin: 0 0.5rem;
|
198
|
+
}
|
199
|
+
|
200
|
+
@at-root [file] #{&} > i {
|
201
|
+
position: relative;
|
202
|
+
top: 1px; // center the file icon
|
203
|
+
margin-left: 0.25rem;
|
190
204
|
}
|
205
|
+
|
191
206
|
}
|
192
207
|
|
193
208
|
// clipboard
|
@@ -197,26 +212,31 @@ div {
|
|
197
212
|
padding: 0;
|
198
213
|
width: 1.95rem;
|
199
214
|
background-color: inherit;
|
200
|
-
|
215
|
+
|
216
|
+
@extend %cursor-pointer;
|
201
217
|
|
202
218
|
&[timeout] {
|
203
|
-
|
204
|
-
|
219
|
+
&:hover {
|
220
|
+
border-color: var(--clipboard-checked-color);
|
221
|
+
}
|
222
|
+
|
223
|
+
i {
|
224
|
+
color: var(--clipboard-checked-color);
|
225
|
+
}
|
205
226
|
}
|
206
227
|
|
207
228
|
&:not([timeout]):hover {
|
208
|
-
background-color:
|
209
|
-
|
229
|
+
background-color: rgba(128, 128, 128, 0.37);
|
230
|
+
|
231
|
+
i {
|
232
|
+
color: white;
|
233
|
+
}
|
210
234
|
}
|
211
235
|
|
212
236
|
&:focus {
|
213
237
|
outline: none;
|
214
238
|
}
|
215
239
|
|
216
|
-
i {
|
217
|
-
font-size: 0.9rem;
|
218
|
-
}
|
219
|
-
|
220
240
|
}
|
221
241
|
|
222
242
|
}
|
@@ -228,6 +248,10 @@ div {
|
|
228
248
|
|
229
249
|
border-radius: 0;
|
230
250
|
|
251
|
+
.highlight {
|
252
|
+
padding-left: 0.25rem;
|
253
|
+
}
|
254
|
+
|
231
255
|
.code-header {
|
232
256
|
border-radius: 0;
|
233
257
|
padding-left: 0.4rem;
|
data/_sass/addon/variables.scss
CHANGED
@@ -11,10 +11,10 @@ $sidebar-width-large: 350px !default; // screen width: >= 1650px
|
|
11
11
|
/* tabs of sidebar */
|
12
12
|
|
13
13
|
$tab-count: 5 !default; // backward compatible (version <= 4.0.2)
|
14
|
-
$tab-height:
|
14
|
+
$tab-height: 3rem !default;
|
15
15
|
$tab-cursor-height: 1.6rem !default;
|
16
16
|
|
17
|
-
$cursor-width:
|
17
|
+
$cursor-width: 2px !default; // the cursor width of the selected tab
|
18
18
|
|
19
19
|
/* other framework sizes */
|
20
20
|
|
@@ -30,13 +30,17 @@
|
|
30
30
|
--checkbox-checked-color: var(--link-color);
|
31
31
|
|
32
32
|
/* Sidebar */
|
33
|
-
--nav-cursor-color: rgb(183, 182, 182);
|
34
33
|
--sidebar-bg: radial-gradient(circle, #242424 0%, #1d1f27 100%);
|
34
|
+
--sidebar-muted-color: #6d6c6b;
|
35
|
+
--sidebar-active-color: rgb(255 255 255 / 80%);
|
36
|
+
--nav-cursor-color: rgb(183, 182, 182);
|
37
|
+
--sidebar-btn-bg: rgb(117 116 116 / 20%);
|
35
38
|
|
36
39
|
/* Topbar */
|
37
40
|
--topbar-text-color: var(--text-color);
|
38
41
|
--topbar-wrapper-bg: rgb(39, 40, 43);
|
39
42
|
--search-wrapper-bg: rgb(34, 34, 39);
|
43
|
+
--search-wrapper-border-color: rgb(34, 34, 39);
|
40
44
|
--search-icon-color: rgb(100, 102, 105);
|
41
45
|
--input-focus-border-color: rgb(112, 114, 115);
|
42
46
|
|
@@ -44,11 +48,8 @@
|
|
44
48
|
--post-list-text-color: rgb(175, 176, 177);
|
45
49
|
--btn-patinator-text-color: var(--text-color);
|
46
50
|
--btn-paginator-hover-color: rgb(64, 65, 66);
|
47
|
-
--btn-active-bg: rgba(28, 52, 94, 1);
|
48
|
-
--btn-active-border-color: rgb(66, 94, 138);
|
49
|
-
--btn-text-color: var(--text-color);
|
50
51
|
--btn-paginator-border-color: var(--btn-border-color);
|
51
|
-
--btn-
|
52
|
+
--btn-text-color: var(--text-color);
|
52
53
|
--pin-bg: rgb(34 35 37);
|
53
54
|
--pin-color: inherit;
|
54
55
|
|
@@ -76,6 +77,7 @@
|
|
76
77
|
/* categories */
|
77
78
|
--categories-border: rgb(64, 66, 69);
|
78
79
|
--categories-hover-bg: rgb(73, 75, 76);
|
80
|
+
--categories-icon-hover-color: white;
|
79
81
|
|
80
82
|
/* archives */
|
81
83
|
--timeline-node-bg: rgb(150, 152, 156);
|
@@ -72,7 +72,8 @@
|
|
72
72
|
--highlight-lineno-color: #c2c6cc;
|
73
73
|
--inline-code-bg: #f3f3f3;
|
74
74
|
--code-header-bg: #eaeaea;
|
75
|
-
--lang-badge-color:
|
75
|
+
--lang-badge-color: rgb(128 128 128 / 87%);
|
76
|
+
--lang-badge-muted-color: rgb(128 128 128 / 36%);
|
76
77
|
--clipboard-checked-color: #43c743;
|
77
78
|
|
78
79
|
} // light-syntax
|
@@ -28,13 +28,17 @@
|
|
28
28
|
--checkbox-checked-color: #07a8f7;
|
29
29
|
|
30
30
|
/* Sidebar */
|
31
|
-
--sidebar-bg:
|
32
|
-
--
|
31
|
+
--sidebar-bg: #eeeeee;
|
32
|
+
--sidebar-muted-color: #a2a19f;
|
33
|
+
--sidebar-active-color: #424242;
|
34
|
+
--nav-cursor-color: #757575;
|
35
|
+
--sidebar-btn-bg: white;
|
33
36
|
|
34
37
|
/* Topbar */
|
35
38
|
--topbar-text-color: rgb(78, 78, 78);
|
36
39
|
--topbar-wrapper-bg: white;
|
37
|
-
--search-wrapper-bg:
|
40
|
+
--search-wrapper-bg: rgb(245 245 245 / 50%);
|
41
|
+
--search-wrapper-border-color: rgb(245 245 245);
|
38
42
|
--search-tag-bg: #f8f9fa;
|
39
43
|
--search-icon-color: #c2c6cc;
|
40
44
|
--input-focus-border-color: var(--btn-border-color);
|
@@ -42,12 +46,9 @@
|
|
42
46
|
/* Home page */
|
43
47
|
--post-list-text-color: dimgray;
|
44
48
|
--btn-patinator-text-color: #555555;
|
45
|
-
--btn-paginator-hover-color:
|
46
|
-
--btn-
|
47
|
-
--btn-
|
48
|
-
--btn-text-color: #f8f8f8;
|
49
|
-
--btn-paginator-border-color: #f1f1f1;
|
50
|
-
--btn-paginator-shadow: #4b92d2;
|
49
|
+
--btn-paginator-hover-color: var(--sidebar-bg);
|
50
|
+
--btn-paginator-border-color: var(--sidebar-bg);
|
51
|
+
--btn-text-color: #676666;
|
51
52
|
--pin-bg: #f5f5f5;
|
52
53
|
--pin-color: #999fa4;
|
53
54
|
|
@@ -64,9 +65,12 @@
|
|
64
65
|
--tag-hover: rgb(222, 226, 230);
|
65
66
|
--tb-odd-bg: #fbfcfd;
|
66
67
|
--tb-border-color: #eaeaea;
|
67
|
-
--categories-hover-bg: var(--btn-border-color);
|
68
68
|
--dash-color: silver;
|
69
69
|
|
70
|
+
/* Categories */
|
71
|
+
--categories-hover-bg: var(--btn-border-color);
|
72
|
+
--categories-icon-hover-color: darkslategray;
|
73
|
+
|
70
74
|
/* Archive */
|
71
75
|
--timeline-color: rgba(0, 0, 0, 0.075);
|
72
76
|
--timeline-node-bg: #c2c6cc;
|
@@ -8,24 +8,22 @@
|
|
8
8
|
|
9
9
|
.categories {
|
10
10
|
margin-bottom: 2rem;
|
11
|
+
|
11
12
|
.card-header {
|
12
13
|
padding-right: 12px;
|
13
14
|
}
|
14
15
|
|
15
16
|
i {
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
}
|
17
|
+
@extend %category-icon-color;
|
18
|
+
|
19
|
+
font-size: 86%; // fontawesome icons
|
20
20
|
}
|
21
21
|
|
22
22
|
.list-group-item {
|
23
23
|
border-left: none;
|
24
24
|
border-right: none;
|
25
25
|
padding-left: 2rem;
|
26
|
-
|
27
|
-
@extend %category-icon-color;
|
28
|
-
}
|
26
|
+
|
29
27
|
&:first-child {
|
30
28
|
border-top-left-radius: 0;
|
31
29
|
border-top-right-radius: 0;
|
@@ -33,10 +31,6 @@
|
|
33
31
|
|
34
32
|
}
|
35
33
|
|
36
|
-
.card-header > span > i:first-child {
|
37
|
-
@extend %category-icon-color;
|
38
|
-
}
|
39
|
-
|
40
34
|
} // .categories
|
41
35
|
|
42
36
|
.category-trigger {
|
@@ -45,11 +39,18 @@
|
|
45
39
|
border-radius: 50%;
|
46
40
|
text-align: center;
|
47
41
|
color: #6c757d !important;
|
48
|
-
|
42
|
+
|
43
|
+
&:hover {
|
44
|
+
i {
|
45
|
+
color: var(--categories-icon-hover-color);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
i {
|
49
50
|
position: relative;
|
50
51
|
height: 0.7rem;
|
51
52
|
width: 1rem;
|
52
|
-
transition: 300ms ease
|
53
|
+
transition: transform 300ms ease;
|
53
54
|
}
|
54
55
|
}
|
55
56
|
|
data/_sass/layout/home.scss
CHANGED
@@ -28,9 +28,7 @@
|
|
28
28
|
}
|
29
29
|
&.active {
|
30
30
|
.page-link {
|
31
|
-
background-color: var(--btn-
|
32
|
-
border-color: var(--btn-active-border-color);
|
33
|
-
box-shadow: 0 0 8px 0 var(--btn-paginator-shadow) !important;
|
31
|
+
background-color: var(--btn-paginator-hover-color);
|
34
32
|
color: var(--btn-text-color);
|
35
33
|
}
|
36
34
|
}
|