hexo-theme-shokax 0.0.2-alpha1 → 0.0.2-alpha3
Sign up to get free protection for your applications and to get access to all the features.
- package/CODE_OF_CONDUCT.md +128 -0
- package/CONTRIBUTING.md +56 -0
- package/LICENSE +28 -28
- package/LICENSE-shoka +21 -21
- package/README.md +46 -53
- package/README_en.MD +25 -0
- package/_config.yml +392 -355
- package/_images.yml +100 -100
- package/languages/README.md +19 -19
- package/languages/default.yml +1 -1
- package/languages/en.yml +151 -151
- package/languages/ja.yml +146 -146
- package/languages/zh-CN.yml +154 -154
- package/languages/zh-HK.yml +146 -146
- package/languages/zh-TW.yml +146 -146
- 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 +37 -37
- package/layout/_mixin/comment.pug +66 -12
- package/layout/_mixin/postmeta.pug +30 -30
- package/layout/_mixin/segment.pug +32 -32
- package/layout/_mixin/sidebar.pug +36 -36
- package/layout/_mixin/widgets.pug +31 -29
- package/layout/_partials/footer.pug +40 -40
- package/layout/_partials/head/head.pug +51 -58
- package/layout/_partials/head/head_com.pug +17 -17
- package/layout/_partials/head/pwa.pug +18 -18
- package/layout/_partials/header.pug +18 -20
- package/layout/_partials/layout.pug +143 -153
- 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 +14 -14
- package/layout/_partials/post/nav.pug +13 -13
- package/layout/_partials/post/post.pug +28 -27
- package/layout/_partials/post/reward.pug +18 -18
- package/layout/_partials/sidebar/menu.pug +37 -37
- package/layout/_partials/sidebar/overview.pug +41 -42
- package/layout/_partials/third-party/baidu-analytics.pug +11 -11
- package/layout/_partials/third-party/clarity.pug +8 -8
- package/layout/archive.pug +118 -118
- package/layout/category.pug +63 -63
- package/layout/index.pug +33 -33
- package/layout/page.pug +56 -56
- package/layout/post.pug +35 -35
- package/layout/tag.pug +43 -43
- package/package.json +35 -35
- package/scripts/filters/locals.js +59 -59
- package/scripts/filters/post.js +23 -23
- package/scripts/generaters/archive.js +141 -141
- package/scripts/generaters/config.js +43 -43
- package/scripts/generaters/images.js +26 -26
- package/scripts/generaters/index.js +110 -110
- package/scripts/generaters/pages.js +19 -19
- package/scripts/generaters/script.js +89 -89
- package/scripts/helpers/asset.js +183 -237
- package/scripts/helpers/engine.js +190 -190
- package/scripts/helpers/list_categories.js +140 -140
- package/scripts/helpers/symbols_count_time.js +76 -76
- package/scripts/plugin/index.js +6 -6
- package/scripts/plugin/lib/injects-point.js +19 -19
- package/scripts/plugin/lib/injects.js +89 -88
- package/scripts/tags/links.js +86 -86
- package/scripts/tags/media.js +19 -19
- 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 +353 -353
- 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 +385 -385
- 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 +264 -264
- 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 +63 -63
- 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 +83 -83
- 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/valine.styl +548 -548
- package/source/css/_common/components/third-party/widgets.styl +57 -57
- package/source/css/_common/outline/footer/footer.styl +69 -69
- 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 +79 -79
- 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 +50 -50
- 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 +75 -75
- 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 +318 -318
- package/source/css/_common/scaffolding/base.styl +172 -172
- 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 +289 -289
- 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 +451 -451
- package/source/css/_mixins.styl +146 -146
- package/source/css/_variables.styl +89 -89
- package/source/css/app.styl +36 -38
- package/source/css/comment.styl +5 -5
- package/source/css/mermaid.styl +5 -5
- package/source/js/_app/components.js +330 -330
- package/source/js/_app/global.js +317 -317
- package/source/js/_app/library.js +302 -302
- package/source/js/_app/page.js +623 -623
- package/source/js/_app/player.js +748 -748
- package/source/js/_app/vue.js +43 -43
- package/layout/_partials/third-party/qweather.pug +0 -35
- package/source/css/plugin.styl +0 -174
@@ -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,50 +1,50 @@
|
|
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
|
-
|
9
|
-
+mobile() {
|
10
|
-
height: 10vh;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
/* Animation */
|
14
|
-
.parallax>use {
|
15
|
-
animation: wave 25s cubic-bezier(.55, .5, .45, .5) infinite;
|
16
|
-
}
|
17
|
-
|
18
|
-
.parallax>use:nth-child(1) {
|
19
|
-
animation-delay: -2s;
|
20
|
-
animation-duration: 7s;
|
21
|
-
fill: var(--grey-1-a7);
|
22
|
-
}
|
23
|
-
|
24
|
-
.parallax>use:nth-child(2) {
|
25
|
-
animation-delay: -3s;
|
26
|
-
animation-duration: 10s;
|
27
|
-
fill: var(--grey-1-a5);
|
28
|
-
}
|
29
|
-
|
30
|
-
.parallax>use:nth-child(3) {
|
31
|
-
animation-delay: -4s;
|
32
|
-
animation-duration: 13s;
|
33
|
-
fill: var(--grey-1-a3);
|
34
|
-
}
|
35
|
-
|
36
|
-
.parallax>use:nth-child(4) {
|
37
|
-
animation-delay: -5s;
|
38
|
-
animation-duration: 20s;
|
39
|
-
fill: var(--grey-1);
|
40
|
-
}
|
41
|
-
|
42
|
-
@keyframes wave {
|
43
|
-
0% {
|
44
|
-
transform: translate3d(-90px, 0, 0);
|
45
|
-
}
|
46
|
-
|
47
|
-
100% {
|
48
|
-
transform: translate3d(85px, 0, 0);
|
49
|
-
}
|
50
|
-
}
|
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
|
+
|
9
|
+
+mobile() {
|
10
|
+
height: 10vh;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
/* Animation */
|
14
|
+
.parallax>use {
|
15
|
+
animation: wave 25s cubic-bezier(.55, .5, .45, .5) infinite;
|
16
|
+
}
|
17
|
+
|
18
|
+
.parallax>use:nth-child(1) {
|
19
|
+
animation-delay: -2s;
|
20
|
+
animation-duration: 7s;
|
21
|
+
fill: var(--grey-1-a7);
|
22
|
+
}
|
23
|
+
|
24
|
+
.parallax>use:nth-child(2) {
|
25
|
+
animation-delay: -3s;
|
26
|
+
animation-duration: 10s;
|
27
|
+
fill: var(--grey-1-a5);
|
28
|
+
}
|
29
|
+
|
30
|
+
.parallax>use:nth-child(3) {
|
31
|
+
animation-delay: -4s;
|
32
|
+
animation-duration: 13s;
|
33
|
+
fill: var(--grey-1-a3);
|
34
|
+
}
|
35
|
+
|
36
|
+
.parallax>use:nth-child(4) {
|
37
|
+
animation-delay: -5s;
|
38
|
+
animation-duration: 20s;
|
39
|
+
fill: var(--grey-1);
|
40
|
+
}
|
41
|
+
|
42
|
+
@keyframes wave {
|
43
|
+
0% {
|
44
|
+
transform: translate3d(-90px, 0, 0);
|
45
|
+
}
|
46
|
+
|
47
|
+
100% {
|
48
|
+
transform: translate3d(85px, 0, 0);
|
49
|
+
}
|
50
|
+
}
|
@@ -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
|
+
*/
|