hexo-theme-shokax 0.4.5 → 0.4.6-beta1
Sign up to get free protection for your applications and to get access to all the features.
- package/CODE_OF_CONDUCT.md +128 -128
- package/CONTRIBUTING.md +58 -58
- package/LICENSE +660 -660
- package/LICENSE-shoka +21 -21
- package/README.md +99 -98
- package/README_en.MD +91 -90
- package/UsageRestrictions.md +25 -25
- package/_config.yml +381 -388
- package/_images.yml +9 -9
- package/eslint.config.mjs +55 -55
- package/index.html +231 -0
- package/languages/README.md +19 -19
- package/languages/default.yml +1 -1
- package/languages/en.yml +153 -153
- package/languages/ja.yml +153 -153
- package/languages/zh-CN.yml +153 -153
- package/languages/zh-HK.yml +153 -153
- package/languages/zh-TW.yml +153 -153
- package/layout/_alternate/atom.ejs +30 -30
- package/layout/_alternate/json.ejs +16 -16
- package/layout/_alternate/rss.ejs +34 -34
- package/layout/_mixin/breadcrumb.pug +33 -33
- package/layout/_mixin/card.pug +38 -38
- package/layout/_mixin/comment.pug +6 -6
- package/layout/_mixin/postmeta.pug +29 -29
- package/layout/_mixin/segment.pug +35 -35
- package/layout/_mixin/sidebar.pug +40 -40
- package/layout/_mixin/widgets.pug +28 -28
- package/layout/_partials/footer.pug +43 -43
- package/layout/_partials/head/head.pug +55 -56
- package/layout/_partials/head/head_com.pug +24 -24
- package/layout/_partials/head/pwa.pug +18 -18
- package/layout/_partials/header.pug +18 -18
- package/layout/_partials/layout.pug +140 -140
- package/layout/_partials/loading.pug +13 -13
- package/layout/_partials/pagination.pug +4 -4
- package/layout/_partials/post/copyright.pug +20 -20
- package/layout/_partials/post/footer.pug +17 -17
- package/layout/_partials/post/nav.pug +13 -13
- package/layout/_partials/post/post.pug +41 -41
- package/layout/_partials/post/reward.pug +18 -18
- package/layout/_partials/sidebar/menu.pug +37 -37
- package/layout/_partials/sidebar/overview.pug +42 -42
- package/layout/_partials/third-party/baidu-analytics.pug +11 -11
- package/layout/_partials/third-party/clarity.pug +8 -8
- package/layout/_partials/third-party/google-analytics.pug +9 -9
- package/layout/archive.pug +118 -118
- package/layout/category.pug +59 -59
- package/layout/index.pug +33 -33
- package/layout/page.pug +55 -55
- package/layout/post.pug +36 -36
- package/layout/tag.pug +43 -43
- package/meta.json +6431 -0
- package/package.json +72 -70
- package/scripts/helpers/engine.js +10 -0
- package/scripts/plugin/check.js +2 -2
- package/scripts/tags/links.js +4 -4
- package/source/assets/algolia_logo.svg +9 -9
- package/source/assets/logo.svg +16 -16
- package/source/css/_colors.styl +207 -207
- package/source/css/_common/components/components.styl +6 -6
- package/source/css/_common/components/highlight/highlight.styl +357 -357
- package/source/css/_common/components/highlight/operation.styl +21 -21
- package/source/css/_common/components/pages/collapse.styl +119 -119
- package/source/css/_common/components/pages/home.styl +391 -391
- package/source/css/_common/components/pages/pages.styl +56 -56
- package/source/css/_common/components/pages/tag-cloud.styl +12 -12
- package/source/css/_common/components/post/breadcrumb.styl +39 -39
- package/source/css/_common/components/post/copyright.styl +41 -41
- package/source/css/_common/components/post/expand.styl +263 -263
- package/source/css/_common/components/post/footer.styl +11 -11
- package/source/css/_common/components/post/header.styl +79 -79
- package/source/css/_common/components/post/nav.styl +64 -64
- package/source/css/_common/components/post/post.styl +29 -29
- package/source/css/_common/components/post/reward.styl +50 -50
- package/source/css/_common/components/post/rtl.styl +12 -12
- package/source/css/_common/components/post/tags.styl +39 -39
- package/source/css/_common/components/tags/collapse.styl +72 -72
- package/source/css/_common/components/tags/container.styl +49 -49
- package/source/css/_common/components/tags/label.styl +12 -12
- package/source/css/_common/components/tags/links.styl +77 -77
- package/source/css/_common/components/tags/list.styl +131 -131
- package/source/css/_common/components/tags/note.styl +70 -70
- package/source/css/_common/components/tags/player.styl +361 -361
- package/source/css/_common/components/tags/quiz.styl +200 -200
- package/source/css/_common/components/tags/tabs.styl +89 -89
- package/source/css/_common/components/tags/tags.styl +9 -9
- package/source/css/_common/components/third-party/loading.styl +222 -222
- package/source/css/_common/components/third-party/mermaid/class.styl +90 -90
- package/source/css/_common/components/third-party/mermaid/flowchart.styl +72 -72
- package/source/css/_common/components/third-party/mermaid/gantt.styl +251 -251
- package/source/css/_common/components/third-party/mermaid/git.styl +7 -7
- package/source/css/_common/components/third-party/mermaid/mermaid.styl +37 -37
- package/source/css/_common/components/third-party/mermaid/pie.styl +9 -9
- package/source/css/_common/components/third-party/mermaid/sequence.styl +95 -95
- package/source/css/_common/components/third-party/mermaid/state.styl +130 -130
- package/source/css/_common/components/third-party/pace.styl +18 -18
- package/source/css/_common/components/third-party/search.styl +167 -167
- package/source/css/_common/components/third-party/theme.styl +151 -151
- package/source/css/_common/components/third-party/third-party.styl +22 -22
- package/source/css/_common/components/third-party/widgets.styl +57 -57
- package/source/css/_common/outline/footer/footer.styl +67 -67
- package/source/css/_common/outline/header/brand.styl +77 -77
- package/source/css/_common/outline/header/header.styl +20 -20
- package/source/css/_common/outline/header/image.styl +85 -85
- package/source/css/_common/outline/header/menu.styl +117 -117
- package/source/css/_common/outline/header/nav.styl +81 -81
- package/source/css/_common/outline/header/right.styl +15 -15
- package/source/css/_common/outline/header/tool.styl +207 -207
- package/source/css/_common/outline/header/waves.styl +57 -57
- package/source/css/_common/outline/mobile.styl +46 -46
- package/source/css/_common/outline/outline.styl +78 -78
- package/source/css/_common/outline/sidebar/author.styl +59 -59
- package/source/css/_common/outline/sidebar/dimmer.styl +23 -23
- package/source/css/_common/outline/sidebar/menu.styl +63 -63
- package/source/css/_common/outline/sidebar/quick.styl +43 -43
- package/source/css/_common/outline/sidebar/related.styl +56 -56
- package/source/css/_common/outline/sidebar/sidebar.styl +80 -80
- package/source/css/_common/outline/sidebar/social.styl +69 -69
- package/source/css/_common/outline/sidebar/state.styl +37 -37
- package/source/css/_common/outline/sidebar/tab.styl +71 -71
- package/source/css/_common/outline/sidebar/toc.styl +47 -47
- package/source/css/_common/scaffolding/animate.styl +322 -322
- package/source/css/_common/scaffolding/base.styl +190 -190
- package/source/css/_common/scaffolding/buttons.styl +48 -48
- package/source/css/_common/scaffolding/divider.styl +36 -36
- package/source/css/_common/scaffolding/iconfont.styl +443 -443
- package/source/css/_common/scaffolding/normalize.styl +273 -273
- package/source/css/_common/scaffolding/pagination.styl +81 -81
- package/source/css/_common/scaffolding/ribbon.styl +38 -38
- package/source/css/_common/scaffolding/scaffolding.styl +14 -14
- package/source/css/_common/scaffolding/scrollbar.styl +37 -37
- package/source/css/_common/scaffolding/tables.styl +50 -50
- package/source/css/_common/scaffolding/tip.styl +19 -19
- package/source/css/_common/scaffolding/toggles.styl +59 -59
- package/source/css/_iconfont.styl +455 -455
- package/source/css/_mixins.styl +148 -148
- package/source/css/_variables.styl +89 -89
- package/source/css/app.styl +41 -41
- package/source/css/mermaid.styl +5 -5
- package/source/css/optimize.styl +5 -5
- package/source/js/_app/components/comments.js +59 -0
- package/source/js/_app/components/comments.ts +88 -89
- package/source/js/_app/components/sidebar.js +244 -0
- package/source/js/_app/components/sidebar.ts +239 -239
- package/source/js/_app/components/tcomments.js +47 -0
- package/source/js/_app/components/tcomments.ts +54 -54
- package/source/js/_app/globals/globalVars.ts +99 -99
- package/source/js/_app/globals/handles.js +105 -0
- package/source/js/_app/globals/handles.ts +124 -124
- package/source/js/_app/globals/themeColor.ts +63 -63
- package/source/js/_app/globals/thirdparty.ts +63 -63
- package/source/js/_app/globals/tools.ts +75 -75
- package/source/js/_app/library/anime.ts +110 -110
- package/source/js/_app/library/declare.d.ts +128 -130
- package/source/js/_app/library/dom.ts +28 -28
- package/source/js/_app/library/loadFile.js +43 -0
- package/source/js/_app/library/loadFile.ts +47 -50
- package/source/js/_app/library/proto.ts +137 -137
- package/source/js/_app/library/scriptPjax.ts +72 -72
- package/source/js/_app/library/storage.ts +12 -12
- package/source/js/_app/library/vue.js +52 -0
- package/source/js/_app/library/vue.ts +49 -49
- package/source/js/_app/page/common.js +45 -0
- package/source/js/_app/page/common.ts +43 -43
- package/source/js/_app/page/fancybox.js +70 -0
- package/source/js/_app/page/fancybox.ts +72 -72
- package/source/js/_app/page/post.js +253 -0
- package/source/js/_app/page/post.ts +266 -266
- package/source/js/_app/page/search.js +111 -0
- package/source/js/_app/page/search.ts +115 -115
- package/source/js/_app/page/tab.ts +60 -60
- package/source/js/_app/pjax/domInit.js +80 -0
- package/source/js/_app/pjax/domInit.ts +97 -97
- package/source/js/_app/pjax/refresh.js +137 -0
- package/source/js/_app/pjax/refresh.ts +140 -138
- package/source/js/_app/pjax/siteInit.js +115 -0
- package/source/js/_app/pjax/siteInit.ts +106 -104
- package/source/js/_app/player.js +777 -0
- package/source/js/_app/player.ts +798 -798
- package/toolbox/compiler.mjs +73 -0
- package/toolbox/hoistdep.mjs +6 -0
- package/toolbox/lib.mjs +40 -0
@@ -1,207 +1,207 @@
|
|
1
|
-
#tool {
|
2
|
-
position: fixed;
|
3
|
-
if (hexo-config('sidebar.position') == 'left') {
|
4
|
-
right: 1rem;
|
5
|
-
} else {
|
6
|
-
left: 1rem;
|
7
|
-
}
|
8
|
-
|
9
|
-
top: 50vh;
|
10
|
-
z-index: $zindex-2;
|
11
|
-
|
12
|
-
|
13
|
-
+tablet-mobile() {
|
14
|
-
right: 1rem;
|
15
|
-
left: auto;
|
16
|
-
}
|
17
|
-
|
18
|
-
.item {
|
19
|
-
display: none;
|
20
|
-
width: 1.875rem;
|
21
|
-
height: 1.875rem;
|
22
|
-
opacity: .5;
|
23
|
-
cursor: pointer;
|
24
|
-
align-items: center;
|
25
|
-
justify-content: center;
|
26
|
-
flex-direction: column;
|
27
|
-
the-transition();
|
28
|
-
&:hover {
|
29
|
-
opacity: .9;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
.player {
|
34
|
-
display: inline-flex;
|
35
|
-
flex-direction: row-reverse;
|
36
|
-
font-size: $font-size-largest;
|
37
|
-
width: auto;
|
38
|
-
height: auto;
|
39
|
-
|
40
|
-
> .btn {
|
41
|
-
font-family-icons();
|
42
|
-
width: 1.875rem;
|
43
|
-
text-align: center;
|
44
|
-
&+.btn {
|
45
|
-
margin-right: .625rem;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
.play-pause {
|
50
|
-
&::before {
|
51
|
-
@extend .i-play:before;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
.music {
|
56
|
-
display: none;
|
57
|
-
&::before {
|
58
|
-
@extend .i-music:before;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
&.playing .player {
|
64
|
-
.play-pause::before {
|
65
|
-
@extend .i-pause:before;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
|
-
.player-info {
|
70
|
-
shadow-box();
|
71
|
-
background: var(--grey-1-a7);
|
72
|
-
backdrop-filter: blur(.625rem);
|
73
|
-
position: fixed;
|
74
|
-
display: none;
|
75
|
-
bottom: 0;
|
76
|
-
overflow: hidden;
|
77
|
-
|
78
|
-
if (hexo-config('sidebar.position') == 'left') {
|
79
|
-
right: 3.5rem;
|
80
|
-
} else {
|
81
|
-
left: 3.5rem;
|
82
|
-
}
|
83
|
-
width: 50vw;
|
84
|
-
z-index: $zindex-2;
|
85
|
-
max-width: 25rem;
|
86
|
-
|
87
|
-
+mobile() {
|
88
|
-
right: 2.5rem;
|
89
|
-
}
|
90
|
-
|
91
|
-
.nav {
|
92
|
-
font-size: $font-size-smallest;
|
93
|
-
height: 2.1875rem;
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
.back-to-top {
|
98
|
-
span {
|
99
|
-
font-size: $font-size-smallest;
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
|
104
|
-
&.affix {
|
105
|
-
text-shadow: none;
|
106
|
-
top: auto;
|
107
|
-
box-shadow: 0 0 .5rem rgba(0,0,0,.1);
|
108
|
-
background: var(--grey-1-a3);
|
109
|
-
border-radius: .3125rem;
|
110
|
-
if (hexo-config('sidebar.position') == 'left') {
|
111
|
-
right: 0;
|
112
|
-
} else {
|
113
|
-
left: 0;
|
114
|
-
}
|
115
|
-
bottom: 0;
|
116
|
-
|
117
|
-
.item {
|
118
|
-
display: flex;
|
119
|
-
color: var(--primary-color);
|
120
|
-
}
|
121
|
-
|
122
|
-
.player {
|
123
|
-
font-size: $font-size-base;
|
124
|
-
flex-direction: column-reverse;
|
125
|
-
|
126
|
-
> .btn+.btn {
|
127
|
-
margin-right: 0;
|
128
|
-
}
|
129
|
-
|
130
|
-
.music {
|
131
|
-
display: block;
|
132
|
-
}
|
133
|
-
|
134
|
-
}
|
135
|
-
|
136
|
-
.player-info {
|
137
|
-
if (hexo-config('sidebar.position') == 'left') {
|
138
|
-
right: 2.5rem;
|
139
|
-
} else {
|
140
|
-
left: 2.5rem;
|
141
|
-
}
|
142
|
-
|
143
|
-
+desktop-large() {
|
144
|
-
if (hexo-config('sidebar.position') == 'left') {
|
145
|
-
right: 3.5rem;
|
146
|
-
} else {
|
147
|
-
left: 3.5rem;
|
148
|
-
}
|
149
|
-
}
|
150
|
-
|
151
|
-
+tablet-mobile() {
|
152
|
-
right: 2.5rem;
|
153
|
-
left: auto;
|
154
|
-
}
|
155
|
-
|
156
|
-
&.show {
|
157
|
-
display: block;
|
158
|
-
if (hexo-config('sidebar.position') == 'left') {
|
159
|
-
@extend .slide-right-in;
|
160
|
-
} else {
|
161
|
-
@extend .slide-left-in;
|
162
|
-
|
163
|
-
+tablet-mobile() {
|
164
|
-
animation: slideRightIn .3s;
|
165
|
-
}
|
166
|
-
}
|
167
|
-
|
168
|
-
&.hide {
|
169
|
-
@extend .fade-out;
|
170
|
-
}
|
171
|
-
}
|
172
|
-
}
|
173
|
-
|
174
|
-
.back-to-top {
|
175
|
-
align-items: center;
|
176
|
-
justify-content: center;
|
177
|
-
height: auto;
|
178
|
-
padding: .3125rem 0 0;
|
179
|
-
}
|
180
|
-
|
181
|
-
.contents {
|
182
|
-
display: none;
|
183
|
-
|
184
|
-
+tablet-mobile() {
|
185
|
-
display: flex;
|
186
|
-
}
|
187
|
-
}
|
188
|
-
|
189
|
-
+desktop-large() {
|
190
|
-
if (hexo-config('sidebar.position') == 'left') {
|
191
|
-
right: 1rem;
|
192
|
-
} else {
|
193
|
-
left: 1rem;
|
194
|
-
}
|
195
|
-
bottom: 1rem;
|
196
|
-
}
|
197
|
-
|
198
|
-
+tablet-mobile() {
|
199
|
-
right: 0;
|
200
|
-
bottom: 0;
|
201
|
-
left: auto;
|
202
|
-
}
|
203
|
-
}
|
204
|
-
}
|
205
|
-
|
206
|
-
|
207
|
-
|
1
|
+
#tool {
|
2
|
+
position: fixed;
|
3
|
+
if (hexo-config('sidebar.position') == 'left') {
|
4
|
+
right: 1rem;
|
5
|
+
} else {
|
6
|
+
left: 1rem;
|
7
|
+
}
|
8
|
+
|
9
|
+
top: 50vh;
|
10
|
+
z-index: $zindex-2;
|
11
|
+
|
12
|
+
|
13
|
+
+tablet-mobile() {
|
14
|
+
right: 1rem;
|
15
|
+
left: auto;
|
16
|
+
}
|
17
|
+
|
18
|
+
.item {
|
19
|
+
display: none;
|
20
|
+
width: 1.875rem;
|
21
|
+
height: 1.875rem;
|
22
|
+
opacity: .5;
|
23
|
+
cursor: pointer;
|
24
|
+
align-items: center;
|
25
|
+
justify-content: center;
|
26
|
+
flex-direction: column;
|
27
|
+
the-transition();
|
28
|
+
&:hover {
|
29
|
+
opacity: .9;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.player {
|
34
|
+
display: inline-flex;
|
35
|
+
flex-direction: row-reverse;
|
36
|
+
font-size: $font-size-largest;
|
37
|
+
width: auto;
|
38
|
+
height: auto;
|
39
|
+
|
40
|
+
> .btn {
|
41
|
+
font-family-icons();
|
42
|
+
width: 1.875rem;
|
43
|
+
text-align: center;
|
44
|
+
&+.btn {
|
45
|
+
margin-right: .625rem;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.play-pause {
|
50
|
+
&::before {
|
51
|
+
@extend .i-play:before;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.music {
|
56
|
+
display: none;
|
57
|
+
&::before {
|
58
|
+
@extend .i-music:before;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
&.playing .player {
|
64
|
+
.play-pause::before {
|
65
|
+
@extend .i-pause:before;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
.player-info {
|
70
|
+
shadow-box();
|
71
|
+
background: var(--grey-1-a7);
|
72
|
+
backdrop-filter: blur(.625rem);
|
73
|
+
position: fixed;
|
74
|
+
display: none;
|
75
|
+
bottom: 0;
|
76
|
+
overflow: hidden;
|
77
|
+
|
78
|
+
if (hexo-config('sidebar.position') == 'left') {
|
79
|
+
right: 3.5rem;
|
80
|
+
} else {
|
81
|
+
left: 3.5rem;
|
82
|
+
}
|
83
|
+
width: 50vw;
|
84
|
+
z-index: $zindex-2;
|
85
|
+
max-width: 25rem;
|
86
|
+
|
87
|
+
+mobile() {
|
88
|
+
right: 2.5rem;
|
89
|
+
}
|
90
|
+
|
91
|
+
.nav {
|
92
|
+
font-size: $font-size-smallest;
|
93
|
+
height: 2.1875rem;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
.back-to-top {
|
98
|
+
span {
|
99
|
+
font-size: $font-size-smallest;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
&.affix {
|
105
|
+
text-shadow: none;
|
106
|
+
top: auto;
|
107
|
+
box-shadow: 0 0 .5rem rgba(0,0,0,.1);
|
108
|
+
background: var(--grey-1-a3);
|
109
|
+
border-radius: .3125rem;
|
110
|
+
if (hexo-config('sidebar.position') == 'left') {
|
111
|
+
right: 0;
|
112
|
+
} else {
|
113
|
+
left: 0;
|
114
|
+
}
|
115
|
+
bottom: 0;
|
116
|
+
|
117
|
+
.item {
|
118
|
+
display: flex;
|
119
|
+
color: var(--primary-color);
|
120
|
+
}
|
121
|
+
|
122
|
+
.player {
|
123
|
+
font-size: $font-size-base;
|
124
|
+
flex-direction: column-reverse;
|
125
|
+
|
126
|
+
> .btn+.btn {
|
127
|
+
margin-right: 0;
|
128
|
+
}
|
129
|
+
|
130
|
+
.music {
|
131
|
+
display: block;
|
132
|
+
}
|
133
|
+
|
134
|
+
}
|
135
|
+
|
136
|
+
.player-info {
|
137
|
+
if (hexo-config('sidebar.position') == 'left') {
|
138
|
+
right: 2.5rem;
|
139
|
+
} else {
|
140
|
+
left: 2.5rem;
|
141
|
+
}
|
142
|
+
|
143
|
+
+desktop-large() {
|
144
|
+
if (hexo-config('sidebar.position') == 'left') {
|
145
|
+
right: 3.5rem;
|
146
|
+
} else {
|
147
|
+
left: 3.5rem;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
+tablet-mobile() {
|
152
|
+
right: 2.5rem;
|
153
|
+
left: auto;
|
154
|
+
}
|
155
|
+
|
156
|
+
&.show {
|
157
|
+
display: block;
|
158
|
+
if (hexo-config('sidebar.position') == 'left') {
|
159
|
+
@extend .slide-right-in;
|
160
|
+
} else {
|
161
|
+
@extend .slide-left-in;
|
162
|
+
|
163
|
+
+tablet-mobile() {
|
164
|
+
animation: slideRightIn .3s;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
&.hide {
|
169
|
+
@extend .fade-out;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
|
174
|
+
.back-to-top {
|
175
|
+
align-items: center;
|
176
|
+
justify-content: center;
|
177
|
+
height: auto;
|
178
|
+
padding: .3125rem 0 0;
|
179
|
+
}
|
180
|
+
|
181
|
+
.contents {
|
182
|
+
display: none;
|
183
|
+
|
184
|
+
+tablet-mobile() {
|
185
|
+
display: flex;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
+desktop-large() {
|
190
|
+
if (hexo-config('sidebar.position') == 'left') {
|
191
|
+
right: 1rem;
|
192
|
+
} else {
|
193
|
+
left: 1rem;
|
194
|
+
}
|
195
|
+
bottom: 1rem;
|
196
|
+
}
|
197
|
+
|
198
|
+
+tablet-mobile() {
|
199
|
+
right: 0;
|
200
|
+
bottom: 0;
|
201
|
+
left: auto;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
|
206
|
+
|
207
|
+
|
@@ -1,57 +1,57 @@
|
|
1
|
-
.waves {
|
2
|
-
width: 100%;
|
3
|
-
height: 15vh;
|
4
|
-
margin-bottom: -.6875rem;
|
5
|
-
min-height: 3.125rem;
|
6
|
-
max-height: 9.375rem;
|
7
|
-
position:relative;
|
8
|
-
content-visibility: auto;
|
9
|
-
contain-intrinsic-size: 100vw 15vh;
|
10
|
-
|
11
|
-
+mobile() {
|
12
|
-
height: 10vh;
|
13
|
-
contain-intrinsic-size: 100vw 10vh;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
/* Animation */
|
17
|
-
.parallax>use {
|
18
|
-
animation: wave 25s cubic-bezier(.55, .5, .45, .5) infinite;
|
19
|
-
}
|
20
|
-
|
21
|
-
use.stop-animation {
|
22
|
-
animation-play-state: paused;
|
23
|
-
}
|
24
|
-
|
25
|
-
.parallax>use:nth-child(1) {
|
26
|
-
animation-delay: -2s;
|
27
|
-
animation-duration: 7s;
|
28
|
-
fill: var(--grey-1-a7);
|
29
|
-
}
|
30
|
-
|
31
|
-
.parallax>use:nth-child(2) {
|
32
|
-
animation-delay: -3s;
|
33
|
-
animation-duration: 10s;
|
34
|
-
fill: var(--grey-1-a5);
|
35
|
-
}
|
36
|
-
|
37
|
-
.parallax>use:nth-child(3) {
|
38
|
-
animation-delay: -4s;
|
39
|
-
animation-duration: 13s;
|
40
|
-
fill: var(--grey-1-a3);
|
41
|
-
}
|
42
|
-
|
43
|
-
.parallax>use:nth-child(4) {
|
44
|
-
animation-delay: -5s;
|
45
|
-
animation-duration: 20s;
|
46
|
-
fill: var(--grey-1);
|
47
|
-
}
|
48
|
-
|
49
|
-
@keyframes wave {
|
50
|
-
0% {
|
51
|
-
transform: translate3d(-90px, 0, 0);
|
52
|
-
}
|
53
|
-
|
54
|
-
100% {
|
55
|
-
transform: translate3d(85px, 0, 0);
|
56
|
-
}
|
57
|
-
}
|
1
|
+
.waves {
|
2
|
+
width: 100%;
|
3
|
+
height: 15vh;
|
4
|
+
margin-bottom: -.6875rem;
|
5
|
+
min-height: 3.125rem;
|
6
|
+
max-height: 9.375rem;
|
7
|
+
position:relative;
|
8
|
+
content-visibility: auto;
|
9
|
+
contain-intrinsic-size: 100vw 15vh;
|
10
|
+
|
11
|
+
+mobile() {
|
12
|
+
height: 10vh;
|
13
|
+
contain-intrinsic-size: 100vw 10vh;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
/* Animation */
|
17
|
+
.parallax>use {
|
18
|
+
animation: wave 25s cubic-bezier(.55, .5, .45, .5) infinite;
|
19
|
+
}
|
20
|
+
|
21
|
+
use.stop-animation {
|
22
|
+
animation-play-state: paused;
|
23
|
+
}
|
24
|
+
|
25
|
+
.parallax>use:nth-child(1) {
|
26
|
+
animation-delay: -2s;
|
27
|
+
animation-duration: 7s;
|
28
|
+
fill: var(--grey-1-a7);
|
29
|
+
}
|
30
|
+
|
31
|
+
.parallax>use:nth-child(2) {
|
32
|
+
animation-delay: -3s;
|
33
|
+
animation-duration: 10s;
|
34
|
+
fill: var(--grey-1-a5);
|
35
|
+
}
|
36
|
+
|
37
|
+
.parallax>use:nth-child(3) {
|
38
|
+
animation-delay: -4s;
|
39
|
+
animation-duration: 13s;
|
40
|
+
fill: var(--grey-1-a3);
|
41
|
+
}
|
42
|
+
|
43
|
+
.parallax>use:nth-child(4) {
|
44
|
+
animation-delay: -5s;
|
45
|
+
animation-duration: 20s;
|
46
|
+
fill: var(--grey-1);
|
47
|
+
}
|
48
|
+
|
49
|
+
@keyframes wave {
|
50
|
+
0% {
|
51
|
+
transform: translate3d(-90px, 0, 0);
|
52
|
+
}
|
53
|
+
|
54
|
+
100% {
|
55
|
+
transform: translate3d(85px, 0, 0);
|
56
|
+
}
|
57
|
+
}
|
@@ -1,46 +1,46 @@
|
|
1
|
-
/*
|
2
|
-
// < 47.9375rem
|
3
|
-
+mobile() {
|
4
|
-
|
5
|
-
}
|
6
|
-
*/
|
7
|
-
|
8
|
-
+mobile-small() {
|
9
|
-
.post.block {
|
10
|
-
padding: initial !important;
|
11
|
-
}
|
12
|
-
|
13
|
-
.md {
|
14
|
-
// For headers narrow width.
|
15
|
-
h1, h2, h3, h4, h5, h6 {
|
16
|
-
padding-left: 1.25rem;
|
17
|
-
}
|
18
|
-
|
19
|
-
// Rewrite paddings & margins inside tags.
|
20
|
-
.note, .tabs .tab-content .tab-pane {
|
21
|
-
h1, h2, h3, h4, h5, h6 {
|
22
|
-
margin: 0 .3125rem;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
img, video {
|
27
|
-
margin-bottom: .625rem !important;
|
28
|
-
}
|
29
|
-
|
30
|
-
.tabs .tab-content .tab-pane {
|
31
|
-
padding: .625rem .625rem 0 .625rem !important;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
.post .eof {
|
36
|
-
margin: 2.5rem auto 1.25rem !important;
|
37
|
-
}
|
38
|
-
|
39
|
-
}
|
40
|
-
|
41
|
-
/*
|
42
|
-
// < 25.8125rem
|
43
|
-
+mobile-smallest() {
|
44
|
-
|
45
|
-
}
|
46
|
-
*/
|
1
|
+
/*
|
2
|
+
// < 47.9375rem
|
3
|
+
+mobile() {
|
4
|
+
|
5
|
+
}
|
6
|
+
*/
|
7
|
+
|
8
|
+
+mobile-small() {
|
9
|
+
.post.block {
|
10
|
+
padding: initial !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
.md {
|
14
|
+
// For headers narrow width.
|
15
|
+
h1, h2, h3, h4, h5, h6 {
|
16
|
+
padding-left: 1.25rem;
|
17
|
+
}
|
18
|
+
|
19
|
+
// Rewrite paddings & margins inside tags.
|
20
|
+
.note, .tabs .tab-content .tab-pane {
|
21
|
+
h1, h2, h3, h4, h5, h6 {
|
22
|
+
margin: 0 .3125rem;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
img, video {
|
27
|
+
margin-bottom: .625rem !important;
|
28
|
+
}
|
29
|
+
|
30
|
+
.tabs .tab-content .tab-pane {
|
31
|
+
padding: .625rem .625rem 0 .625rem !important;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.post .eof {
|
36
|
+
margin: 2.5rem auto 1.25rem !important;
|
37
|
+
}
|
38
|
+
|
39
|
+
}
|
40
|
+
|
41
|
+
/*
|
42
|
+
// < 25.8125rem
|
43
|
+
+mobile-smallest() {
|
44
|
+
|
45
|
+
}
|
46
|
+
*/
|