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,318 @@
|
|
1
|
+
// animation: name duration timing-function delay iteration-count direction;
|
2
|
+
|
3
|
+
.rotate {
|
4
|
+
animation: rotate 6s linear infinite;
|
5
|
+
}
|
6
|
+
|
7
|
+
.beat {
|
8
|
+
animation: beat 1.33s ease-in-out infinite;
|
9
|
+
}
|
10
|
+
|
11
|
+
.flash {
|
12
|
+
animation: flash 6s cubic-bezier(.22, .61, .36, 1) infinite;
|
13
|
+
}
|
14
|
+
|
15
|
+
.shake {
|
16
|
+
animation: shake 1s;
|
17
|
+
}
|
18
|
+
|
19
|
+
.fade-in {
|
20
|
+
animation: fadeIn .5s;
|
21
|
+
}
|
22
|
+
|
23
|
+
.fade-out {
|
24
|
+
animation: fadeOut .3s;
|
25
|
+
}
|
26
|
+
|
27
|
+
.up-down {
|
28
|
+
animation: UpDown 2s infinite;
|
29
|
+
}
|
30
|
+
|
31
|
+
.down-up {
|
32
|
+
animation: DownUp 2s infinite;
|
33
|
+
}
|
34
|
+
|
35
|
+
.slide {
|
36
|
+
animation: slide .5s;
|
37
|
+
}
|
38
|
+
|
39
|
+
.slide-up-in {
|
40
|
+
animation: slideUpIn .3s;
|
41
|
+
}
|
42
|
+
|
43
|
+
.slide-up-big-in {
|
44
|
+
animation: slideUpBigIn .5s;
|
45
|
+
}
|
46
|
+
|
47
|
+
.slide-right-in {
|
48
|
+
animation: slideRightIn .3s;
|
49
|
+
}
|
50
|
+
|
51
|
+
.slide-left-in {
|
52
|
+
animation: slideLeftIn .3s;
|
53
|
+
}
|
54
|
+
|
55
|
+
.slide-down-in {
|
56
|
+
animation: slideDownIn .3s;
|
57
|
+
}
|
58
|
+
|
59
|
+
.blur {
|
60
|
+
animation: blur .8s ease-in-out forwards;
|
61
|
+
}
|
62
|
+
|
63
|
+
.elastic {
|
64
|
+
animation: elastic 1s;
|
65
|
+
}
|
66
|
+
|
67
|
+
@keyframes rotate {
|
68
|
+
from {
|
69
|
+
transform: rotate(0)
|
70
|
+
}
|
71
|
+
|
72
|
+
to {
|
73
|
+
transform: rotate(360deg)
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
@keyframes rotating {
|
78
|
+
from {
|
79
|
+
transform: rotate(720deg);
|
80
|
+
}
|
81
|
+
|
82
|
+
to {
|
83
|
+
transform: none;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
@keyframes rotate-needle-pause {
|
88
|
+
0% {
|
89
|
+
transform: rotateZ(-35deg)
|
90
|
+
}
|
91
|
+
100% {
|
92
|
+
transform: rotateZ(-60deg)
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
|
97
|
+
@keyframes rotate-needle-resume {
|
98
|
+
0% {
|
99
|
+
transform: rotateZ(-60deg)
|
100
|
+
}
|
101
|
+
|
102
|
+
100% {
|
103
|
+
transform: rotateZ(-35deg)
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
@keyframes beat {
|
108
|
+
|
109
|
+
0%,
|
110
|
+
100% {
|
111
|
+
transform: scale(1);
|
112
|
+
}
|
113
|
+
|
114
|
+
10%,
|
115
|
+
30% {
|
116
|
+
transform: scale(.9);
|
117
|
+
}
|
118
|
+
|
119
|
+
20%,
|
120
|
+
40%,
|
121
|
+
60%,
|
122
|
+
80% {
|
123
|
+
transform: scale(1.1);
|
124
|
+
}
|
125
|
+
|
126
|
+
50%,
|
127
|
+
70% {
|
128
|
+
transform: scale(1.1);
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
@keyframes flash {
|
133
|
+
|
134
|
+
0%,
|
135
|
+
50%,
|
136
|
+
to {
|
137
|
+
opacity: 1
|
138
|
+
}
|
139
|
+
|
140
|
+
25%,
|
141
|
+
75% {
|
142
|
+
opacity: 0
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
@keyframes shake {
|
147
|
+
from,
|
148
|
+
to {
|
149
|
+
transform: translate3d(0, 0, 0);
|
150
|
+
}
|
151
|
+
|
152
|
+
10%,
|
153
|
+
30%,
|
154
|
+
50%,
|
155
|
+
70%,
|
156
|
+
90% {
|
157
|
+
transform: translate3d(-10px, 0, 0);
|
158
|
+
}
|
159
|
+
|
160
|
+
20%,
|
161
|
+
40%,
|
162
|
+
60%,
|
163
|
+
80% {
|
164
|
+
transform: translate3d(10px, 0, 0);
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
@keyframes fadeIn {
|
169
|
+
0% {
|
170
|
+
opacity: 0;
|
171
|
+
}
|
172
|
+
|
173
|
+
100% {
|
174
|
+
opacity: 1;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
@keyframes fadeOut {
|
179
|
+
0% {
|
180
|
+
opacity: 1;
|
181
|
+
}
|
182
|
+
|
183
|
+
100% {
|
184
|
+
opacity: 0;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
@keyframes blur {
|
189
|
+
0% {
|
190
|
+
filter: blur(10px)
|
191
|
+
}
|
192
|
+
|
193
|
+
to {
|
194
|
+
filter: blur(0)
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
@keyframes blur-dark {
|
199
|
+
0% {
|
200
|
+
filter: blur(10px) brightness(.9)
|
201
|
+
}
|
202
|
+
|
203
|
+
to {
|
204
|
+
filter: blur(0) brightness(.9)
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
@keyframes UpDown {
|
209
|
+
0%, 100% {
|
210
|
+
opacity: .8;
|
211
|
+
transform: translateY(10px);
|
212
|
+
}
|
213
|
+
50% {
|
214
|
+
opacity: .4;
|
215
|
+
transform: translateY(0);
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
@keyframes DownUp {
|
220
|
+
0%, 100% {
|
221
|
+
opacity: .8;
|
222
|
+
transform: rotate(180deg) translateY(0);
|
223
|
+
}
|
224
|
+
50% {
|
225
|
+
opacity: .4;
|
226
|
+
transform: rotate(180deg) translateY(-10px);
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
@keyframes slide {
|
231
|
+
0% {
|
232
|
+
opacity: 0;
|
233
|
+
transform: scaleY(0);
|
234
|
+
}
|
235
|
+
|
236
|
+
100% {
|
237
|
+
opacity: 1;
|
238
|
+
transform: scaleY(1);
|
239
|
+
}
|
240
|
+
}
|
241
|
+
|
242
|
+
@keyframes slideRightIn {
|
243
|
+
0% {
|
244
|
+
opacity: 0;
|
245
|
+
transform: translateX(50%);
|
246
|
+
}
|
247
|
+
|
248
|
+
to {
|
249
|
+
opacity: 1;
|
250
|
+
transform: translateX(0);
|
251
|
+
}
|
252
|
+
}
|
253
|
+
|
254
|
+
@keyframes slideLeftIn {
|
255
|
+
0% {
|
256
|
+
opacity: 0;
|
257
|
+
transform: translateX(-50%);
|
258
|
+
}
|
259
|
+
|
260
|
+
to {
|
261
|
+
opacity: 1;
|
262
|
+
transform: translateX(0);
|
263
|
+
}
|
264
|
+
}
|
265
|
+
|
266
|
+
@keyframes slideUpIn {
|
267
|
+
0% {
|
268
|
+
opacity: 0;
|
269
|
+
transform: translateY(10px);
|
270
|
+
}
|
271
|
+
|
272
|
+
to {
|
273
|
+
opacity: 1;
|
274
|
+
transform: translateY(0);
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
@keyframes slideUpBigIn {
|
279
|
+
0% {
|
280
|
+
opacity: 0;
|
281
|
+
transform: translateY(80px)
|
282
|
+
}
|
283
|
+
|
284
|
+
100% {
|
285
|
+
opacity: 1;
|
286
|
+
transform: translateY(0)
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
290
|
+
@keyframes slideDownIn {
|
291
|
+
0% {
|
292
|
+
opacity: 0;
|
293
|
+
transform: translateY(-18px)
|
294
|
+
}
|
295
|
+
100% {
|
296
|
+
opacity: 1;
|
297
|
+
transform: translateY(0)
|
298
|
+
}
|
299
|
+
}
|
300
|
+
|
301
|
+
@keyframes elastic {
|
302
|
+
0% {
|
303
|
+
transform: scale(0)
|
304
|
+
}
|
305
|
+
|
306
|
+
55% {
|
307
|
+
transform: scale(1)
|
308
|
+
}
|
309
|
+
|
310
|
+
70% {
|
311
|
+
transform: scale(.98)
|
312
|
+
}
|
313
|
+
|
314
|
+
100% {
|
315
|
+
transform: scale(1)
|
316
|
+
}
|
317
|
+
}
|
318
|
+
|
@@ -0,0 +1,172 @@
|
|
1
|
+
::selection {
|
2
|
+
background: var(--color-orange);
|
3
|
+
color: var(--grey-2);
|
4
|
+
}
|
5
|
+
|
6
|
+
*, *:before, *:after {
|
7
|
+
box-sizing: border-box;
|
8
|
+
margin: 0;
|
9
|
+
padding: 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
html, body {
|
13
|
+
height: 100%;
|
14
|
+
}
|
15
|
+
|
16
|
+
body {
|
17
|
+
background: linear-gradient(to top, var(--body-bg-shadow) 0, var(--grey-1) 20%) no-repeat bottom;
|
18
|
+
color: var(--text-color);
|
19
|
+
font-family: $font-family-base;
|
20
|
+
font-size: $font-size-base;
|
21
|
+
line-height: $line-height-base;
|
22
|
+
-webkit-font-smoothing: antialiased;
|
23
|
+
overflow: hidden;
|
24
|
+
|
25
|
+
&.loaded {
|
26
|
+
overflow: auto;
|
27
|
+
@extend $big-scrollbar;
|
28
|
+
|
29
|
+
#main .wrap {
|
30
|
+
@extend .slide-up-big-in;
|
31
|
+
}
|
32
|
+
|
33
|
+
#sidebar .panel.active {
|
34
|
+
@extend .slide-up-big-in;
|
35
|
+
display: block;
|
36
|
+
}
|
37
|
+
|
38
|
+
#brand .pjax {
|
39
|
+
@extend .slide-down-in;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
+tablet-mobile() {
|
44
|
+
// Remove the padding of body when the sidebar is open.
|
45
|
+
padding-left: 0 !important;
|
46
|
+
padding-right: 0 !important;
|
47
|
+
}
|
48
|
+
&.fullscreen {
|
49
|
+
overflow: hidden;
|
50
|
+
|
51
|
+
#tool, #sidebar>.inner {
|
52
|
+
z-index: 0;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
h1, h2, h3, h4, h5, h6 {
|
57
|
+
font-family: $font-family-headings;
|
58
|
+
font-weight: bold;
|
59
|
+
line-height: 1.5;
|
60
|
+
margin: 1.25rem 0 .9375rem;
|
61
|
+
&.title {
|
62
|
+
font-family: $font-family-title;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
a {
|
67
|
+
border: none;
|
68
|
+
color: currentColor;
|
69
|
+
outline: 0;
|
70
|
+
text-decoration: none;
|
71
|
+
word-wrap();
|
72
|
+
the-transition();
|
73
|
+
|
74
|
+
&:hover {
|
75
|
+
border-bottom-color: var(--color-blue);
|
76
|
+
color: var(--color-blue);
|
77
|
+
}
|
78
|
+
|
79
|
+
&::before, &::after {
|
80
|
+
the-transition(.4s);
|
81
|
+
}
|
82
|
+
|
83
|
+
cursor: pointer;
|
84
|
+
}
|
85
|
+
|
86
|
+
a, li, div {
|
87
|
+
-webkit-tap-highlight-color: transparent;
|
88
|
+
}
|
89
|
+
|
90
|
+
li {
|
91
|
+
list-style: none;
|
92
|
+
}
|
93
|
+
|
94
|
+
iframe, img, video {
|
95
|
+
display: block;
|
96
|
+
margin-left: auto;
|
97
|
+
margin-right: auto;
|
98
|
+
max-width: 100%;
|
99
|
+
}
|
100
|
+
|
101
|
+
hr {
|
102
|
+
background-image: repeating-linear-gradient(-45deg, var(--grey-3), var(--grey-4) .25rem, transparent .25rem, transparent .5rem);
|
103
|
+
border: none;
|
104
|
+
height: .125rem;
|
105
|
+
margin: 1.5rem 0;
|
106
|
+
}
|
107
|
+
|
108
|
+
blockquote {
|
109
|
+
border-left: .25rem solid var(--grey-4);
|
110
|
+
color: var(--grey-6);
|
111
|
+
margin: 1.25rem 0;
|
112
|
+
padding: .625rem 1.25rem;
|
113
|
+
|
114
|
+
cite::before {
|
115
|
+
content: '-';
|
116
|
+
padding: 0 .3125rem;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
dt {
|
121
|
+
font-weight: bold;
|
122
|
+
}
|
123
|
+
|
124
|
+
dd {
|
125
|
+
margin: 0;
|
126
|
+
padding: 0;
|
127
|
+
}
|
128
|
+
|
129
|
+
input, textarea {
|
130
|
+
color: var(--text-color);
|
131
|
+
}
|
132
|
+
@font-face {
|
133
|
+
font-family: 'ic';
|
134
|
+
src: url('//at.alicdn.com/t/font_' + $iconfont + '.eot');
|
135
|
+
src: url('//at.alicdn.com/t/font_' + $iconfont + '.eot?#iefix') format('embedded-opentype'),
|
136
|
+
url('//at.alicdn.com/t/font_' + $iconfont + '.woff2') format('woff2'),
|
137
|
+
url('//at.alicdn.com/t/font_' + $iconfont + '.woff') format('woff'),
|
138
|
+
url('//at.alicdn.com/t/font_' + $iconfont + '.ttf') format('truetype'),
|
139
|
+
url('//at.alicdn.com/t/font_' + $iconfont + '.svg#ic') format('svg');
|
140
|
+
}
|
141
|
+
|
142
|
+
@font-face {
|
143
|
+
font-family: 'jetbrains-mono';
|
144
|
+
font-display: swap;
|
145
|
+
src: url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono@2.242/fonts/webfonts/JetBrainsMono-Regular.woff2") format("woff2");
|
146
|
+
}
|
147
|
+
|
148
|
+
.ic {
|
149
|
+
font-family: "ic" !important;
|
150
|
+
-webkit-font-smoothing: antialiased;
|
151
|
+
-moz-osx-font-smoothing: grayscale;
|
152
|
+
text-align: center;
|
153
|
+
width: 1.25em;
|
154
|
+
display: inline-block;
|
155
|
+
font-style: normal;
|
156
|
+
font-variant: normal;
|
157
|
+
text-rendering: auto;
|
158
|
+
line-height: 1;
|
159
|
+
}
|
160
|
+
|
161
|
+
.ic em {
|
162
|
+
font-size: 0;
|
163
|
+
}
|
164
|
+
|
165
|
+
.ic-lg {
|
166
|
+
font-size: 1.33333em;
|
167
|
+
line-height: .75em;
|
168
|
+
vertical-align: -.0667em;
|
169
|
+
}
|
170
|
+
//.weather {
|
171
|
+
// color: var(--text-color) !important;
|
172
|
+
//}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
.button {
|
2
|
+
display: inline-block;
|
3
|
+
cursor: pointer;
|
4
|
+
touch-action: manipulation;
|
5
|
+
text-align: center;
|
6
|
+
text-decoration: none;
|
7
|
+
vertical-align: middle;
|
8
|
+
white-space: nowrap;
|
9
|
+
border-radius: .3rem;
|
10
|
+
border: .0625rem solid var(--grey-3);
|
11
|
+
|
12
|
+
color: var(--grey-6);
|
13
|
+
font-size: $font-size-small;
|
14
|
+
font-weight: 400;
|
15
|
+
line-height: 1.5;
|
16
|
+
|
17
|
+
background: transparent;
|
18
|
+
margin-bottom: 0;
|
19
|
+
min-height: 1em;
|
20
|
+
padding: .5em 1.25em;
|
21
|
+
user-select: none;
|
22
|
+
outline: none;
|
23
|
+
will-change: auto;
|
24
|
+
the-transition();
|
25
|
+
|
26
|
+
&+.button {
|
27
|
+
margin-left: 1.25em
|
28
|
+
}
|
29
|
+
|
30
|
+
&:active,
|
31
|
+
&:hover {
|
32
|
+
color: var(--grey-0);
|
33
|
+
background-color: var(--primary-color);
|
34
|
+
border-color: var(--primary-color);
|
35
|
+
}
|
36
|
+
|
37
|
+
&:disabled {
|
38
|
+
border-color: var(--grey-4);
|
39
|
+
color: var(--grey-4);
|
40
|
+
background-color: var(--grey-2);
|
41
|
+
cursor: not-allowed
|
42
|
+
}
|
43
|
+
|
44
|
+
.ic {
|
45
|
+
text-align: left;
|
46
|
+
width: (18em / 14);
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
.divider {
|
2
|
+
margin: 1rem 0;
|
3
|
+
line-height: 1;
|
4
|
+
height: 0;
|
5
|
+
font-weight: 700;
|
6
|
+
text-transform: uppercase;
|
7
|
+
letter-spacing: .05rem;
|
8
|
+
user-select: none;
|
9
|
+
color: var(--grey-4);
|
10
|
+
|
11
|
+
display: table;
|
12
|
+
white-space: nowrap;
|
13
|
+
height: auto;
|
14
|
+
line-height: 1;
|
15
|
+
text-align: center;
|
16
|
+
|
17
|
+
&::after,
|
18
|
+
&::before {
|
19
|
+
content: '';
|
20
|
+
display: table-cell;
|
21
|
+
position: relative;
|
22
|
+
top: 50%;
|
23
|
+
width: 50%;
|
24
|
+
background-repeat: no-repeat;
|
25
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaAAAAACCAYAAACuTHuKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1OThBRDY4OUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1OThBRDY4QUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU5OEFENjg3Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU5OEFENjg4Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+VU513gAAADVJREFUeNrs0DENACAQBDBIWLGBJQby/mUcJn5sJXQmOQMAAAAAAJqt+2prAAAAAACg2xdgANk6BEVuJgyMAAAAAElFTkSuQmCC")
|
26
|
+
}
|
27
|
+
|
28
|
+
&::before {
|
29
|
+
background-position: right 1rem top 50%
|
30
|
+
}
|
31
|
+
|
32
|
+
&::after {
|
33
|
+
background-position: left 1rem top 50%
|
34
|
+
}
|
35
|
+
|
36
|
+
}
|