hexo-theme-shokax 0.0.1-alpha1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/LICENSE-shoka +21 -0
- package/README.md +47 -0
- package/_config.yml +353 -0
- package/_images.yml +99 -0
- package/languages/README.md +19 -0
- package/languages/default.yml +1 -0
- package/languages/en.yml +151 -0
- package/languages/ja.yml +146 -0
- package/languages/zh-CN.yml +154 -0
- package/languages/zh-HK.yml +146 -0
- package/languages/zh-TW.yml +146 -0
- package/layout/_alternate/atom.ejs +30 -0
- package/layout/_alternate/json.ejs +16 -0
- package/layout/_alternate/rss.ejs +34 -0
- package/layout/_mixin/breadcrumb.pug +33 -0
- package/layout/_mixin/card.pug +37 -0
- package/layout/_mixin/comment.pug +10 -0
- package/layout/_mixin/postmeta.pug +30 -0
- package/layout/_mixin/segment.pug +32 -0
- package/layout/_mixin/sidebar.pug +36 -0
- package/layout/_mixin/widgets.pug +29 -0
- package/layout/_partials/footer.pug +61 -0
- package/layout/_partials/head/head.pug +54 -0
- package/layout/_partials/head/head_com.pug +17 -0
- package/layout/_partials/head/pwa.pug +17 -0
- package/layout/_partials/header.pug +19 -0
- package/layout/_partials/layout.pug +143 -0
- package/layout/_partials/loading.pug +13 -0
- package/layout/_partials/pagination.pug +4 -0
- package/layout/_partials/post/copyright.pug +20 -0
- package/layout/_partials/post/footer.pug +13 -0
- package/layout/_partials/post/nav.pug +13 -0
- package/layout/_partials/post/post.pug +26 -0
- package/layout/_partials/post/reward.pug +18 -0
- package/layout/_partials/sidebar/menu.pug +37 -0
- package/layout/_partials/sidebar/overview.pug +40 -0
- package/layout/_partials/third-party/baidu-analytics.pug +11 -0
- package/layout/_partials/third-party/clarity.pug +8 -0
- package/layout/_partials/third-party/qweather.pug +35 -0
- package/layout/archive.pug +31 -0
- package/layout/category.pug +66 -0
- package/layout/index.pug +33 -0
- package/layout/page.pug +56 -0
- package/layout/post.pug +35 -0
- package/layout/tag.pug +43 -0
- package/package.json +35 -0
- package/scripts/filters/locals.js +57 -0
- package/scripts/filters/post.js +23 -0
- package/scripts/generaters/archive.js +141 -0
- package/scripts/generaters/config.js +43 -0
- package/scripts/generaters/images.js +26 -0
- package/scripts/generaters/index.js +110 -0
- package/scripts/generaters/pages.js +19 -0
- package/scripts/generaters/script.js +81 -0
- package/scripts/helpers/asset.js +237 -0
- package/scripts/helpers/engine.js +183 -0
- package/scripts/helpers/list_categories.js +140 -0
- package/scripts/helpers/symbols_count_time.js +76 -0
- package/scripts/tags/links.js +86 -0
- package/scripts/tags/media.js +19 -0
- package/source/assets/404.png +0 -0
- package/source/assets/algolia_logo.svg +9 -0
- package/source/assets/apple-touch-icon.png +0 -0
- package/source/assets/beian.webp +0 -0
- package/source/assets/failure.ico +0 -0
- package/source/assets/favicon.ico +0 -0
- package/source/assets/logo.svg +16 -0
- package/source/assets/play_disc.png +0 -0
- package/source/assets/play_needle.png +0 -0
- package/source/assets/search.png +0 -0
- package/source/css/_colors.styl +207 -0
- package/source/css/_common/components/components.styl +6 -0
- package/source/css/_common/components/highlight/highlight.styl +353 -0
- package/source/css/_common/components/highlight/operation.styl +21 -0
- package/source/css/_common/components/pages/collapse.styl +119 -0
- package/source/css/_common/components/pages/home.styl +385 -0
- package/source/css/_common/components/pages/pages.styl +56 -0
- package/source/css/_common/components/pages/tag-cloud.styl +12 -0
- package/source/css/_common/components/post/breadcrumb.styl +39 -0
- package/source/css/_common/components/post/copyright.styl +41 -0
- package/source/css/_common/components/post/expand.styl +264 -0
- package/source/css/_common/components/post/footer.styl +11 -0
- package/source/css/_common/components/post/header.styl +79 -0
- package/source/css/_common/components/post/nav.styl +63 -0
- package/source/css/_common/components/post/post.styl +29 -0
- package/source/css/_common/components/post/reward.styl +50 -0
- package/source/css/_common/components/post/rtl.styl +12 -0
- package/source/css/_common/components/post/tags.styl +39 -0
- package/source/css/_common/components/tags/collapse.styl +72 -0
- package/source/css/_common/components/tags/container.styl +49 -0
- package/source/css/_common/components/tags/label.styl +12 -0
- package/source/css/_common/components/tags/links.styl +77 -0
- package/source/css/_common/components/tags/list.styl +131 -0
- package/source/css/_common/components/tags/note.styl +70 -0
- package/source/css/_common/components/tags/player.styl +361 -0
- package/source/css/_common/components/tags/quiz.styl +200 -0
- package/source/css/_common/components/tags/tabs.styl +83 -0
- package/source/css/_common/components/tags/tags.styl +9 -0
- package/source/css/_common/components/third-party/loading.styl +222 -0
- package/source/css/_common/components/third-party/mermaid/class.styl +90 -0
- package/source/css/_common/components/third-party/mermaid/flowchart.styl +72 -0
- package/source/css/_common/components/third-party/mermaid/gantt.styl +251 -0
- package/source/css/_common/components/third-party/mermaid/git.styl +7 -0
- package/source/css/_common/components/third-party/mermaid/mermaid.styl +37 -0
- package/source/css/_common/components/third-party/mermaid/pie.styl +9 -0
- package/source/css/_common/components/third-party/mermaid/sequence.styl +95 -0
- package/source/css/_common/components/third-party/mermaid/state.styl +130 -0
- package/source/css/_common/components/third-party/pace.styl +18 -0
- package/source/css/_common/components/third-party/search.styl +167 -0
- package/source/css/_common/components/third-party/theme.styl +151 -0
- package/source/css/_common/components/third-party/third-party.styl +22 -0
- package/source/css/_common/components/third-party/valine.styl +548 -0
- package/source/css/_common/components/third-party/widgets.styl +57 -0
- package/source/css/_common/outline/footer/footer.styl +69 -0
- package/source/css/_common/outline/header/brand.styl +77 -0
- package/source/css/_common/outline/header/header.styl +20 -0
- package/source/css/_common/outline/header/image.styl +79 -0
- package/source/css/_common/outline/header/menu.styl +117 -0
- package/source/css/_common/outline/header/nav.styl +81 -0
- package/source/css/_common/outline/header/right.styl +15 -0
- package/source/css/_common/outline/header/tool.styl +207 -0
- package/source/css/_common/outline/header/waves.styl +50 -0
- package/source/css/_common/outline/mobile.styl +46 -0
- package/source/css/_common/outline/outline.styl +78 -0
- package/source/css/_common/outline/sidebar/author.styl +59 -0
- package/source/css/_common/outline/sidebar/dimmer.styl +23 -0
- package/source/css/_common/outline/sidebar/menu.styl +63 -0
- package/source/css/_common/outline/sidebar/quick.styl +43 -0
- package/source/css/_common/outline/sidebar/related.styl +56 -0
- package/source/css/_common/outline/sidebar/sidebar.styl +75 -0
- package/source/css/_common/outline/sidebar/social.styl +69 -0
- package/source/css/_common/outline/sidebar/state.styl +37 -0
- package/source/css/_common/outline/sidebar/tab.styl +71 -0
- package/source/css/_common/outline/sidebar/toc.styl +47 -0
- package/source/css/_common/scaffolding/animate.styl +318 -0
- package/source/css/_common/scaffolding/base.styl +172 -0
- package/source/css/_common/scaffolding/buttons.styl +48 -0
- package/source/css/_common/scaffolding/divider.styl +36 -0
- package/source/css/_common/scaffolding/iconfont.styl +443 -0
- package/source/css/_common/scaffolding/normalize.styl +289 -0
- package/source/css/_common/scaffolding/pagination.styl +81 -0
- package/source/css/_common/scaffolding/ribbon.styl +38 -0
- package/source/css/_common/scaffolding/scaffolding.styl +14 -0
- package/source/css/_common/scaffolding/scrollbar.styl +37 -0
- package/source/css/_common/scaffolding/tables.styl +50 -0
- package/source/css/_common/scaffolding/tip.styl +19 -0
- package/source/css/_common/scaffolding/toggles.styl +59 -0
- package/source/css/_iconfont.styl +451 -0
- package/source/css/_mixins.styl +146 -0
- package/source/css/_variables.styl +89 -0
- package/source/css/app.styl +27 -0
- package/source/css/comment.styl +5 -0
- package/source/css/mermaid.styl +5 -0
- package/source/css/plugin.styl +174 -0
- package/source/css/twikoo.css +2002 -0
- package/source/js/_app/components.js +330 -0
- package/source/js/_app/global.js +317 -0
- package/source/js/_app/library.js +302 -0
- package/source/js/_app/page.js +623 -0
- package/source/js/_app/player.js +748 -0
- package/source/js/_app/vue.js +43 -0
@@ -0,0 +1,443 @@
|
|
1
|
+
.i-volume-off:before {
|
2
|
+
content: "\e61e";
|
3
|
+
}
|
4
|
+
|
5
|
+
.i-volume-on:before {
|
6
|
+
content: "\e62c";
|
7
|
+
}
|
8
|
+
|
9
|
+
.i-circle-play:before {
|
10
|
+
content: "\e647";
|
11
|
+
}
|
12
|
+
|
13
|
+
.i-forward:before {
|
14
|
+
content: "\e648";
|
15
|
+
}
|
16
|
+
|
17
|
+
.i-backward:before {
|
18
|
+
content: "\e649";
|
19
|
+
}
|
20
|
+
|
21
|
+
.i-circle-pause:before {
|
22
|
+
content: "\e64a";
|
23
|
+
}
|
24
|
+
|
25
|
+
.i-loop:before {
|
26
|
+
content: "\e64b";
|
27
|
+
}
|
28
|
+
|
29
|
+
.i-order:before {
|
30
|
+
content: "\e64c";
|
31
|
+
}
|
32
|
+
|
33
|
+
.i-random:before {
|
34
|
+
content: "\e64d";
|
35
|
+
}
|
36
|
+
|
37
|
+
.i-douban:before {
|
38
|
+
content: "\e75f";
|
39
|
+
}
|
40
|
+
|
41
|
+
.i-linux:before {
|
42
|
+
content: "\f1e8";
|
43
|
+
}
|
44
|
+
|
45
|
+
.i-opera:before {
|
46
|
+
content: "\f205";
|
47
|
+
}
|
48
|
+
|
49
|
+
.i-qq:before {
|
50
|
+
content: "\f216";
|
51
|
+
}
|
52
|
+
|
53
|
+
.i-safari:before {
|
54
|
+
content: "\f229";
|
55
|
+
}
|
56
|
+
|
57
|
+
.i-snapchat-ghost:before {
|
58
|
+
content: "\f234";
|
59
|
+
}
|
60
|
+
|
61
|
+
.i-weixin:before {
|
62
|
+
content: "\f262";
|
63
|
+
}
|
64
|
+
|
65
|
+
.i-windows:before {
|
66
|
+
content: "\f266";
|
67
|
+
}
|
68
|
+
|
69
|
+
.i-stars:before {
|
70
|
+
content: "\e8c4";
|
71
|
+
}
|
72
|
+
|
73
|
+
.i-apple:before {
|
74
|
+
content: "\e600";
|
75
|
+
}
|
76
|
+
|
77
|
+
.i-blackberry:before {
|
78
|
+
content: "\e601";
|
79
|
+
}
|
80
|
+
|
81
|
+
.i-centos:before {
|
82
|
+
content: "\e602";
|
83
|
+
}
|
84
|
+
|
85
|
+
.i-fedora:before {
|
86
|
+
content: "\e603";
|
87
|
+
}
|
88
|
+
|
89
|
+
.i-redhat:before {
|
90
|
+
content: "\e604";
|
91
|
+
}
|
92
|
+
|
93
|
+
.i-ubuntu:before {
|
94
|
+
content: "\e605";
|
95
|
+
}
|
96
|
+
|
97
|
+
.i-suse:before {
|
98
|
+
content: "\e606";
|
99
|
+
}
|
100
|
+
|
101
|
+
.i-mobile-alt:before {
|
102
|
+
content: "\f052";
|
103
|
+
}
|
104
|
+
|
105
|
+
.i-paw:before {
|
106
|
+
content: "\f06b";
|
107
|
+
}
|
108
|
+
|
109
|
+
.i-android:before {
|
110
|
+
content: "\f161";
|
111
|
+
}
|
112
|
+
|
113
|
+
.i-chrome:before {
|
114
|
+
content: "\f178";
|
115
|
+
}
|
116
|
+
|
117
|
+
.i-edge:before {
|
118
|
+
content: "\f195";
|
119
|
+
}
|
120
|
+
|
121
|
+
.i-firefox:before {
|
122
|
+
content: "\f1a1";
|
123
|
+
}
|
124
|
+
|
125
|
+
.i-internet-explorer:before {
|
126
|
+
content: "\f1d4";
|
127
|
+
}
|
128
|
+
|
129
|
+
.i-markdown:before {
|
130
|
+
content: "\f1eb";
|
131
|
+
}
|
132
|
+
|
133
|
+
.i-smile:before {
|
134
|
+
content: "\f2a5";
|
135
|
+
}
|
136
|
+
|
137
|
+
.i-preview:before {
|
138
|
+
content: "\e901";
|
139
|
+
}
|
140
|
+
|
141
|
+
.i-share:before {
|
142
|
+
content: "\e61b";
|
143
|
+
}
|
144
|
+
|
145
|
+
.i-link-circle:before {
|
146
|
+
content: "\e67b";
|
147
|
+
}
|
148
|
+
|
149
|
+
.i-person:before {
|
150
|
+
content: "\e69d";
|
151
|
+
}
|
152
|
+
|
153
|
+
.i-sun:before {
|
154
|
+
content: "\e6d1";
|
155
|
+
}
|
156
|
+
|
157
|
+
.i-moon:before {
|
158
|
+
content: "\e71e";
|
159
|
+
}
|
160
|
+
|
161
|
+
.i-compress:before {
|
162
|
+
content: "\ef82";
|
163
|
+
}
|
164
|
+
|
165
|
+
.i-expand:before {
|
166
|
+
content: "\efb4";
|
167
|
+
}
|
168
|
+
|
169
|
+
.i-align-justify:before {
|
170
|
+
content: "\ef13";
|
171
|
+
}
|
172
|
+
|
173
|
+
.i-align-left:before {
|
174
|
+
content: "\ef14";
|
175
|
+
}
|
176
|
+
|
177
|
+
.i-eye:before {
|
178
|
+
content: "\efb8";
|
179
|
+
}
|
180
|
+
|
181
|
+
.i-pen:before {
|
182
|
+
content: "\f071";
|
183
|
+
}
|
184
|
+
|
185
|
+
.i-clock:before {
|
186
|
+
content: "\ef75";
|
187
|
+
}
|
188
|
+
|
189
|
+
.i-flag:before {
|
190
|
+
content: "\e680";
|
191
|
+
}
|
192
|
+
|
193
|
+
.i-at:before {
|
194
|
+
content: "\e619";
|
195
|
+
}
|
196
|
+
|
197
|
+
.i-file:before {
|
198
|
+
content: "\e68d";
|
199
|
+
}
|
200
|
+
|
201
|
+
.i-clipboard:before {
|
202
|
+
content: "\e651";
|
203
|
+
}
|
204
|
+
|
205
|
+
.i-feather:before {
|
206
|
+
content: "\efbd";
|
207
|
+
}
|
208
|
+
|
209
|
+
.i-music:before {
|
210
|
+
content: "\f059";
|
211
|
+
}
|
212
|
+
|
213
|
+
.i-pause:before {
|
214
|
+
content: "\f06a";
|
215
|
+
}
|
216
|
+
|
217
|
+
.i-comments:before {
|
218
|
+
content: "\ef7f";
|
219
|
+
}
|
220
|
+
|
221
|
+
.i-play:before {
|
222
|
+
content: "\f07f";
|
223
|
+
}
|
224
|
+
|
225
|
+
.i-calendar-check:before {
|
226
|
+
content: "\ef5b";
|
227
|
+
}
|
228
|
+
|
229
|
+
.i-angle-up:before {
|
230
|
+
content: "\ef1b";
|
231
|
+
}
|
232
|
+
|
233
|
+
.i-facebook:before {
|
234
|
+
content: "\f19d";
|
235
|
+
}
|
236
|
+
|
237
|
+
.i-instagram:before {
|
238
|
+
content: "\f1d3";
|
239
|
+
}
|
240
|
+
|
241
|
+
.i-skype:before {
|
242
|
+
content: "\f231";
|
243
|
+
}
|
244
|
+
|
245
|
+
.i-stack-overflow:before {
|
246
|
+
content: "\f239";
|
247
|
+
}
|
248
|
+
|
249
|
+
.i-youtube:before {
|
250
|
+
content: "\f274";
|
251
|
+
}
|
252
|
+
|
253
|
+
.i-list-alt:before {
|
254
|
+
content: "\e6c1";
|
255
|
+
}
|
256
|
+
|
257
|
+
.i-star:before {
|
258
|
+
content: "\f0d4";
|
259
|
+
}
|
260
|
+
|
261
|
+
.i-link-alt:before {
|
262
|
+
content: "\f037";
|
263
|
+
}
|
264
|
+
|
265
|
+
.i-paper-plane:before {
|
266
|
+
content: "\f063";
|
267
|
+
}
|
268
|
+
|
269
|
+
.i-user:before {
|
270
|
+
content: "\f2dd";
|
271
|
+
}
|
272
|
+
|
273
|
+
.i-link:before {
|
274
|
+
content: "\e8fc";
|
275
|
+
}
|
276
|
+
|
277
|
+
.i-angle-down:before {
|
278
|
+
content: "\ef1a";
|
279
|
+
}
|
280
|
+
|
281
|
+
.i-calendar:before {
|
282
|
+
content: "\e812";
|
283
|
+
}
|
284
|
+
|
285
|
+
.i-home:before {
|
286
|
+
content: "\e8ed";
|
287
|
+
}
|
288
|
+
|
289
|
+
.i-magic:before {
|
290
|
+
content: "\f03e";
|
291
|
+
}
|
292
|
+
|
293
|
+
.i-sakura:before {
|
294
|
+
content: "\e695";
|
295
|
+
}
|
296
|
+
|
297
|
+
.i-tag:before {
|
298
|
+
content: "\e759";
|
299
|
+
}
|
300
|
+
|
301
|
+
.i-angle-left:before {
|
302
|
+
content: "\ef19";
|
303
|
+
}
|
304
|
+
|
305
|
+
.i-arrow-circle-right:before {
|
306
|
+
content: "\ef23";
|
307
|
+
}
|
308
|
+
|
309
|
+
.i-check-circle:before {
|
310
|
+
content: "\ef66";
|
311
|
+
}
|
312
|
+
|
313
|
+
.i-exclamation-circle:before {
|
314
|
+
content: "\efb5";
|
315
|
+
}
|
316
|
+
|
317
|
+
.i-info-circle:before {
|
318
|
+
content: "\f02b";
|
319
|
+
}
|
320
|
+
|
321
|
+
.i-minus-circle:before {
|
322
|
+
content: "\f050";
|
323
|
+
}
|
324
|
+
|
325
|
+
.i-plus-circle:before {
|
326
|
+
content: "\f082";
|
327
|
+
}
|
328
|
+
|
329
|
+
.i-file-word:before {
|
330
|
+
content: "\f299";
|
331
|
+
}
|
332
|
+
|
333
|
+
.i-check:before {
|
334
|
+
content: "\ef65";
|
335
|
+
}
|
336
|
+
|
337
|
+
.i-times:before {
|
338
|
+
content: "\f109";
|
339
|
+
}
|
340
|
+
|
341
|
+
.i-list-ol:before {
|
342
|
+
content: "\f039";
|
343
|
+
}
|
344
|
+
|
345
|
+
.i-archive:before {
|
346
|
+
content: "\ef1c";
|
347
|
+
}
|
348
|
+
|
349
|
+
.i-angle-right:before {
|
350
|
+
content: "\ef1f";
|
351
|
+
}
|
352
|
+
|
353
|
+
.i-arrow-down:before {
|
354
|
+
content: "\ef25";
|
355
|
+
}
|
356
|
+
|
357
|
+
.i-arrow-up:before {
|
358
|
+
content: "\ef2a";
|
359
|
+
}
|
360
|
+
|
361
|
+
.i-chart-area:before {
|
362
|
+
content: "\ef64";
|
363
|
+
}
|
364
|
+
|
365
|
+
.i-chevron-left:before {
|
366
|
+
content: "\ef6e";
|
367
|
+
}
|
368
|
+
|
369
|
+
.i-chevron-right:before {
|
370
|
+
content: "\ef6f";
|
371
|
+
}
|
372
|
+
|
373
|
+
.i-coffee:before {
|
374
|
+
content: "\ef7a";
|
375
|
+
}
|
376
|
+
|
377
|
+
.i-envelope:before {
|
378
|
+
content: "\efae";
|
379
|
+
}
|
380
|
+
|
381
|
+
.i-external-link-alt:before {
|
382
|
+
content: "\efb6";
|
383
|
+
}
|
384
|
+
|
385
|
+
.i-heart:before {
|
386
|
+
content: "\f013";
|
387
|
+
}
|
388
|
+
|
389
|
+
.i-heartbeat:before {
|
390
|
+
content: "\f017";
|
391
|
+
}
|
392
|
+
|
393
|
+
.i-search:before {
|
394
|
+
content: "\f0a8";
|
395
|
+
}
|
396
|
+
|
397
|
+
.i-sitemap:before {
|
398
|
+
content: "\f0bd";
|
399
|
+
}
|
400
|
+
|
401
|
+
.i-tags:before {
|
402
|
+
content: "\f0f3";
|
403
|
+
}
|
404
|
+
|
405
|
+
.i-th:before {
|
406
|
+
content: "\f0fc";
|
407
|
+
}
|
408
|
+
|
409
|
+
.i-thumbtack:before {
|
410
|
+
content: "\f107";
|
411
|
+
}
|
412
|
+
|
413
|
+
.i-times-circle:before {
|
414
|
+
content: "\f10a";
|
415
|
+
}
|
416
|
+
|
417
|
+
.i-creative-commons:before {
|
418
|
+
content: "\f17e";
|
419
|
+
}
|
420
|
+
|
421
|
+
.i-github:before {
|
422
|
+
content: "\f1b4";
|
423
|
+
}
|
424
|
+
|
425
|
+
.i-twitter:before {
|
426
|
+
content: "\f24d";
|
427
|
+
}
|
428
|
+
|
429
|
+
.i-weibo:before {
|
430
|
+
content: "\f261";
|
431
|
+
}
|
432
|
+
|
433
|
+
.i-address-card:before {
|
434
|
+
content: "\f278";
|
435
|
+
}
|
436
|
+
|
437
|
+
.i-zhihu:before {
|
438
|
+
content: "\e765";
|
439
|
+
}
|
440
|
+
|
441
|
+
.i-cloud-music:before {
|
442
|
+
content: "\e76a";
|
443
|
+
}
|
@@ -0,0 +1,289 @@
|
|
1
|
+
/* normalize.css v8..1 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
/* Document
|
3
|
+
========================================================================== */
|
4
|
+
/**
|
5
|
+
* 1. Correct the line height in all browsers.
|
6
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
7
|
+
*/
|
8
|
+
html {
|
9
|
+
line-height: 1.15; /* 1 */
|
10
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
11
|
+
}
|
12
|
+
|
13
|
+
/* Sections
|
14
|
+
========================================================================== */
|
15
|
+
/**
|
16
|
+
* Remove the margin in all browsers.
|
17
|
+
*/
|
18
|
+
body {
|
19
|
+
margin: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
/**
|
23
|
+
* Render the `main` element consistently in IE.
|
24
|
+
*/
|
25
|
+
main {
|
26
|
+
display: block;
|
27
|
+
}
|
28
|
+
|
29
|
+
/**
|
30
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
31
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
32
|
+
*/
|
33
|
+
h1 {
|
34
|
+
font-size: 2em;
|
35
|
+
margin: .67em 0;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* Grouping content
|
39
|
+
========================================================================== */
|
40
|
+
/**
|
41
|
+
* 1. Add the correct box sizing in Firefox.
|
42
|
+
* 2. Show the overflow in Edge and IE.
|
43
|
+
*/
|
44
|
+
hr {
|
45
|
+
box-sizing: content-box; /* 1 */
|
46
|
+
height: 0; /* 1 */
|
47
|
+
overflow: visible; /* 2 */
|
48
|
+
}
|
49
|
+
|
50
|
+
/**
|
51
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
52
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
53
|
+
*/
|
54
|
+
pre {
|
55
|
+
font-family: monospace, monospace; /* 1 */
|
56
|
+
font-size: 1em; /* 2 */
|
57
|
+
}
|
58
|
+
|
59
|
+
/* Text-level semantics
|
60
|
+
========================================================================== */
|
61
|
+
/**
|
62
|
+
* Remove the gray background on active links in IE 1.
|
63
|
+
*/
|
64
|
+
a {
|
65
|
+
background: transparent;
|
66
|
+
}
|
67
|
+
|
68
|
+
/**
|
69
|
+
* 1. Remove the bottom border in Chrome 57-
|
70
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
71
|
+
*/
|
72
|
+
abbr[title] {
|
73
|
+
border-bottom: none; /* 1 */
|
74
|
+
text-decoration: underline; /* 2 */
|
75
|
+
//text-decoration: underline dotted; /* 2 */
|
76
|
+
}
|
77
|
+
|
78
|
+
/**
|
79
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
80
|
+
*/
|
81
|
+
b, strong {
|
82
|
+
font-weight: bolder;
|
83
|
+
}
|
84
|
+
|
85
|
+
/**
|
86
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
87
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
88
|
+
*/
|
89
|
+
code, kbd, samp {
|
90
|
+
font-family: monospace, monospace; /* 1 */
|
91
|
+
font-size: 1em; /* 2 */
|
92
|
+
}
|
93
|
+
|
94
|
+
/**
|
95
|
+
* Add the correct font size in all browsers.
|
96
|
+
*/
|
97
|
+
small {
|
98
|
+
font-size: 80%;
|
99
|
+
}
|
100
|
+
|
101
|
+
/**
|
102
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
103
|
+
* all browsers.
|
104
|
+
*/
|
105
|
+
sub, sup {
|
106
|
+
font-size: 75%;
|
107
|
+
line-height: 0;
|
108
|
+
position: relative;
|
109
|
+
vertical-align: baseline;
|
110
|
+
}
|
111
|
+
|
112
|
+
sub {
|
113
|
+
bottom: -.25em;
|
114
|
+
}
|
115
|
+
|
116
|
+
sup {
|
117
|
+
top: -.5em;
|
118
|
+
}
|
119
|
+
|
120
|
+
/* Embedded content
|
121
|
+
========================================================================== */
|
122
|
+
/**
|
123
|
+
* Remove the border on images inside links in IE 1.
|
124
|
+
*/
|
125
|
+
img {
|
126
|
+
border-style: none;
|
127
|
+
}
|
128
|
+
|
129
|
+
/* Forms
|
130
|
+
========================================================================== */
|
131
|
+
/**
|
132
|
+
* 1. Change the font styles in all browsers.
|
133
|
+
* 2. Remove the margin in Firefox and Safari.
|
134
|
+
*/
|
135
|
+
button, input, optgroup, select, textarea {
|
136
|
+
font-family: inherit; /* 1 */
|
137
|
+
font-size: 100%; /* 1 */
|
138
|
+
line-height: 1.15; /* 1 */
|
139
|
+
margin: 0; /* 2 */
|
140
|
+
}
|
141
|
+
|
142
|
+
/**
|
143
|
+
* Show the overflow in IE.
|
144
|
+
* 1. Show the overflow in Edge.
|
145
|
+
*/
|
146
|
+
button, input {
|
147
|
+
/* 1 */
|
148
|
+
overflow: visible;
|
149
|
+
}
|
150
|
+
|
151
|
+
/**
|
152
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
153
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
154
|
+
*/
|
155
|
+
button, select {
|
156
|
+
/* 1 */
|
157
|
+
text-transform: none;
|
158
|
+
}
|
159
|
+
|
160
|
+
/**
|
161
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
162
|
+
*/
|
163
|
+
button, [type='button'], [type='reset'], [type='submit'] {
|
164
|
+
-webkit-appearance: button;
|
165
|
+
}
|
166
|
+
|
167
|
+
/**
|
168
|
+
* Remove the inner border and padding in Firefox.
|
169
|
+
*/
|
170
|
+
button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-moz-focus-inner, [type='submit']::-moz-focus-inner {
|
171
|
+
border-style: none;
|
172
|
+
padding: 0;
|
173
|
+
}
|
174
|
+
|
175
|
+
/**
|
176
|
+
* Restore the focus styles unset by the previous rule.
|
177
|
+
*/
|
178
|
+
button:-moz-focusring, [type='button']:-moz-focusring, [type='reset']:-moz-focusring, [type='submit']:-moz-focusring {
|
179
|
+
outline: .0625rem dotted ButtonText;
|
180
|
+
}
|
181
|
+
|
182
|
+
/**
|
183
|
+
* Correct the padding in Firefox.
|
184
|
+
*/
|
185
|
+
fieldset {
|
186
|
+
padding: .35em .75em .625em;
|
187
|
+
}
|
188
|
+
|
189
|
+
/**
|
190
|
+
* 1. Correct the text wrapping in Edge and IE.
|
191
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
192
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
193
|
+
* `fieldset` elements in all browsers.
|
194
|
+
*/
|
195
|
+
legend {
|
196
|
+
box-sizing: border-box; /* 1 */
|
197
|
+
color: inherit; /* 2 */
|
198
|
+
display: table; /* 1 */
|
199
|
+
max-width: 100%; /* 1 */
|
200
|
+
padding: 0; /* 3 */
|
201
|
+
white-space: normal; /* 1 */
|
202
|
+
}
|
203
|
+
|
204
|
+
/**
|
205
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
206
|
+
*/
|
207
|
+
progress {
|
208
|
+
vertical-align: baseline;
|
209
|
+
}
|
210
|
+
|
211
|
+
/**
|
212
|
+
* Remove the default vertical scrollbar in IE 10+.
|
213
|
+
*/
|
214
|
+
textarea {
|
215
|
+
overflow: auto;
|
216
|
+
}
|
217
|
+
|
218
|
+
/**
|
219
|
+
* 1. Add the correct box sizing in IE 1.
|
220
|
+
* 2. Remove the padding in IE 1.
|
221
|
+
*/
|
222
|
+
[type='checkbox'], [type='radio'] {
|
223
|
+
box-sizing: border-box; /* 1 */
|
224
|
+
padding: 0; /* 2 */
|
225
|
+
}
|
226
|
+
|
227
|
+
/**
|
228
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
229
|
+
*/
|
230
|
+
[type='number']::-webkit-inner-spin-button, [type='number']::-webkit-outer-spin-button {
|
231
|
+
height: auto;
|
232
|
+
}
|
233
|
+
|
234
|
+
/**
|
235
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
236
|
+
* 2. Correct the outline style in Safari.
|
237
|
+
*/
|
238
|
+
[type='search'] {
|
239
|
+
outline-offset: -.125rem; /* 2 */
|
240
|
+
-webkit-appearance: textfield; /* 1 */
|
241
|
+
}
|
242
|
+
|
243
|
+
/**
|
244
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
245
|
+
*/
|
246
|
+
[type='search']::-webkit-search-decoration {
|
247
|
+
-webkit-appearance: none;
|
248
|
+
}
|
249
|
+
|
250
|
+
/**
|
251
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
252
|
+
* 2. Change font properties to `inherit` in Safari.
|
253
|
+
*/
|
254
|
+
::-webkit-file-upload-button {
|
255
|
+
font: inherit; /* 2 */
|
256
|
+
-webkit-appearance: button; /* 1 */
|
257
|
+
}
|
258
|
+
|
259
|
+
/* Interactive
|
260
|
+
========================================================================== */
|
261
|
+
/*
|
262
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
263
|
+
*/
|
264
|
+
details {
|
265
|
+
display: block;
|
266
|
+
}
|
267
|
+
|
268
|
+
/*
|
269
|
+
* Add the correct display in all browsers.
|
270
|
+
*/
|
271
|
+
summary {
|
272
|
+
display: list-item;
|
273
|
+
}
|
274
|
+
|
275
|
+
/* Misc
|
276
|
+
========================================================================== */
|
277
|
+
/**
|
278
|
+
* Add the correct display in IE 10+.
|
279
|
+
*/
|
280
|
+
template {
|
281
|
+
display: none;
|
282
|
+
}
|
283
|
+
|
284
|
+
/**
|
285
|
+
* Add the correct display in IE 1.
|
286
|
+
*/
|
287
|
+
[hidden] {
|
288
|
+
display: none;
|
289
|
+
}
|