jekyll-theme-chirpy 6.1.0 → 6.2.1
Sign up to get free protection for your applications and to get access to all the features.
- 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/syntax.scss
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
* The syntax highlight.
|
3
3
|
*/
|
4
4
|
|
5
|
-
@import 'colors/light
|
6
|
-
@import 'colors/dark
|
5
|
+
@import 'colors/syntax-light';
|
6
|
+
@import 'colors/syntax-dark';
|
7
7
|
|
8
8
|
html {
|
9
9
|
@media (prefers-color-scheme: light) {
|
@@ -55,8 +55,7 @@ html {
|
|
55
55
|
}
|
56
56
|
|
57
57
|
overflow: auto;
|
58
|
-
padding-
|
59
|
-
padding-bottom: 1rem;
|
58
|
+
padding-bottom: 0.75rem;
|
60
59
|
|
61
60
|
pre {
|
62
61
|
margin-bottom: 0;
|
@@ -66,15 +65,25 @@ html {
|
|
66
65
|
}
|
67
66
|
|
68
67
|
table {
|
69
|
-
td
|
70
|
-
|
71
|
-
|
68
|
+
td {
|
69
|
+
&:first-child {
|
70
|
+
display: inline-block;
|
71
|
+
margin-left: 1rem;
|
72
|
+
margin-right: 0.75rem;
|
73
|
+
}
|
74
|
+
|
75
|
+
&:last-child {
|
76
|
+
padding-right: 2rem !important;
|
77
|
+
}
|
78
|
+
|
79
|
+
pre {
|
80
|
+
overflow: visible; /* Fixed iOS safari overflow-x */
|
81
|
+
word-break: normal; /* Fixed iOS safari linenos code break */
|
82
|
+
}
|
72
83
|
}
|
73
84
|
}
|
74
85
|
|
75
86
|
.lineno {
|
76
|
-
padding-right: 0.5rem;
|
77
|
-
min-width: 2.2rem;
|
78
87
|
text-align: right;
|
79
88
|
color: var(--highlight-lineno-color);
|
80
89
|
-webkit-user-select: none;
|
@@ -89,6 +98,7 @@ code {
|
|
89
98
|
-webkit-hyphens: none;
|
90
99
|
-ms-hyphens: none;
|
91
100
|
hyphens: none;
|
101
|
+
color: var(--code-color);
|
92
102
|
|
93
103
|
&.highlighter-rouge {
|
94
104
|
font-size: $code-font-size;
|
@@ -139,11 +149,16 @@ div[class^='language-'] {
|
|
139
149
|
|
140
150
|
box-shadow: var(--language-border-color) 0 0 0 1px;
|
141
151
|
|
142
|
-
.
|
143
|
-
@include ml-mr(-
|
152
|
+
.content > & {
|
153
|
+
@include ml-mr(-1rem);
|
144
154
|
|
145
155
|
border-radius: 0;
|
146
156
|
}
|
157
|
+
|
158
|
+
.highlight {
|
159
|
+
border-top-left-radius: 0;
|
160
|
+
border-top-right-radius: 0;
|
161
|
+
}
|
147
162
|
}
|
148
163
|
|
149
164
|
/* Hide line numbers for default, console, and terminal code snippets */
|
@@ -152,12 +167,13 @@ div {
|
|
152
167
|
&.language-plaintext,
|
153
168
|
&.language-console,
|
154
169
|
&.language-terminal {
|
155
|
-
|
156
|
-
|
157
|
-
|
170
|
+
td:first-child {
|
171
|
+
padding: 0 !important;
|
172
|
+
margin-right: 0;
|
158
173
|
|
159
|
-
|
160
|
-
|
174
|
+
.lineno {
|
175
|
+
display: none;
|
176
|
+
}
|
161
177
|
}
|
162
178
|
}
|
163
179
|
}
|
@@ -165,21 +181,21 @@ div {
|
|
165
181
|
.code-header {
|
166
182
|
@extend %no-cursor;
|
167
183
|
|
168
|
-
$code-header-height: 2.25rem;
|
169
|
-
|
170
184
|
display: flex;
|
171
185
|
justify-content: space-between;
|
172
186
|
align-items: center;
|
173
187
|
height: $code-header-height;
|
174
|
-
margin-left:
|
188
|
+
margin-left: 0.75rem;
|
175
189
|
margin-right: 0.5rem;
|
176
190
|
|
177
191
|
/* the label block */
|
178
192
|
span {
|
193
|
+
line-height: $code-header-height;
|
194
|
+
|
179
195
|
/* label icon */
|
180
196
|
i {
|
181
197
|
font-size: 1rem;
|
182
|
-
|
198
|
+
width: $code-icon-width;
|
183
199
|
color: var(--code-header-icon-color);
|
184
200
|
|
185
201
|
&.small {
|
@@ -242,7 +258,7 @@ div {
|
|
242
258
|
|
243
259
|
@media all and (min-width: 576px) {
|
244
260
|
div[class^='language-'] {
|
245
|
-
.
|
261
|
+
.content > & {
|
246
262
|
@include ml-mr(0);
|
247
263
|
|
248
264
|
border-radius: $base-radius;
|
@@ -251,19 +267,25 @@ div {
|
|
251
267
|
.code-header {
|
252
268
|
@include ml-mr(0);
|
253
269
|
|
254
|
-
|
255
|
-
$dot-size: 0.75rem;
|
256
|
-
$dot-margin: 0.5rem;
|
270
|
+
$dot-margin: calc($code-header-height / 2);
|
257
271
|
|
272
|
+
&::before {
|
258
273
|
content: '';
|
259
274
|
display: inline-block;
|
260
|
-
margin-left:
|
261
|
-
width: $dot-size;
|
262
|
-
height: $dot-size;
|
275
|
+
margin-left: $dot-margin;
|
276
|
+
width: $code-dot-size;
|
277
|
+
height: $code-dot-size;
|
263
278
|
border-radius: 50%;
|
264
279
|
background-color: var(--code-header-muted-color);
|
265
|
-
box-shadow: ($dot-size + $dot-
|
266
|
-
|
280
|
+
box-shadow: ($code-dot-size + $code-dot-gap) 0 0
|
281
|
+
var(--code-header-muted-color),
|
282
|
+
($code-dot-size + $code-dot-gap) * 2 0 0
|
283
|
+
var(--code-header-muted-color);
|
284
|
+
}
|
285
|
+
|
286
|
+
span {
|
287
|
+
// center the text of label
|
288
|
+
margin-left: calc(($dot-margin + $code-dot-size) / 2 * -1);
|
267
289
|
}
|
268
290
|
}
|
269
291
|
}
|
data/_sass/addon/variables.scss
CHANGED
@@ -10,18 +10,23 @@ $sidebar-width-large: 300px !default; /* screen width: >= 1650px */
|
|
10
10
|
/* other framework sizes */
|
11
11
|
|
12
12
|
$topbar-height: 3rem !default;
|
13
|
-
$search-max-width:
|
13
|
+
$search-max-width: 200px !default;
|
14
14
|
$footer-height: 5rem !default;
|
15
|
-
$footer-height-
|
15
|
+
$footer-height-large: 6rem !default; /* screen width: < 850px */
|
16
16
|
$main-content-max-width: 1250px !default;
|
17
17
|
$bottom-min-height: 35rem !default;
|
18
|
-
$base-radius: 0.5rem;
|
18
|
+
$base-radius: 0.5rem !default;
|
19
|
+
$back2top-size: 2.75rem !default;
|
19
20
|
|
20
21
|
/* syntax highlight */
|
21
22
|
|
22
23
|
$code-font-size: 0.85rem !default;
|
24
|
+
$code-header-height: 2.25rem !default;
|
25
|
+
$code-dot-size: 0.75rem !default;
|
26
|
+
$code-dot-gap: 0.5rem !default;
|
27
|
+
$code-icon-width: 1.75rem !default;
|
23
28
|
|
24
29
|
/* fonts */
|
25
30
|
|
26
|
-
$font-family-base: 'Source Sans Pro', 'Microsoft Yahei', sans-serif;
|
27
|
-
$font-family-heading: Lato, 'Microsoft Yahei', sans-serif;
|
31
|
+
$font-family-base: 'Source Sans Pro', 'Microsoft Yahei', sans-serif !default;
|
32
|
+
$font-family-heading: Lato, 'Microsoft Yahei', sans-serif !default;
|
@@ -0,0 +1,138 @@
|
|
1
|
+
/*
|
2
|
+
* The syntax dark mode styles.
|
3
|
+
*/
|
4
|
+
|
5
|
+
@mixin dark-syntax {
|
6
|
+
--language-border-color: #2d2d2d;
|
7
|
+
--highlight-bg-color: #151515;
|
8
|
+
--highlighter-rouge-color: #c9def1;
|
9
|
+
--highlight-lineno-color: #808080;
|
10
|
+
--inline-code-bg: #323238;
|
11
|
+
--code-color: #b0b0b0;
|
12
|
+
--code-header-text-color: #6a6a6a;
|
13
|
+
--code-header-muted-color: #353535;
|
14
|
+
--code-header-icon-color: #565656;
|
15
|
+
--clipboard-checked-color: #2bcc2b;
|
16
|
+
--filepath-text-color: #cacaca;
|
17
|
+
|
18
|
+
.highlight .gp {
|
19
|
+
color: #87939d;
|
20
|
+
}
|
21
|
+
|
22
|
+
/* --- Syntax highlight theme from `rougify style base16.dark` --- */
|
23
|
+
|
24
|
+
.highlight table td {
|
25
|
+
padding: 5px;
|
26
|
+
}
|
27
|
+
.highlight table pre {
|
28
|
+
margin: 0;
|
29
|
+
}
|
30
|
+
.highlight,
|
31
|
+
.highlight .w {
|
32
|
+
color: #d0d0d0;
|
33
|
+
background-color: #151515;
|
34
|
+
}
|
35
|
+
.highlight .err {
|
36
|
+
color: #151515;
|
37
|
+
background-color: #ac4142;
|
38
|
+
}
|
39
|
+
.highlight .c,
|
40
|
+
.highlight .ch,
|
41
|
+
.highlight .cd,
|
42
|
+
.highlight .cm,
|
43
|
+
.highlight .cpf,
|
44
|
+
.highlight .c1,
|
45
|
+
.highlight .cs {
|
46
|
+
color: #848484;
|
47
|
+
}
|
48
|
+
.highlight .cp {
|
49
|
+
color: #f4bf75;
|
50
|
+
}
|
51
|
+
.highlight .nt {
|
52
|
+
color: #f4bf75;
|
53
|
+
}
|
54
|
+
.highlight .o,
|
55
|
+
.highlight .ow {
|
56
|
+
color: #d0d0d0;
|
57
|
+
}
|
58
|
+
.highlight .p,
|
59
|
+
.highlight .pi {
|
60
|
+
color: #d0d0d0;
|
61
|
+
}
|
62
|
+
.highlight .gi {
|
63
|
+
color: #90a959;
|
64
|
+
}
|
65
|
+
.highlight .gd {
|
66
|
+
color: #f08a8b;
|
67
|
+
background-color: #320000;
|
68
|
+
}
|
69
|
+
.highlight .gh {
|
70
|
+
color: #6a9fb5;
|
71
|
+
background-color: #151515;
|
72
|
+
font-weight: bold;
|
73
|
+
}
|
74
|
+
.highlight .k,
|
75
|
+
.highlight .kn,
|
76
|
+
.highlight .kp,
|
77
|
+
.highlight .kr,
|
78
|
+
.highlight .kv {
|
79
|
+
color: #aa759f;
|
80
|
+
}
|
81
|
+
.highlight .kc {
|
82
|
+
color: #d28445;
|
83
|
+
}
|
84
|
+
.highlight .kt {
|
85
|
+
color: #d28445;
|
86
|
+
}
|
87
|
+
.highlight .kd {
|
88
|
+
color: #d28445;
|
89
|
+
}
|
90
|
+
.highlight .s,
|
91
|
+
.highlight .sb,
|
92
|
+
.highlight .sc,
|
93
|
+
.highlight .dl,
|
94
|
+
.highlight .sd,
|
95
|
+
.highlight .s2,
|
96
|
+
.highlight .sh,
|
97
|
+
.highlight .sx,
|
98
|
+
.highlight .s1 {
|
99
|
+
color: #90a959;
|
100
|
+
}
|
101
|
+
.highlight .sa {
|
102
|
+
color: #aa759f;
|
103
|
+
}
|
104
|
+
.highlight .sr {
|
105
|
+
color: #75b5aa;
|
106
|
+
}
|
107
|
+
.highlight .si {
|
108
|
+
color: #b76d45;
|
109
|
+
}
|
110
|
+
.highlight .se {
|
111
|
+
color: #b76d45;
|
112
|
+
}
|
113
|
+
.highlight .nn {
|
114
|
+
color: #f4bf75;
|
115
|
+
}
|
116
|
+
.highlight .nc {
|
117
|
+
color: #f4bf75;
|
118
|
+
}
|
119
|
+
.highlight .no {
|
120
|
+
color: #f4bf75;
|
121
|
+
}
|
122
|
+
.highlight .na {
|
123
|
+
color: #6a9fb5;
|
124
|
+
}
|
125
|
+
.highlight .m,
|
126
|
+
.highlight .mb,
|
127
|
+
.highlight .mf,
|
128
|
+
.highlight .mh,
|
129
|
+
.highlight .mi,
|
130
|
+
.highlight .il,
|
131
|
+
.highlight .mo,
|
132
|
+
.highlight .mx {
|
133
|
+
color: #90a959;
|
134
|
+
}
|
135
|
+
.highlight .ss {
|
136
|
+
color: #90a959;
|
137
|
+
}
|
138
|
+
}
|
@@ -0,0 +1,179 @@
|
|
1
|
+
/*
|
2
|
+
* The syntax light mode code snippet colors.
|
3
|
+
*/
|
4
|
+
|
5
|
+
@mixin light-syntax {
|
6
|
+
/* --- custom light colors --- */
|
7
|
+
--language-border-color: #ececec;
|
8
|
+
--highlight-bg-color: #f6f8fa;
|
9
|
+
--highlighter-rouge-color: #3f596f;
|
10
|
+
--highlight-lineno-color: #9e9e9e;
|
11
|
+
--inline-code-bg: #f6f6f7;
|
12
|
+
--code-color: #3a3a3a;
|
13
|
+
--code-header-text-color: #a3a3a3;
|
14
|
+
--code-header-muted-color: #e5e5e5;
|
15
|
+
--code-header-icon-color: #c9c8c8;
|
16
|
+
--clipboard-checked-color: #43c743;
|
17
|
+
|
18
|
+
[class^='prompt-'] {
|
19
|
+
--inline-code-bg: #fbfafa;
|
20
|
+
}
|
21
|
+
|
22
|
+
/* --- Syntax highlight theme from `rougify style github` --- */
|
23
|
+
|
24
|
+
.highlight table td {
|
25
|
+
padding: 5px;
|
26
|
+
}
|
27
|
+
.highlight table pre {
|
28
|
+
margin: 0;
|
29
|
+
}
|
30
|
+
.highlight,
|
31
|
+
.highlight .w {
|
32
|
+
color: #24292f;
|
33
|
+
background-color: #f6f8fa;
|
34
|
+
}
|
35
|
+
.highlight .k,
|
36
|
+
.highlight .kd,
|
37
|
+
.highlight .kn,
|
38
|
+
.highlight .kp,
|
39
|
+
.highlight .kr,
|
40
|
+
.highlight .kt,
|
41
|
+
.highlight .kv {
|
42
|
+
color: #cf222e;
|
43
|
+
}
|
44
|
+
.highlight .gr {
|
45
|
+
color: #f6f8fa;
|
46
|
+
}
|
47
|
+
.highlight .gd {
|
48
|
+
color: #82071e;
|
49
|
+
background-color: #ffebe9;
|
50
|
+
}
|
51
|
+
.highlight .nb {
|
52
|
+
color: #953800;
|
53
|
+
}
|
54
|
+
.highlight .nc {
|
55
|
+
color: #953800;
|
56
|
+
}
|
57
|
+
.highlight .no {
|
58
|
+
color: #953800;
|
59
|
+
}
|
60
|
+
.highlight .nn {
|
61
|
+
color: #953800;
|
62
|
+
}
|
63
|
+
.highlight .sr {
|
64
|
+
color: #116329;
|
65
|
+
}
|
66
|
+
.highlight .na {
|
67
|
+
color: #116329;
|
68
|
+
}
|
69
|
+
.highlight .nt {
|
70
|
+
color: #116329;
|
71
|
+
}
|
72
|
+
.highlight .gi {
|
73
|
+
color: #116329;
|
74
|
+
background-color: #dafbe1;
|
75
|
+
}
|
76
|
+
.highlight .kc {
|
77
|
+
color: #0550ae;
|
78
|
+
}
|
79
|
+
.highlight .l,
|
80
|
+
.highlight .ld,
|
81
|
+
.highlight .m,
|
82
|
+
.highlight .mb,
|
83
|
+
.highlight .mf,
|
84
|
+
.highlight .mh,
|
85
|
+
.highlight .mi,
|
86
|
+
.highlight .il,
|
87
|
+
.highlight .mo,
|
88
|
+
.highlight .mx {
|
89
|
+
color: #0550ae;
|
90
|
+
}
|
91
|
+
.highlight .sb {
|
92
|
+
color: #0550ae;
|
93
|
+
}
|
94
|
+
.highlight .bp {
|
95
|
+
color: #0550ae;
|
96
|
+
}
|
97
|
+
.highlight .ne {
|
98
|
+
color: #0550ae;
|
99
|
+
}
|
100
|
+
.highlight .nl {
|
101
|
+
color: #0550ae;
|
102
|
+
}
|
103
|
+
.highlight .py {
|
104
|
+
color: #0550ae;
|
105
|
+
}
|
106
|
+
.highlight .nv,
|
107
|
+
.highlight .vc,
|
108
|
+
.highlight .vg,
|
109
|
+
.highlight .vi,
|
110
|
+
.highlight .vm {
|
111
|
+
color: #0550ae;
|
112
|
+
}
|
113
|
+
.highlight .o,
|
114
|
+
.highlight .ow {
|
115
|
+
color: #0550ae;
|
116
|
+
}
|
117
|
+
.highlight .gh {
|
118
|
+
color: #0550ae;
|
119
|
+
font-weight: bold;
|
120
|
+
}
|
121
|
+
.highlight .gu {
|
122
|
+
color: #0550ae;
|
123
|
+
font-weight: bold;
|
124
|
+
}
|
125
|
+
.highlight .s,
|
126
|
+
.highlight .sa,
|
127
|
+
.highlight .sc,
|
128
|
+
.highlight .dl,
|
129
|
+
.highlight .sd,
|
130
|
+
.highlight .s2,
|
131
|
+
.highlight .se,
|
132
|
+
.highlight .sh,
|
133
|
+
.highlight .sx,
|
134
|
+
.highlight .s1,
|
135
|
+
.highlight .ss {
|
136
|
+
color: #0a3069;
|
137
|
+
}
|
138
|
+
.highlight .nd {
|
139
|
+
color: #8250df;
|
140
|
+
}
|
141
|
+
.highlight .nf,
|
142
|
+
.highlight .fm {
|
143
|
+
color: #8250df;
|
144
|
+
}
|
145
|
+
.highlight .err {
|
146
|
+
color: #f6f8fa;
|
147
|
+
background-color: #82071e;
|
148
|
+
}
|
149
|
+
.highlight .c,
|
150
|
+
.highlight .ch,
|
151
|
+
.highlight .cd,
|
152
|
+
.highlight .cm,
|
153
|
+
.highlight .cp,
|
154
|
+
.highlight .cpf,
|
155
|
+
.highlight .c1,
|
156
|
+
.highlight .cs {
|
157
|
+
color: #68717a;
|
158
|
+
}
|
159
|
+
.highlight .gl {
|
160
|
+
color: #68717a;
|
161
|
+
}
|
162
|
+
.highlight .gt {
|
163
|
+
color: #68717a;
|
164
|
+
}
|
165
|
+
.highlight .ni {
|
166
|
+
color: #24292f;
|
167
|
+
}
|
168
|
+
.highlight .si {
|
169
|
+
color: #24292f;
|
170
|
+
}
|
171
|
+
.highlight .ge {
|
172
|
+
color: #24292f;
|
173
|
+
font-style: italic;
|
174
|
+
}
|
175
|
+
.highlight .gs {
|
176
|
+
color: #24292f;
|
177
|
+
font-weight: bold;
|
178
|
+
}
|
179
|
+
} /* light-syntax */
|
@@ -10,19 +10,19 @@
|
|
10
10
|
|
11
11
|
/* Common color */
|
12
12
|
--text-color: rgb(175, 176, 177);
|
13
|
-
--text-muted-color:
|
13
|
+
--text-muted-color: #868686;
|
14
14
|
--heading-color: #cccccc;
|
15
|
+
--label-color: #a7a7a7;
|
15
16
|
--blockquote-border-color: rgb(66, 66, 66);
|
16
|
-
--blockquote-text-color:
|
17
|
+
--blockquote-text-color: #868686;
|
17
18
|
--link-color: rgb(138, 180, 248);
|
18
19
|
--link-underline-color: rgb(82, 108, 150);
|
19
|
-
--button-bg:
|
20
|
-
--btn-border-color:
|
20
|
+
--button-bg: #1e1e1e;
|
21
|
+
--btn-border-color: #2e2f31;
|
21
22
|
--btn-backtotop-color: var(--text-color);
|
22
|
-
--btn-backtotop-border-color:
|
23
|
+
--btn-backtotop-border-color: #212122;
|
23
24
|
--btn-box-shadow: var(--main-bg);
|
24
|
-
--card-header-bg:
|
25
|
-
--label-color: rgb(108, 117, 125);
|
25
|
+
--card-header-bg: #292929;
|
26
26
|
--checkbox-color: rgb(118, 120, 121);
|
27
27
|
--checkbox-checked-color: var(--link-color);
|
28
28
|
--img-bg: radial-gradient(circle, rgb(22, 22, 24) 0%, rgb(32, 32, 32) 100%);
|
@@ -34,39 +34,38 @@
|
|
34
34
|
);
|
35
35
|
|
36
36
|
/* Sidebar */
|
37
|
-
--
|
38
|
-
--
|
37
|
+
--site-title-color: #717070;
|
38
|
+
--site-subtitle-color: #868686;
|
39
|
+
--sidebar-bg: #1e1e1e;
|
40
|
+
--sidebar-border-color: #292929;
|
41
|
+
--sidebar-muted-color: #868686;
|
39
42
|
--sidebar-active-color: rgb(255, 255, 255, 0.95);
|
40
|
-
--sidebar-hover-bg:
|
41
|
-
--sidebar-btn-bg:
|
43
|
+
--sidebar-hover-bg: #262626;
|
44
|
+
--sidebar-btn-bg: #232328;
|
42
45
|
--sidebar-btn-color: #787878;
|
43
46
|
--avatar-border-color: rgb(206, 206, 206, 0.9);
|
44
47
|
|
45
48
|
/* Topbar */
|
46
49
|
--topbar-bg: rgb(27, 27, 30, 0.64);
|
47
50
|
--topbar-text-color: var(--text-color);
|
48
|
-
--search-
|
51
|
+
--search-border-color: rgb(55, 55, 55);
|
49
52
|
--search-icon-color: rgb(100, 102, 105);
|
50
53
|
--input-focus-border-color: rgb(112, 114, 115);
|
51
54
|
|
52
55
|
/* Home page */
|
53
56
|
--post-list-text-color: rgb(175, 176, 177);
|
54
57
|
--btn-patinator-text-color: var(--text-color);
|
55
|
-
--btn-paginator-hover-color:
|
56
|
-
--btn-paginator-border-color: var(--btn-border-color);
|
57
|
-
--btn-text-color: var(--text-color);
|
58
|
+
--btn-paginator-hover-color: #2e2e2e;
|
58
59
|
|
59
60
|
/* Posts */
|
60
61
|
--toc-highlight: rgb(116, 178, 243);
|
61
|
-
--tag-bg: rgb(41, 40, 40);
|
62
62
|
--tag-hover: rgb(43, 56, 62);
|
63
|
-
--tb-odd-bg:
|
63
|
+
--tb-odd-bg: #252526; /* odd rows of the posts' table */
|
64
64
|
--tb-even-bg: rgb(31, 31, 34); /* even rows of the posts' table */
|
65
65
|
--tb-border-color: var(--tb-odd-bg);
|
66
66
|
--footnote-target-bg: rgb(63, 81, 181);
|
67
67
|
--btn-share-color: #6c757d;
|
68
68
|
--btn-share-hover-color: #bfc1ca;
|
69
|
-
--relate-post-date: var(--text-muted-color);
|
70
69
|
--card-bg: #1e1e1e;
|
71
70
|
--card-hovor-bg: #464d51;
|
72
71
|
--card-shadow: rgb(21, 21, 21, 0.72) 0 6px 18px 0,
|
@@ -87,8 +86,8 @@
|
|
87
86
|
/* tags */
|
88
87
|
--tag-border: rgb(59, 79, 88);
|
89
88
|
--tag-shadow: rgb(32, 33, 33);
|
90
|
-
--search-tag-bg: var(--tag-bg);
|
91
89
|
--dash-color: rgb(63, 65, 68);
|
90
|
+
--search-tag-bg: #292828;
|
92
91
|
|
93
92
|
/* categories */
|
94
93
|
--categories-border: rgb(64, 66, 69, 0.5);
|
@@ -10,11 +10,12 @@
|
|
10
10
|
|
11
11
|
/* Common color */
|
12
12
|
--text-color: #34343c;
|
13
|
-
--text-muted-color: #
|
14
|
-
--heading-color:
|
13
|
+
--text-muted-color: #757575;
|
14
|
+
--heading-color: #2a2a2a;
|
15
|
+
--label-color: #585858;
|
15
16
|
--blockquote-border-color: #eeeeee;
|
16
|
-
--blockquote-text-color: #
|
17
|
-
--link-color: #
|
17
|
+
--blockquote-text-color: #757575;
|
18
|
+
--link-color: #0056b2;
|
18
19
|
--link-underline-color: #dee2e6;
|
19
20
|
--button-bg: #ffffff;
|
20
21
|
--btn-border-color: #e9ecef;
|
@@ -36,8 +37,11 @@
|
|
36
37
|
);
|
37
38
|
|
38
39
|
/* Sidebar */
|
40
|
+
--site-title-color: rgb(113, 113, 113);
|
41
|
+
--site-subtitle-color: #717171;
|
39
42
|
--sidebar-bg: #f6f8fa;
|
40
|
-
--sidebar-
|
43
|
+
--sidebar-border-color: #efefef;
|
44
|
+
--sidebar-muted-color: #545454;
|
41
45
|
--sidebar-active-color: #1d1d1d;
|
42
46
|
--sidebar-hover-bg: rgb(223, 233, 241, 0.64);
|
43
47
|
--sidebar-btn-bg: white;
|
@@ -47,8 +51,7 @@
|
|
47
51
|
/* Topbar */
|
48
52
|
--topbar-bg: rgb(255, 255, 255, 0.7);
|
49
53
|
--topbar-text-color: rgb(78, 78, 78);
|
50
|
-
--search-
|
51
|
-
--search-tag-bg: #f8f9fa;
|
54
|
+
--search-border-color: rgb(240, 240, 240);
|
52
55
|
--search-icon-color: #c2c6cc;
|
53
56
|
--input-focus-border-color: #b8b8b8;
|
54
57
|
|
@@ -56,23 +59,15 @@
|
|
56
59
|
--post-list-text-color: dimgray;
|
57
60
|
--btn-patinator-text-color: #555555;
|
58
61
|
--btn-paginator-hover-color: var(--sidebar-bg);
|
59
|
-
--btn-paginator-border-color: var(--sidebar-bg);
|
60
|
-
--btn-text-color: #676666;
|
61
62
|
|
62
63
|
/* Posts */
|
63
|
-
--toc-highlight: #
|
64
|
+
--toc-highlight: #0550ae;
|
64
65
|
--btn-share-hover-color: var(--link-color);
|
65
66
|
--card-bg: white;
|
66
67
|
--card-hovor-bg: #e2e2e2;
|
67
68
|
--card-shadow: rgb(104, 104, 104, 0.05) 0 2px 6px 0,
|
68
69
|
rgba(211, 209, 209, 0.15) 0 0 0 1px;
|
69
|
-
--label-color: #616161;
|
70
|
-
--relate-post-date: rgba(30, 55, 70, 0.4);
|
71
70
|
--footnote-target-bg: lightcyan;
|
72
|
-
--tag-bg: rgba(0, 0, 0, 0.075);
|
73
|
-
--tag-border: #dee2e6;
|
74
|
-
--tag-shadow: var(--btn-border-color);
|
75
|
-
--tag-hover: rgb(222, 226, 230);
|
76
71
|
--tb-odd-bg: #fbfcfd;
|
77
72
|
--tb-border-color: #eaeaea;
|
78
73
|
--dash-color: silver;
|
@@ -89,6 +84,12 @@
|
|
89
84
|
--prompt-danger-bg: rgb(248, 215, 218, 0.56);
|
90
85
|
--prompt-danger-icon-color: #df3c30;
|
91
86
|
|
87
|
+
/* Tags */
|
88
|
+
--tag-border: #dee2e6;
|
89
|
+
--tag-shadow: var(--btn-border-color);
|
90
|
+
--tag-hover: rgb(222, 226, 230);
|
91
|
+
--search-tag-bg: #f8f9fa;
|
92
|
+
|
92
93
|
[class^='prompt-'] {
|
93
94
|
--link-underline-color: rgb(219, 216, 216);
|
94
95
|
}
|