hexo-theme-shokax 0.4.5 → 0.4.6-beta2
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 +43 -0
@@ -1,263 +1,263 @@
|
|
1
|
-
|
2
|
-
@keyframes rainbow {
|
3
|
-
to {
|
4
|
-
background-position: -2000vw;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
|
8
|
-
.md {
|
9
|
-
p,
|
10
|
-
table,
|
11
|
-
pre,
|
12
|
-
blockquote,
|
13
|
-
img,
|
14
|
-
.tabs,
|
15
|
-
.links {
|
16
|
-
&:last-child {
|
17
|
-
margin-bottom: 0;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
ul, dd, ol {
|
22
|
-
ul, ol {
|
23
|
-
margin-top: 0;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
a {
|
28
|
-
color: var(--primary-color); //原始链接颜色
|
29
|
-
|
30
|
-
&:hover {
|
31
|
-
color: var(--color-blue); //鼠标经过颜色
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
for headline in (1 .. 6) {
|
36
|
-
h{headline} {
|
37
|
-
font-size: $font-size-headings-base - $font-size-headings-step * headline;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
h1,
|
42
|
-
h2,
|
43
|
-
h3,
|
44
|
-
h4,
|
45
|
-
h5,
|
46
|
-
h6 {
|
47
|
-
position: relative;
|
48
|
-
padding-top: .625rem;
|
49
|
-
|
50
|
-
&:hover .anchor {
|
51
|
-
&::before, &::after {
|
52
|
-
color: var(--primary-color);
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
h1::after {
|
58
|
-
content: "";
|
59
|
-
display: block;
|
60
|
-
box-sizing: unset;
|
61
|
-
width: 100%;
|
62
|
-
height: .0625rem;
|
63
|
-
background: var(--grey-3);
|
64
|
-
padding-right: 1.25rem;
|
65
|
-
margin-left: -1.25rem;
|
66
|
-
margin-top: .3125rem;
|
67
|
-
}
|
68
|
-
|
69
|
-
.anchor {
|
70
|
-
border-bottom-style: none;
|
71
|
-
color: var(--grey-4);
|
72
|
-
float: right;
|
73
|
-
margin-left: .625rem;
|
74
|
-
|
75
|
-
&:hover {
|
76
|
-
color: inherit;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
.anchor::before,
|
81
|
-
.anchor::after {
|
82
|
-
color: var(--grey-4);
|
83
|
-
position: absolute;
|
84
|
-
font-weight: normal;
|
85
|
-
the-transition(, ease-out);
|
86
|
-
}
|
87
|
-
|
88
|
-
.active .anchor::before,
|
89
|
-
.active .anchor::after {
|
90
|
-
color: var(--primary-color);
|
91
|
-
}
|
92
|
-
|
93
|
-
p {
|
94
|
-
margin: 0 0 .8rem;
|
95
|
-
}
|
96
|
-
|
97
|
-
blockquote {
|
98
|
-
font-size: 90%;
|
99
|
-
background-color: var(--grey-2);
|
100
|
-
margin: 1.25rem 0;
|
101
|
-
border-radius: .1875rem;
|
102
|
-
|
103
|
-
ul {
|
104
|
-
margin: .625rem 0 !important;
|
105
|
-
}
|
106
|
-
|
107
|
-
ul > li::before {
|
108
|
-
width: .375rem !important;
|
109
|
-
height: .375rem !important;
|
110
|
-
top: .6875rem !important;
|
111
|
-
}
|
112
|
-
|
113
|
-
p, ol, ul {
|
114
|
-
&:last-child {
|
115
|
-
margin-bottom: 0!important;
|
116
|
-
}
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
>blockquote {
|
121
|
-
border-left-color: var(--primary-color);
|
122
|
-
}
|
123
|
-
|
124
|
-
iframe {
|
125
|
-
margin-bottom: 1.25rem;
|
126
|
-
}
|
127
|
-
|
128
|
-
.image-info {
|
129
|
-
display: block;
|
130
|
-
text-align: center;
|
131
|
-
font-size: $font-size-smaller;
|
132
|
-
color: var(--grey-4);
|
133
|
-
}
|
134
|
-
|
135
|
-
.video-container {
|
136
|
-
height: 0;
|
137
|
-
margin-bottom: 1.25rem;
|
138
|
-
overflow: hidden;
|
139
|
-
padding-top: 75%;
|
140
|
-
position: relative;
|
141
|
-
width: 100%;
|
142
|
-
|
143
|
-
iframe,
|
144
|
-
object,
|
145
|
-
embed {
|
146
|
-
height: 100%;
|
147
|
-
left: 0;
|
148
|
-
margin: 0;
|
149
|
-
position: absolute;
|
150
|
-
top: 0;
|
151
|
-
width: 100%;
|
152
|
-
}
|
153
|
-
}
|
154
|
-
|
155
|
-
.kbd, kbd {
|
156
|
-
background-color: var(--grey-1);
|
157
|
-
background-image: linear-gradient(var(--grey-2), var(--grey-0), var(--grey-2));
|
158
|
-
border: .0625rem solid var(--grey-4);
|
159
|
-
border-radius: .2rem;
|
160
|
-
box-shadow: .1rem .1rem .2rem var(--grey-9-a1);
|
161
|
-
font-family: inherit;
|
162
|
-
padding: .1rem .3rem;
|
163
|
-
white-space: nowrap;
|
164
|
-
}
|
165
|
-
|
166
|
-
mark {
|
167
|
-
background-color: #dbfdad;
|
168
|
-
}
|
169
|
-
|
170
|
-
ins {
|
171
|
-
--line-color: var(--note-hover, var(--primary-color));
|
172
|
-
text-decoration: none;
|
173
|
-
border-bottom: .125rem solid var(--line-color);
|
174
|
-
|
175
|
-
&.wavy {
|
176
|
-
text-decoration-style: wavy;
|
177
|
-
text-decoration-line: underline;
|
178
|
-
text-decoration-color: var(--line-color);
|
179
|
-
border-bottom: none;
|
180
|
-
}
|
181
|
-
|
182
|
-
&.dot {
|
183
|
-
border-bottom: .2rem dotted var(--line-color);
|
184
|
-
}
|
185
|
-
}
|
186
|
-
|
187
|
-
s {
|
188
|
-
color: var(--grey-5);
|
189
|
-
text-decoration-color: var(--note-hover, var(--grey-5));
|
190
|
-
}
|
191
|
-
|
192
|
-
ruby {
|
193
|
-
padding: 0 .3125rem;
|
194
|
-
}
|
195
|
-
|
196
|
-
.katex-display {
|
197
|
-
overflow-x: scroll;
|
198
|
-
overflow-y: hidden;
|
199
|
-
}
|
200
|
-
|
201
|
-
.spoiler:not(.bulr) {
|
202
|
-
background-color: var(--text-color);
|
203
|
-
color: var(--text-color);
|
204
|
-
text-shadow: none;
|
205
|
-
transition: color .3s;
|
206
|
-
padding:0 .1875rem;
|
207
|
-
|
208
|
-
&:hover {
|
209
|
-
color: #FFF;
|
210
|
-
}
|
211
|
-
}
|
212
|
-
|
213
|
-
.bulr {
|
214
|
-
text-shadow: rgba(0, 0, 0, .7) 0rem 0rem .625rem;
|
215
|
-
color: transparent;
|
216
|
-
}
|
217
|
-
|
218
|
-
.rainbow {
|
219
|
-
background-image: linear-gradient( to left, orangered, orange, gold, lightgreen, cyan, dodgerblue, mediumpurple, hotpink, orangered);
|
220
|
-
background-size: 110vw;
|
221
|
-
background-clip: text;
|
222
|
-
color: transparent;
|
223
|
-
animation: rainbow 60s linear infinite;
|
224
|
-
}
|
225
|
-
}
|
226
|
-
|
227
|
-
|
228
|
-
.article .md {
|
229
|
-
|
230
|
-
.anchor::before,
|
231
|
-
.anchor::after {
|
232
|
-
content: "H";
|
233
|
-
font-family: $font-family-posts;
|
234
|
-
left: -1.875rem;
|
235
|
-
top: 1rem;
|
236
|
-
width: 1.25rem;
|
237
|
-
height: 1.5625rem;
|
238
|
-
text-align: right;
|
239
|
-
visibility: visible;
|
240
|
-
font-size: 80%;
|
241
|
-
|
242
|
-
+mobile-small() {
|
243
|
-
left: -.625rem;
|
244
|
-
}
|
245
|
-
}
|
246
|
-
|
247
|
-
.anchor::after {
|
248
|
-
font-size: 50%;
|
249
|
-
left: -1.375rem;
|
250
|
-
line-height: 3;
|
251
|
-
|
252
|
-
+mobile-small() {
|
253
|
-
left: -.1875rem;
|
254
|
-
}
|
255
|
-
}
|
256
|
-
|
257
|
-
for headline in (1 .. 6) {
|
258
|
-
h{headline} .anchor::after {
|
259
|
-
content: \"headline\";
|
260
|
-
}
|
261
|
-
}
|
262
|
-
}
|
263
|
-
|
1
|
+
|
2
|
+
@keyframes rainbow {
|
3
|
+
to {
|
4
|
+
background-position: -2000vw;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
|
8
|
+
.md {
|
9
|
+
p,
|
10
|
+
table,
|
11
|
+
pre,
|
12
|
+
blockquote,
|
13
|
+
img,
|
14
|
+
.tabs,
|
15
|
+
.links {
|
16
|
+
&:last-child {
|
17
|
+
margin-bottom: 0;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
ul, dd, ol {
|
22
|
+
ul, ol {
|
23
|
+
margin-top: 0;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
a {
|
28
|
+
color: var(--primary-color); //原始链接颜色
|
29
|
+
|
30
|
+
&:hover {
|
31
|
+
color: var(--color-blue); //鼠标经过颜色
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
for headline in (1 .. 6) {
|
36
|
+
h{headline} {
|
37
|
+
font-size: $font-size-headings-base - $font-size-headings-step * headline;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
h1,
|
42
|
+
h2,
|
43
|
+
h3,
|
44
|
+
h4,
|
45
|
+
h5,
|
46
|
+
h6 {
|
47
|
+
position: relative;
|
48
|
+
padding-top: .625rem;
|
49
|
+
|
50
|
+
&:hover .anchor {
|
51
|
+
&::before, &::after {
|
52
|
+
color: var(--primary-color);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
h1::after {
|
58
|
+
content: "";
|
59
|
+
display: block;
|
60
|
+
box-sizing: unset;
|
61
|
+
width: 100%;
|
62
|
+
height: .0625rem;
|
63
|
+
background: var(--grey-3);
|
64
|
+
padding-right: 1.25rem;
|
65
|
+
margin-left: -1.25rem;
|
66
|
+
margin-top: .3125rem;
|
67
|
+
}
|
68
|
+
|
69
|
+
.anchor {
|
70
|
+
border-bottom-style: none;
|
71
|
+
color: var(--grey-4);
|
72
|
+
float: right;
|
73
|
+
margin-left: .625rem;
|
74
|
+
|
75
|
+
&:hover {
|
76
|
+
color: inherit;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
.anchor::before,
|
81
|
+
.anchor::after {
|
82
|
+
color: var(--grey-4);
|
83
|
+
position: absolute;
|
84
|
+
font-weight: normal;
|
85
|
+
the-transition(, ease-out);
|
86
|
+
}
|
87
|
+
|
88
|
+
.active .anchor::before,
|
89
|
+
.active .anchor::after {
|
90
|
+
color: var(--primary-color);
|
91
|
+
}
|
92
|
+
|
93
|
+
p {
|
94
|
+
margin: 0 0 .8rem;
|
95
|
+
}
|
96
|
+
|
97
|
+
blockquote {
|
98
|
+
font-size: 90%;
|
99
|
+
background-color: var(--grey-2);
|
100
|
+
margin: 1.25rem 0;
|
101
|
+
border-radius: .1875rem;
|
102
|
+
|
103
|
+
ul {
|
104
|
+
margin: .625rem 0 !important;
|
105
|
+
}
|
106
|
+
|
107
|
+
ul > li::before {
|
108
|
+
width: .375rem !important;
|
109
|
+
height: .375rem !important;
|
110
|
+
top: .6875rem !important;
|
111
|
+
}
|
112
|
+
|
113
|
+
p, ol, ul {
|
114
|
+
&:last-child {
|
115
|
+
margin-bottom: 0!important;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
>blockquote {
|
121
|
+
border-left-color: var(--primary-color);
|
122
|
+
}
|
123
|
+
|
124
|
+
iframe {
|
125
|
+
margin-bottom: 1.25rem;
|
126
|
+
}
|
127
|
+
|
128
|
+
.image-info {
|
129
|
+
display: block;
|
130
|
+
text-align: center;
|
131
|
+
font-size: $font-size-smaller;
|
132
|
+
color: var(--grey-4);
|
133
|
+
}
|
134
|
+
|
135
|
+
.video-container {
|
136
|
+
height: 0;
|
137
|
+
margin-bottom: 1.25rem;
|
138
|
+
overflow: hidden;
|
139
|
+
padding-top: 75%;
|
140
|
+
position: relative;
|
141
|
+
width: 100%;
|
142
|
+
|
143
|
+
iframe,
|
144
|
+
object,
|
145
|
+
embed {
|
146
|
+
height: 100%;
|
147
|
+
left: 0;
|
148
|
+
margin: 0;
|
149
|
+
position: absolute;
|
150
|
+
top: 0;
|
151
|
+
width: 100%;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
.kbd, kbd {
|
156
|
+
background-color: var(--grey-1);
|
157
|
+
background-image: linear-gradient(var(--grey-2), var(--grey-0), var(--grey-2));
|
158
|
+
border: .0625rem solid var(--grey-4);
|
159
|
+
border-radius: .2rem;
|
160
|
+
box-shadow: .1rem .1rem .2rem var(--grey-9-a1);
|
161
|
+
font-family: inherit;
|
162
|
+
padding: .1rem .3rem;
|
163
|
+
white-space: nowrap;
|
164
|
+
}
|
165
|
+
|
166
|
+
mark {
|
167
|
+
background-color: #dbfdad;
|
168
|
+
}
|
169
|
+
|
170
|
+
ins {
|
171
|
+
--line-color: var(--note-hover, var(--primary-color));
|
172
|
+
text-decoration: none;
|
173
|
+
border-bottom: .125rem solid var(--line-color);
|
174
|
+
|
175
|
+
&.wavy {
|
176
|
+
text-decoration-style: wavy;
|
177
|
+
text-decoration-line: underline;
|
178
|
+
text-decoration-color: var(--line-color);
|
179
|
+
border-bottom: none;
|
180
|
+
}
|
181
|
+
|
182
|
+
&.dot {
|
183
|
+
border-bottom: .2rem dotted var(--line-color);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
s {
|
188
|
+
color: var(--grey-5);
|
189
|
+
text-decoration-color: var(--note-hover, var(--grey-5));
|
190
|
+
}
|
191
|
+
|
192
|
+
ruby {
|
193
|
+
padding: 0 .3125rem;
|
194
|
+
}
|
195
|
+
|
196
|
+
.katex-display {
|
197
|
+
overflow-x: scroll;
|
198
|
+
overflow-y: hidden;
|
199
|
+
}
|
200
|
+
|
201
|
+
.spoiler:not(.bulr) {
|
202
|
+
background-color: var(--text-color);
|
203
|
+
color: var(--text-color);
|
204
|
+
text-shadow: none;
|
205
|
+
transition: color .3s;
|
206
|
+
padding:0 .1875rem;
|
207
|
+
|
208
|
+
&:hover {
|
209
|
+
color: #FFF;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
.bulr {
|
214
|
+
text-shadow: rgba(0, 0, 0, .7) 0rem 0rem .625rem;
|
215
|
+
color: transparent;
|
216
|
+
}
|
217
|
+
|
218
|
+
.rainbow {
|
219
|
+
background-image: linear-gradient( to left, orangered, orange, gold, lightgreen, cyan, dodgerblue, mediumpurple, hotpink, orangered);
|
220
|
+
background-size: 110vw;
|
221
|
+
background-clip: text;
|
222
|
+
color: transparent;
|
223
|
+
animation: rainbow 60s linear infinite;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
|
228
|
+
.article .md {
|
229
|
+
|
230
|
+
.anchor::before,
|
231
|
+
.anchor::after {
|
232
|
+
content: "H";
|
233
|
+
font-family: $font-family-posts;
|
234
|
+
left: -1.875rem;
|
235
|
+
top: 1rem;
|
236
|
+
width: 1.25rem;
|
237
|
+
height: 1.5625rem;
|
238
|
+
text-align: right;
|
239
|
+
visibility: visible;
|
240
|
+
font-size: 80%;
|
241
|
+
|
242
|
+
+mobile-small() {
|
243
|
+
left: -.625rem;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
.anchor::after {
|
248
|
+
font-size: 50%;
|
249
|
+
left: -1.375rem;
|
250
|
+
line-height: 3;
|
251
|
+
|
252
|
+
+mobile-small() {
|
253
|
+
left: -.1875rem;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
for headline in (1 .. 6) {
|
258
|
+
h{headline} .anchor::after {
|
259
|
+
content: \"headline\";
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
263
|
+
|
@@ -1,11 +1,11 @@
|
|
1
|
-
.post footer {
|
2
|
-
&::before {
|
3
|
-
content: "";
|
4
|
-
width: 100%;
|
5
|
-
height: .0625rem;
|
6
|
-
background: var(--grey-3);
|
7
|
-
display: block;
|
8
|
-
margin: 1.25rem auto 0;
|
9
|
-
}
|
10
|
-
|
11
|
-
}
|
1
|
+
.post footer {
|
2
|
+
&::before {
|
3
|
+
content: "";
|
4
|
+
width: 100%;
|
5
|
+
height: .0625rem;
|
6
|
+
background: var(--grey-3);
|
7
|
+
display: block;
|
8
|
+
margin: 1.25rem auto 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
}
|