jekyll-theme-abd3lraouf 5.2.4 → 5.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -21
- data/README.md +105 -105
- data/_config.yml +207 -206
- data/_data/assets/cross_origin.yml +62 -62
- data/_data/assets/self_host.yml +51 -51
- data/_data/authors.yml +17 -17
- data/_data/contact.yml +30 -30
- data/_data/locales/bg-BG.yml +83 -83
- data/_data/locales/en.yml +83 -83
- data/_data/locales/es-ES.yml +79 -79
- data/_data/locales/fr-FR.yml +79 -79
- data/_data/locales/hu-HU.yml +81 -81
- data/_data/locales/id-ID.yml +79 -79
- data/_data/locales/ko-KR.yml +79 -79
- data/_data/locales/my-MM.yml +79 -79
- data/_data/locales/pt-BR.yml +79 -79
- data/_data/locales/ru-RU.yml +79 -79
- data/_data/locales/tr-TR.yml +79 -79
- data/_data/locales/uk-UA.yml +79 -79
- data/_data/locales/vi-VN.yml +77 -77
- data/_data/locales/zh-CN.yml +78 -78
- data/_data/share.yml +27 -27
- data/_includes/assets-origin.html +12 -12
- data/_includes/comments/disqus.html +54 -54
- data/_includes/comments/giscus.html +56 -56
- data/_includes/comments/utterances.html +51 -51
- data/_includes/comments.html +5 -5
- data/_includes/datetime.html +21 -21
- data/_includes/favicons.html +17 -17
- data/_includes/footer.html +17 -36
- data/_includes/google-analytics.html +14 -14
- data/_includes/head.html +116 -116
- data/_includes/js-selector.html +104 -104
- data/_includes/jsdelivr-combine.html +32 -32
- data/_includes/lang.html +8 -8
- data/_includes/language-alias.html +70 -70
- data/_includes/mermaid.html +57 -57
- data/_includes/mode-toggle.html +129 -129
- data/_includes/no-linenos.html +10 -10
- data/_includes/post-nav.html +30 -30
- data/_includes/post-paginator.html +88 -88
- data/_includes/post-sharing.html +27 -27
- data/_includes/read-time.html +30 -30
- data/_includes/refactor-content.html +282 -282
- data/_includes/related-posts.html +103 -103
- data/_includes/search-loader.html +46 -46
- data/_includes/search-results.html +11 -11
- data/_includes/sidebar.html +93 -93
- data/_includes/toc.html +16 -16
- data/_includes/topbar.html +70 -70
- data/_includes/trending-tags.html +50 -50
- data/_includes/update-list.html +40 -40
- data/_layouts/archives.html +48 -48
- data/_layouts/categories.html +120 -120
- data/_layouts/category.html +24 -24
- data/_layouts/compress.html +10 -10
- data/_layouts/default.html +74 -74
- data/_layouts/home.html +103 -103
- data/_layouts/page.html +64 -64
- data/_layouts/post.html +159 -159
- data/_layouts/tag.html +23 -23
- data/_layouts/tags.html +23 -23
- data/_plugins/posts-lastmod-hook.rb +14 -14
- data/_sass/addon/commons.scss +1678 -1680
- data/_sass/addon/module.scss +151 -151
- data/_sass/addon/syntax.scss +289 -289
- data/_sass/addon/variables.scss +34 -34
- data/_sass/colors/dark-syntax.scss +88 -88
- data/_sass/colors/dark-typography.scss +157 -157
- data/_sass/colors/light-syntax.scss +84 -84
- data/_sass/colors/light-typography.scss +94 -94
- data/_sass/jekyll-theme-abd3lraouf.scss +1 -1
- data/_sass/layout/archives.scss +147 -147
- data/_sass/layout/categories.scss +67 -67
- data/_sass/layout/category-tag.scss +73 -73
- data/_sass/layout/home.scss +184 -184
- data/_sass/layout/post.scss +369 -369
- data/_sass/layout/tags.scss +19 -19
- data/_sass/variables-hook.scss +3 -3
- data/_tabs/about.md +8 -8
- data/_tabs/archives.md +7 -7
- data/_tabs/categories.md +6 -6
- data/_tabs/tags.md +6 -6
- data/assets/404.html +16 -16
- data/assets/css/style.scss +12 -12
- data/assets/feed.xml +61 -61
- data/assets/img/favicons/browserconfig.xml +13 -13
- data/assets/img/favicons/site.webmanifest +26 -26
- data/assets/js/data/search.json +18 -18
- data/assets/js/data/swcache.js +55 -55
- 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/misc.min.js +1 -1
- data/assets/js/dist/page.min.js +1 -1
- data/assets/js/dist/post.min.js +1 -1
- data/assets/js/dist/pvreport.min.js +1 -1
- data/assets/js/pwa/app.js +47 -47
- data/assets/js/pwa/sw.js +89 -89
- data/assets/js/pwa/unregister.js +12 -12
- data/assets/robots.txt +10 -10
- data/index.html +4 -4
- metadata +7 -7
data/_sass/layout/post.scss
CHANGED
@@ -1,369 +1,369 @@
|
|
1
|
-
/*
|
2
|
-
Post-specific style
|
3
|
-
*/
|
4
|
-
|
5
|
-
@mixin btn-sharing-color($light-color, $important: false) {
|
6
|
-
@if $important {
|
7
|
-
color: var(--btn-share-color, $light-color) !important;
|
8
|
-
} @else {
|
9
|
-
color: var(--btn-share-color, $light-color);
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
@mixin btn-post-nav {
|
14
|
-
width: 50%;
|
15
|
-
position: relative;
|
16
|
-
border-color: var(--btn-border-color);
|
17
|
-
}
|
18
|
-
|
19
|
-
@mixin dot($pl: 0.25rem, $pr: 0.25rem) {
|
20
|
-
content: "\2022";
|
21
|
-
padding-left: $pl;
|
22
|
-
padding-right: $pr;
|
23
|
-
}
|
24
|
-
|
25
|
-
%text-color {
|
26
|
-
color: var(--text-color);
|
27
|
-
}
|
28
|
-
|
29
|
-
h1 + .post-meta {
|
30
|
-
span + span::before {
|
31
|
-
@include dot;
|
32
|
-
}
|
33
|
-
|
34
|
-
em {
|
35
|
-
@extend %text-color;
|
36
|
-
|
37
|
-
a {
|
38
|
-
@extend %text-color;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
img.preview-img {
|
44
|
-
margin: 0;
|
45
|
-
border-radius: 6px;
|
46
|
-
|
47
|
-
&.bg[data-loaded=true] {
|
48
|
-
background: var(--preview-img-bg);
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
.post-tail-wrapper {
|
53
|
-
margin-top: 6rem;
|
54
|
-
border-bottom: 1px double var(--main-border-color);
|
55
|
-
font-size: 0.85rem;
|
56
|
-
|
57
|
-
.post-meta a:not(:hover) {
|
58
|
-
@extend %link-underline;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
|
62
|
-
.post-tags {
|
63
|
-
line-height: 2rem;
|
64
|
-
}
|
65
|
-
|
66
|
-
.post-navigation {
|
67
|
-
padding-top: 3rem;
|
68
|
-
padding-bottom: 4rem;
|
69
|
-
|
70
|
-
.btn {
|
71
|
-
@include btn-post-nav;
|
72
|
-
|
73
|
-
color: var(--link-color);
|
74
|
-
|
75
|
-
&:hover {
|
76
|
-
background: #2a408e;
|
77
|
-
color: #fff;
|
78
|
-
border-color: #2a408e;
|
79
|
-
}
|
80
|
-
|
81
|
-
&.disabled {
|
82
|
-
@include btn-post-nav;
|
83
|
-
|
84
|
-
pointer-events: auto;
|
85
|
-
cursor: not-allowed;
|
86
|
-
background: none;
|
87
|
-
color: gray;
|
88
|
-
|
89
|
-
&:hover {
|
90
|
-
border-color: none;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
&.btn-outline-primary.disabled:focus {
|
95
|
-
box-shadow: none;
|
96
|
-
}
|
97
|
-
|
98
|
-
&::before {
|
99
|
-
color: var(--text-muted-color);
|
100
|
-
font-size: 0.65rem;
|
101
|
-
text-transform: uppercase;
|
102
|
-
content: attr(prompt);
|
103
|
-
}
|
104
|
-
|
105
|
-
&:first-child {
|
106
|
-
border-top-right-radius: 0;
|
107
|
-
border-bottom-right-radius: 0;
|
108
|
-
left: 0.5px;
|
109
|
-
}
|
110
|
-
|
111
|
-
&:last-child {
|
112
|
-
border-top-left-radius: 0;
|
113
|
-
border-bottom-left-radius: 0;
|
114
|
-
right: 0.5px;
|
115
|
-
}
|
116
|
-
}
|
117
|
-
|
118
|
-
p {
|
119
|
-
font-size: 1.1rem;
|
120
|
-
line-height: 1.5rem;
|
121
|
-
margin-top: 0.3rem;
|
122
|
-
white-space: normal;
|
123
|
-
}
|
124
|
-
|
125
|
-
} /* .post-navigation */
|
126
|
-
|
127
|
-
@keyframes fade-up {
|
128
|
-
from {
|
129
|
-
opacity: 0;
|
130
|
-
position: relative;
|
131
|
-
top: 2rem;
|
132
|
-
}
|
133
|
-
to {
|
134
|
-
opacity: 1;
|
135
|
-
position: relative;
|
136
|
-
top: 0;
|
137
|
-
}
|
138
|
-
}
|
139
|
-
|
140
|
-
#toc-wrapper {
|
141
|
-
border-left: 1px solid rgba(158, 158, 158, 0.17);
|
142
|
-
position: -webkit-sticky;
|
143
|
-
position: sticky;
|
144
|
-
top: 4rem;
|
145
|
-
transition: top 0.2s ease-in-out;
|
146
|
-
animation: fade-up 0.8s;
|
147
|
-
}
|
148
|
-
|
149
|
-
#toc li a {
|
150
|
-
font-size: 0.8rem;
|
151
|
-
|
152
|
-
&.nav-link:not(.active) {
|
153
|
-
color: inherit;
|
154
|
-
}
|
155
|
-
|
156
|
-
}
|
157
|
-
|
158
|
-
nav[data-toggle=toc] {
|
159
|
-
.nav {
|
160
|
-
.nav > li > a.active {
|
161
|
-
font-weight: 600 !important;
|
162
|
-
}
|
163
|
-
}
|
164
|
-
}
|
165
|
-
|
166
|
-
/* --- Related Posts --- */
|
167
|
-
|
168
|
-
#related-posts {
|
169
|
-
> h3 {
|
170
|
-
@include label(1.1rem, 600);
|
171
|
-
}
|
172
|
-
|
173
|
-
em {
|
174
|
-
@extend %normal-font-style;
|
175
|
-
|
176
|
-
color: var(--relate-post-date);
|
177
|
-
}
|
178
|
-
|
179
|
-
.card {
|
180
|
-
border-color: var(--card-border-color);
|
181
|
-
background-color: var(--card-bg);
|
182
|
-
box-shadow: 0 0 5px 0 var(--card-box-shadow);
|
183
|
-
-webkit-transition: all 0.3s ease-in-out;
|
184
|
-
-moz-transition: all 0.3s ease-in-out;
|
185
|
-
transition: all 0.3s ease-in-out;
|
186
|
-
|
187
|
-
h3 {
|
188
|
-
@extend %text-color;
|
189
|
-
}
|
190
|
-
|
191
|
-
&:hover {
|
192
|
-
-webkit-transform: translate3d(0, -3px, 0);
|
193
|
-
transform: translate3d(0, -3px, 0);
|
194
|
-
box-shadow: 0 10px 15px -4px rgba(0, 0, 0, 0.15);
|
195
|
-
}
|
196
|
-
}
|
197
|
-
|
198
|
-
p {
|
199
|
-
font-size: 0.9rem;
|
200
|
-
margin-bottom: 0.5rem;
|
201
|
-
overflow: hidden;
|
202
|
-
text-overflow: ellipsis;
|
203
|
-
display: -webkit-box;
|
204
|
-
-webkit-line-clamp: 2;
|
205
|
-
-webkit-box-orient: vertical;
|
206
|
-
}
|
207
|
-
|
208
|
-
a:hover {
|
209
|
-
text-decoration: none;
|
210
|
-
}
|
211
|
-
|
212
|
-
ul {
|
213
|
-
list-style-type: none;
|
214
|
-
padding-inline-start: 1.5rem;
|
215
|
-
|
216
|
-
> li::before {
|
217
|
-
background: #c2c9d4;
|
218
|
-
width: 5px;
|
219
|
-
height: 5px;
|
220
|
-
border-radius: 1px;
|
221
|
-
display: block;
|
222
|
-
content: "";
|
223
|
-
position: relative;
|
224
|
-
top: 1rem;
|
225
|
-
right: 1rem;
|
226
|
-
}
|
227
|
-
}
|
228
|
-
}
|
229
|
-
|
230
|
-
#tail-wrapper {
|
231
|
-
min-height: 2rem;
|
232
|
-
|
233
|
-
> div:last-of-type {
|
234
|
-
margin-bottom: 2rem;
|
235
|
-
}
|
236
|
-
|
237
|
-
#disqus_thread {
|
238
|
-
min-height: 8.5rem;
|
239
|
-
}
|
240
|
-
|
241
|
-
}
|
242
|
-
|
243
|
-
.post-tail-bottom a {
|
244
|
-
color: inherit;
|
245
|
-
}
|
246
|
-
|
247
|
-
%btn-share-hovor {
|
248
|
-
color: var(--btn-share-hover-color) !important;
|
249
|
-
}
|
250
|
-
|
251
|
-
.share-wrapper {
|
252
|
-
vertical-align: middle;
|
253
|
-
user-select: none;
|
254
|
-
|
255
|
-
.share-icons {
|
256
|
-
font-size: 1.2rem;
|
257
|
-
|
258
|
-
a {
|
259
|
-
&:not(:last-child) {
|
260
|
-
margin-right: 0.25rem;
|
261
|
-
}
|
262
|
-
|
263
|
-
&:hover {
|
264
|
-
text-decoration: none;
|
265
|
-
|
266
|
-
> i {
|
267
|
-
@extend %btn-share-hovor;
|
268
|
-
}
|
269
|
-
}
|
270
|
-
}
|
271
|
-
|
272
|
-
> i {
|
273
|
-
position: relative;
|
274
|
-
bottom: 1px;
|
275
|
-
|
276
|
-
@extend %cursor-pointer;
|
277
|
-
|
278
|
-
&:hover {
|
279
|
-
@extend %btn-share-hovor;
|
280
|
-
}
|
281
|
-
}
|
282
|
-
|
283
|
-
.fab {
|
284
|
-
&.fa-twitter {
|
285
|
-
@include btn-sharing-color(rgba(29, 161, 242, 1));
|
286
|
-
}
|
287
|
-
|
288
|
-
&.fa-facebook-square {
|
289
|
-
@include btn-sharing-color(rgb(66, 95, 156));
|
290
|
-
}
|
291
|
-
|
292
|
-
&.fa-telegram {
|
293
|
-
@include btn-sharing-color(rgb(39, 159, 217));
|
294
|
-
}
|
295
|
-
|
296
|
-
&.fa-weibo {
|
297
|
-
@include btn-sharing-color(rgb(229, 20, 43));
|
298
|
-
}
|
299
|
-
}
|
300
|
-
|
301
|
-
} /* .share-icons */
|
302
|
-
|
303
|
-
.fas.fa-link {
|
304
|
-
@include btn-sharing-color(rgb(171, 171, 171));
|
305
|
-
}
|
306
|
-
|
307
|
-
} /* .share-wrapper */
|
308
|
-
|
309
|
-
.share-label {
|
310
|
-
@include label(inherit, 400, inherit);
|
311
|
-
|
312
|
-
&::after {
|
313
|
-
content: ":";
|
314
|
-
}
|
315
|
-
}
|
316
|
-
|
317
|
-
.license-wrapper {
|
318
|
-
line-height: 1.2rem;
|
319
|
-
|
320
|
-
> a {
|
321
|
-
color: var(--text-color);
|
322
|
-
|
323
|
-
&:hover {
|
324
|
-
@extend %link-hover;
|
325
|
-
}
|
326
|
-
}
|
327
|
-
|
328
|
-
span:last-child {
|
329
|
-
font-size: 0.85rem;
|
330
|
-
}
|
331
|
-
|
332
|
-
} /* .license-wrapper */
|
333
|
-
|
334
|
-
@media all and (max-width: 576px) {
|
335
|
-
.preview-img[data-src] {
|
336
|
-
margin-top: 2.2rem;
|
337
|
-
}
|
338
|
-
|
339
|
-
.post-tail-bottom {
|
340
|
-
-ms-flex-wrap: wrap-reverse !important;
|
341
|
-
flex-wrap: wrap-reverse !important;
|
342
|
-
|
343
|
-
> div:first-child {
|
344
|
-
width: 100%;
|
345
|
-
margin-top: 1rem;
|
346
|
-
}
|
347
|
-
}
|
348
|
-
}
|
349
|
-
|
350
|
-
@media all and (max-width: 768px) {
|
351
|
-
.post-content > p > img {
|
352
|
-
max-width: calc(100% + 1rem);
|
353
|
-
}
|
354
|
-
}
|
355
|
-
|
356
|
-
/* Hide SideBar and TOC */
|
357
|
-
@media all and (max-width: 849px) {
|
358
|
-
.post-navigation {
|
359
|
-
padding-left: 0;
|
360
|
-
padding-right: 0;
|
361
|
-
margin-left: -0.5rem;
|
362
|
-
margin-right: -0.5rem;
|
363
|
-
}
|
364
|
-
|
365
|
-
.preview-img[data-src] {
|
366
|
-
max-width: 100vw;
|
367
|
-
border-radius: 0;
|
368
|
-
}
|
369
|
-
}
|
1
|
+
/*
|
2
|
+
Post-specific style
|
3
|
+
*/
|
4
|
+
|
5
|
+
@mixin btn-sharing-color($light-color, $important: false) {
|
6
|
+
@if $important {
|
7
|
+
color: var(--btn-share-color, $light-color) !important;
|
8
|
+
} @else {
|
9
|
+
color: var(--btn-share-color, $light-color);
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
@mixin btn-post-nav {
|
14
|
+
width: 50%;
|
15
|
+
position: relative;
|
16
|
+
border-color: var(--btn-border-color);
|
17
|
+
}
|
18
|
+
|
19
|
+
@mixin dot($pl: 0.25rem, $pr: 0.25rem) {
|
20
|
+
content: "\2022";
|
21
|
+
padding-left: $pl;
|
22
|
+
padding-right: $pr;
|
23
|
+
}
|
24
|
+
|
25
|
+
%text-color {
|
26
|
+
color: var(--text-color);
|
27
|
+
}
|
28
|
+
|
29
|
+
h1 + .post-meta {
|
30
|
+
span + span::before {
|
31
|
+
@include dot;
|
32
|
+
}
|
33
|
+
|
34
|
+
em {
|
35
|
+
@extend %text-color;
|
36
|
+
|
37
|
+
a {
|
38
|
+
@extend %text-color;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
img.preview-img {
|
44
|
+
margin: 0;
|
45
|
+
border-radius: 6px;
|
46
|
+
|
47
|
+
&.bg[data-loaded=true] {
|
48
|
+
background: var(--preview-img-bg);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.post-tail-wrapper {
|
53
|
+
margin-top: 6rem;
|
54
|
+
border-bottom: 1px double var(--main-border-color);
|
55
|
+
font-size: 0.85rem;
|
56
|
+
|
57
|
+
.post-meta a:not(:hover) {
|
58
|
+
@extend %link-underline;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.post-tags {
|
63
|
+
line-height: 2rem;
|
64
|
+
}
|
65
|
+
|
66
|
+
.post-navigation {
|
67
|
+
padding-top: 3rem;
|
68
|
+
padding-bottom: 4rem;
|
69
|
+
|
70
|
+
.btn {
|
71
|
+
@include btn-post-nav;
|
72
|
+
|
73
|
+
color: var(--link-color);
|
74
|
+
|
75
|
+
&:hover {
|
76
|
+
background: #2a408e;
|
77
|
+
color: #fff;
|
78
|
+
border-color: #2a408e;
|
79
|
+
}
|
80
|
+
|
81
|
+
&.disabled {
|
82
|
+
@include btn-post-nav;
|
83
|
+
|
84
|
+
pointer-events: auto;
|
85
|
+
cursor: not-allowed;
|
86
|
+
background: none;
|
87
|
+
color: gray;
|
88
|
+
|
89
|
+
&:hover {
|
90
|
+
border-color: none;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
&.btn-outline-primary.disabled:focus {
|
95
|
+
box-shadow: none;
|
96
|
+
}
|
97
|
+
|
98
|
+
&::before {
|
99
|
+
color: var(--text-muted-color);
|
100
|
+
font-size: 0.65rem;
|
101
|
+
text-transform: uppercase;
|
102
|
+
content: attr(prompt);
|
103
|
+
}
|
104
|
+
|
105
|
+
&:first-child {
|
106
|
+
border-top-right-radius: 0;
|
107
|
+
border-bottom-right-radius: 0;
|
108
|
+
left: 0.5px;
|
109
|
+
}
|
110
|
+
|
111
|
+
&:last-child {
|
112
|
+
border-top-left-radius: 0;
|
113
|
+
border-bottom-left-radius: 0;
|
114
|
+
right: 0.5px;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
p {
|
119
|
+
font-size: 1.1rem;
|
120
|
+
line-height: 1.5rem;
|
121
|
+
margin-top: 0.3rem;
|
122
|
+
white-space: normal;
|
123
|
+
}
|
124
|
+
|
125
|
+
} /* .post-navigation */
|
126
|
+
|
127
|
+
@keyframes fade-up {
|
128
|
+
from {
|
129
|
+
opacity: 0;
|
130
|
+
position: relative;
|
131
|
+
top: 2rem;
|
132
|
+
}
|
133
|
+
to {
|
134
|
+
opacity: 1;
|
135
|
+
position: relative;
|
136
|
+
top: 0;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
#toc-wrapper {
|
141
|
+
border-left: 1px solid rgba(158, 158, 158, 0.17);
|
142
|
+
position: -webkit-sticky;
|
143
|
+
position: sticky;
|
144
|
+
top: 4rem;
|
145
|
+
transition: top 0.2s ease-in-out;
|
146
|
+
animation: fade-up 0.8s;
|
147
|
+
}
|
148
|
+
|
149
|
+
#toc li a {
|
150
|
+
font-size: 0.8rem;
|
151
|
+
|
152
|
+
&.nav-link:not(.active) {
|
153
|
+
color: inherit;
|
154
|
+
}
|
155
|
+
|
156
|
+
}
|
157
|
+
|
158
|
+
nav[data-toggle=toc] {
|
159
|
+
.nav {
|
160
|
+
.nav > li > a.active {
|
161
|
+
font-weight: 600 !important;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
/* --- Related Posts --- */
|
167
|
+
|
168
|
+
#related-posts {
|
169
|
+
> h3 {
|
170
|
+
@include label(1.1rem, 600);
|
171
|
+
}
|
172
|
+
|
173
|
+
em {
|
174
|
+
@extend %normal-font-style;
|
175
|
+
|
176
|
+
color: var(--relate-post-date);
|
177
|
+
}
|
178
|
+
|
179
|
+
.card {
|
180
|
+
border-color: var(--card-border-color);
|
181
|
+
background-color: var(--card-bg);
|
182
|
+
box-shadow: 0 0 5px 0 var(--card-box-shadow);
|
183
|
+
-webkit-transition: all 0.3s ease-in-out;
|
184
|
+
-moz-transition: all 0.3s ease-in-out;
|
185
|
+
transition: all 0.3s ease-in-out;
|
186
|
+
|
187
|
+
h3 {
|
188
|
+
@extend %text-color;
|
189
|
+
}
|
190
|
+
|
191
|
+
&:hover {
|
192
|
+
-webkit-transform: translate3d(0, -3px, 0);
|
193
|
+
transform: translate3d(0, -3px, 0);
|
194
|
+
box-shadow: 0 10px 15px -4px rgba(0, 0, 0, 0.15);
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
p {
|
199
|
+
font-size: 0.9rem;
|
200
|
+
margin-bottom: 0.5rem;
|
201
|
+
overflow: hidden;
|
202
|
+
text-overflow: ellipsis;
|
203
|
+
display: -webkit-box;
|
204
|
+
-webkit-line-clamp: 2;
|
205
|
+
-webkit-box-orient: vertical;
|
206
|
+
}
|
207
|
+
|
208
|
+
a:hover {
|
209
|
+
text-decoration: none;
|
210
|
+
}
|
211
|
+
|
212
|
+
ul {
|
213
|
+
list-style-type: none;
|
214
|
+
padding-inline-start: 1.5rem;
|
215
|
+
|
216
|
+
> li::before {
|
217
|
+
background: #c2c9d4;
|
218
|
+
width: 5px;
|
219
|
+
height: 5px;
|
220
|
+
border-radius: 1px;
|
221
|
+
display: block;
|
222
|
+
content: "";
|
223
|
+
position: relative;
|
224
|
+
top: 1rem;
|
225
|
+
right: 1rem;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
#tail-wrapper {
|
231
|
+
min-height: 2rem;
|
232
|
+
|
233
|
+
> div:last-of-type {
|
234
|
+
margin-bottom: 2rem;
|
235
|
+
}
|
236
|
+
|
237
|
+
#disqus_thread {
|
238
|
+
min-height: 8.5rem;
|
239
|
+
}
|
240
|
+
|
241
|
+
}
|
242
|
+
|
243
|
+
.post-tail-bottom a {
|
244
|
+
color: inherit;
|
245
|
+
}
|
246
|
+
|
247
|
+
%btn-share-hovor {
|
248
|
+
color: var(--btn-share-hover-color) !important;
|
249
|
+
}
|
250
|
+
|
251
|
+
.share-wrapper {
|
252
|
+
vertical-align: middle;
|
253
|
+
user-select: none;
|
254
|
+
|
255
|
+
.share-icons {
|
256
|
+
font-size: 1.2rem;
|
257
|
+
|
258
|
+
a {
|
259
|
+
&:not(:last-child) {
|
260
|
+
margin-right: 0.25rem;
|
261
|
+
}
|
262
|
+
|
263
|
+
&:hover {
|
264
|
+
text-decoration: none;
|
265
|
+
|
266
|
+
> i {
|
267
|
+
@extend %btn-share-hovor;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
|
272
|
+
> i {
|
273
|
+
position: relative;
|
274
|
+
bottom: 1px;
|
275
|
+
|
276
|
+
@extend %cursor-pointer;
|
277
|
+
|
278
|
+
&:hover {
|
279
|
+
@extend %btn-share-hovor;
|
280
|
+
}
|
281
|
+
}
|
282
|
+
|
283
|
+
.fab {
|
284
|
+
&.fa-twitter {
|
285
|
+
@include btn-sharing-color(rgba(29, 161, 242, 1));
|
286
|
+
}
|
287
|
+
|
288
|
+
&.fa-facebook-square {
|
289
|
+
@include btn-sharing-color(rgb(66, 95, 156));
|
290
|
+
}
|
291
|
+
|
292
|
+
&.fa-telegram {
|
293
|
+
@include btn-sharing-color(rgb(39, 159, 217));
|
294
|
+
}
|
295
|
+
|
296
|
+
&.fa-weibo {
|
297
|
+
@include btn-sharing-color(rgb(229, 20, 43));
|
298
|
+
}
|
299
|
+
}
|
300
|
+
|
301
|
+
} /* .share-icons */
|
302
|
+
|
303
|
+
.fas.fa-link {
|
304
|
+
@include btn-sharing-color(rgb(171, 171, 171));
|
305
|
+
}
|
306
|
+
|
307
|
+
} /* .share-wrapper */
|
308
|
+
|
309
|
+
.share-label {
|
310
|
+
@include label(inherit, 400, inherit);
|
311
|
+
|
312
|
+
&::after {
|
313
|
+
content: ":";
|
314
|
+
}
|
315
|
+
}
|
316
|
+
|
317
|
+
.license-wrapper {
|
318
|
+
line-height: 1.2rem;
|
319
|
+
|
320
|
+
> a {
|
321
|
+
color: var(--text-color);
|
322
|
+
|
323
|
+
&:hover {
|
324
|
+
@extend %link-hover;
|
325
|
+
}
|
326
|
+
}
|
327
|
+
|
328
|
+
span:last-child {
|
329
|
+
font-size: 0.85rem;
|
330
|
+
}
|
331
|
+
|
332
|
+
} /* .license-wrapper */
|
333
|
+
|
334
|
+
@media all and (max-width: 576px) {
|
335
|
+
.preview-img[data-src] {
|
336
|
+
margin-top: 2.2rem;
|
337
|
+
}
|
338
|
+
|
339
|
+
.post-tail-bottom {
|
340
|
+
-ms-flex-wrap: wrap-reverse !important;
|
341
|
+
flex-wrap: wrap-reverse !important;
|
342
|
+
|
343
|
+
> div:first-child {
|
344
|
+
width: 100%;
|
345
|
+
margin-top: 1rem;
|
346
|
+
}
|
347
|
+
}
|
348
|
+
}
|
349
|
+
|
350
|
+
@media all and (max-width: 768px) {
|
351
|
+
.post-content > p > img {
|
352
|
+
max-width: calc(100% + 1rem);
|
353
|
+
}
|
354
|
+
}
|
355
|
+
|
356
|
+
/* Hide SideBar and TOC */
|
357
|
+
@media all and (max-width: 849px) {
|
358
|
+
.post-navigation {
|
359
|
+
padding-left: 0;
|
360
|
+
padding-right: 0;
|
361
|
+
margin-left: -0.5rem;
|
362
|
+
margin-right: -0.5rem;
|
363
|
+
}
|
364
|
+
|
365
|
+
.preview-img[data-src] {
|
366
|
+
max-width: 100vw;
|
367
|
+
border-radius: 0;
|
368
|
+
}
|
369
|
+
}
|