File tree Expand file tree Collapse file tree 4 files changed +28
-28
lines changed Expand file tree Collapse file tree 4 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 1
1
/* The common styles */
2
2
3
3
html {
4
+ font-size : 16px ;
5
+
4
6
@media (prefers-color-scheme : light ) {
5
7
& :not ([data-mode ]),
6
8
& [data-mode = ' light' ] {
22
24
@include light-scheme ;
23
25
}
24
26
}
25
-
26
- font-size : 16px ;
27
27
}
28
28
29
29
body {
@@ -218,13 +218,13 @@ i {
218
218
219
219
#access-lastmod {
220
220
a {
221
+ color : inherit ;
222
+
221
223
& :hover {
222
224
@extend %link-hover ;
223
225
}
224
226
225
227
@extend %no-bottom-border ;
226
-
227
- color : inherit ;
228
228
}
229
229
}
230
230
@@ -682,15 +682,15 @@ $btn-mb: 0.5rem;
682
682
background : var (--sidebar-bg );
683
683
border-right : 1px solid var (--sidebar-border-color );
684
684
685
+ /* Hide scrollbar for IE, Edge and Firefox */
686
+ -ms-overflow-style : none ; /* IE and Edge */
687
+ scrollbar-width : none ; /* Firefox */
688
+
685
689
/* Hide scrollbar for Chrome, Safari and Opera */
686
690
& ::-webkit-scrollbar {
687
691
display : none ;
688
692
}
689
693
690
- /* Hide scrollbar for IE, Edge and Firefox */
691
- -ms-overflow-style : none ; /* IE and Edge */
692
- scrollbar-width : none ; /* Firefox */
693
-
694
694
%sidebar-link-hover {
695
695
& :hover {
696
696
color : var (--sidebar-active-color );
@@ -1036,16 +1036,16 @@ search {
1036
1036
padding-bottom : 3rem ;
1037
1037
1038
1038
a {
1039
+ font-size : 1.4rem ;
1040
+ line-height : 2.5rem ;
1041
+
1039
1042
& :hover {
1040
1043
@extend %link-hover ;
1041
1044
}
1042
1045
1043
1046
@extend %link-color ;
1044
1047
@extend %no-bottom-border ;
1045
1048
@extend %heading ;
1046
-
1047
- font-size : 1.4rem ;
1048
- line-height : 2.5rem ;
1049
1049
}
1050
1050
1051
1051
> article {
Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ html {
50
50
@extend %rounded ;
51
51
@extend %code-snippet-bg ;
52
52
53
+ overflow : auto ;
54
+ padding-bottom : 0.75rem ;
55
+
53
56
@at-root figure #{&} {
54
57
@extend %code-snippet-bg ;
55
58
}
56
59
57
- overflow : auto ;
58
- padding-bottom : 0.75rem ;
59
-
60
60
pre {
61
61
margin-bottom : 0 ;
62
62
font-size : $code-font-size ;
Original file line number Diff line number Diff line change 84
84
--prompt-danger-bg : rgb (86 , 28 , 8 , 0.8 );
85
85
--prompt-danger-icon-color : #cd0202 ;
86
86
87
- /* tags */
87
+ /* Tags */
88
88
--tag-border : rgb (59 , 79 , 88 );
89
89
--tag-shadow : rgb (32 , 33 , 33 );
90
90
--dash-color : rgb (63 , 65 , 68 );
91
91
--search-tag-bg : #292828 ;
92
92
93
- /* categories */
93
+ /* Categories */
94
94
--categories-border : rgb (64 , 66 , 69 , 0.5 );
95
95
--categories-hover-bg : rgb (73 , 75 , 76 );
96
96
--categories-icon-hover-color : white ;
97
97
98
- /* archives */
98
+ /* Archive */
99
99
--timeline-node-bg : rgb (150 , 152 , 156 );
100
100
--timeline-color : rgb (63 , 65 , 68 );
101
101
--timeline-year-dot-color : var (--timeline-color );
102
102
103
+ color-scheme : dark ;
104
+
103
105
.light {
104
106
display : none ;
105
107
}
106
108
107
- /* categories */
109
+ /* Categories */
108
110
.categories.card ,
109
111
.list-group-item {
110
112
background-color : var (--card-bg );
138
140
);
139
141
}
140
142
141
- color-scheme : dark ;
142
-
143
143
/* stylelint-disable-next-line selector-id-pattern */
144
144
#disqus_thread {
145
145
color-scheme : none ;
Original file line number Diff line number Diff line change 92
92
--tag-hover : rgb (222 , 226 , 230 );
93
93
--search-tag-bg : #f8f9fa ;
94
94
95
- [class ^= ' prompt-' ] {
96
- --link-underline-color : rgb (219 , 216 , 216 );
97
- }
98
-
99
- .dark {
100
- display : none ;
101
- }
102
-
103
95
/* Categories */
104
96
--categories-border : rgba (0 , 0 , 0 , 0.125 );
105
97
--categories-hover-bg : var (--btn-border-color );
109
101
--timeline-color : rgba (0 , 0 , 0 , 0.075 );
110
102
--timeline-node-bg : #c2c6cc ;
111
103
--timeline-year-dot-color : #ffffff ;
104
+
105
+ [class ^= ' prompt-' ] {
106
+ --link-underline-color : rgb (219 , 216 , 216 );
107
+ }
108
+
109
+ .dark {
110
+ display : none ;
111
+ }
112
112
} /* light-scheme */
You can’t perform that action at this time.
0 commit comments