jekyll-theme-chirpy-g 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +61 -0
- data/_data/locales/ar.yml +91 -0
- data/_data/locales/bg-BG.yml +81 -0
- data/_data/locales/cs-CZ.yml +89 -0
- data/_data/locales/de-DE.yml +87 -0
- data/_data/locales/el-GR.yml +91 -0
- data/_data/locales/en.yml +91 -0
- data/_data/locales/es-ES.yml +77 -0
- data/_data/locales/fa-IR.yaml +91 -0
- data/_data/locales/fi-FI.yml +90 -0
- data/_data/locales/fr-FR.yml +77 -0
- data/_data/locales/hu-HU.yml +92 -0
- data/_data/locales/id-ID.yml +77 -0
- data/_data/locales/it-IT.yml +90 -0
- data/_data/locales/ko-KR.yml +84 -0
- data/_data/locales/my-MM.yml +77 -0
- data/_data/locales/nl-NL.yml +90 -0
- data/_data/locales/pt-BR.yml +77 -0
- data/_data/locales/ru-RU.yml +87 -0
- data/_data/locales/sl-SI.yml +91 -0
- data/_data/locales/sv-SE.yml +91 -0
- data/_data/locales/th.yml +91 -0
- data/_data/locales/tr-TR.yml +77 -0
- data/_data/locales/uk-UA.yml +77 -0
- data/_data/locales/vi-VN.yml +76 -0
- data/_data/locales/zh-CN.yml +83 -0
- data/_data/locales/zh-TW.yml +83 -0
- data/_data/origin/basic.yml +39 -0
- data/_data/origin/cors.yml +54 -0
- data/_includes/analytics/cloudflare.html +6 -0
- data/_includes/analytics/fathom.html +6 -0
- data/_includes/analytics/goatcounter.html +6 -0
- data/_includes/analytics/google.html +13 -0
- data/_includes/analytics/matomo.html +13 -0
- data/_includes/analytics/umami.html +6 -0
- data/_includes/comment.html +5 -0
- data/_includes/comments/disqus.html +57 -0
- data/_includes/comments/giscus.html +55 -0
- data/_includes/comments/utterances.html +38 -0
- data/_includes/datetime.html +20 -0
- data/_includes/embed/audio.html +35 -0
- data/_includes/embed/bilibili.html +9 -0
- data/_includes/embed/twitch.html +8 -0
- data/_includes/embed/video.html +59 -0
- data/_includes/embed/youtube.html +9 -0
- data/_includes/favicons.html +19 -0
- data/_includes/footer.html +49 -0
- data/_includes/head.html +126 -0
- data/_includes/js-selector.html +86 -0
- data/_includes/jsdelivr-combine.html +26 -0
- data/_includes/lang.html +10 -0
- data/_includes/language-alias.html +70 -0
- data/_includes/media-url.html +37 -0
- data/_includes/metadata-hook.html +1 -0
- data/_includes/notification.html +24 -0
- data/_includes/origin-type.html +13 -0
- data/_includes/pageviews/goatcounter.html +21 -0
- data/_includes/post-description.html +25 -0
- data/_includes/post-nav.html +34 -0
- data/_includes/post-paginator.html +91 -0
- data/_includes/post-sharing.html +52 -0
- data/_includes/read-time.html +37 -0
- data/_includes/refactor-content.html +255 -0
- data/_includes/related-posts.html +94 -0
- data/_includes/search-loader.html +49 -0
- data/_includes/search-results.html +10 -0
- data/_includes/sidebar.html +97 -0
- data/_includes/toc-status.html +10 -0
- data/_includes/toc.html +9 -0
- data/_includes/topbar.html +77 -0
- data/_includes/trending-tags.html +46 -0
- data/_includes/update-list.html +40 -0
- data/_layouts/archives.html +35 -0
- data/_layouts/categories.html +138 -0
- data/_layouts/category.html +24 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +86 -0
- data/_layouts/graph.html +8 -0
- data/_layouts/home.html +122 -0
- data/_layouts/page.html +20 -0
- data/_layouts/post.html +179 -0
- data/_layouts/tag.html +23 -0
- data/_layouts/tags.html +22 -0
- data/_sass/abstracts/_breakpoints.scss +73 -0
- data/_sass/abstracts/_index.scss +4 -0
- data/_sass/abstracts/_mixins.scss +80 -0
- data/_sass/abstracts/_placeholders.scss +160 -0
- data/_sass/abstracts/_variables.scss +30 -0
- data/_sass/base/_base.scss +476 -0
- data/_sass/base/_index.scss +4 -0
- data/_sass/base/_reset.scss +41 -0
- data/_sass/base/_syntax.scss +253 -0
- data/_sass/base/_typography.scss +266 -0
- data/_sass/components/_buttons.scss +51 -0
- data/_sass/components/_index.scss +2 -0
- data/_sass/components/_popups.scss +172 -0
- data/_sass/layout/_footer.scss +36 -0
- data/_sass/layout/_index.scss +4 -0
- data/_sass/layout/_panel.scss +70 -0
- data/_sass/layout/_sidebar.scss +258 -0
- data/_sass/layout/_topbar.scss +86 -0
- data/_sass/main.bundle.scss +2 -0
- data/_sass/main.scss +4 -0
- data/_sass/pages/_archives.scss +140 -0
- data/_sass/pages/_categories.scss +82 -0
- data/_sass/pages/_category-tag.scss +63 -0
- data/_sass/pages/_graph.scss +51 -0
- data/_sass/pages/_home.scss +173 -0
- data/_sass/pages/_index.scss +8 -0
- data/_sass/pages/_post.scss +498 -0
- data/_sass/pages/_search.scss +184 -0
- data/_sass/pages/_tags.scss +23 -0
- data/_sass/themes/_dark.scss +318 -0
- data/_sass/themes/_light.scss +330 -0
- data/assets/404.html +14 -0
- data/assets/css/jekyll-theme-chirpy-g.scss +10 -0
- data/assets/feed.xml +54 -0
- data/assets/img/favicons/android-chrome-192x192.png +0 -0
- data/assets/img/favicons/android-chrome-512x512.png +0 -0
- data/assets/img/favicons/apple-touch-icon.png +0 -0
- data/assets/img/favicons/browserconfig.xml +13 -0
- data/assets/img/favicons/favicon-16x16.png +0 -0
- data/assets/img/favicons/favicon-32x32.png +0 -0
- data/assets/img/favicons/favicon.ico +0 -0
- data/assets/img/favicons/mstile-150x150.png +0 -0
- data/assets/img/favicons/site.webmanifest +26 -0
- data/assets/js/data/graph.json +14 -0
- data/assets/js/data/mathjax.js +25 -0
- data/assets/js/data/search.json +20 -0
- data/assets/js/data/swconf.js +47 -0
- data/assets/js/dist/app.min.js +7 -0
- data/assets/js/dist/categories.min.js +4 -0
- data/assets/js/dist/commons.min.js +4 -0
- data/assets/js/dist/graph.min.js +4 -0
- data/assets/js/dist/home.min.js +4 -0
- data/assets/js/dist/misc.min.js +4 -0
- data/assets/js/dist/page.min.js +4 -0
- data/assets/js/dist/post.min.js +4 -0
- data/assets/js/dist/sw.min.js +7 -0
- data/assets/js/dist/theme.min.js +4 -0
- data/assets/robots.txt +10 -0
- metadata +286 -0
@@ -0,0 +1,253 @@
|
|
1
|
+
@use '../abstracts/variables' as v;
|
2
|
+
@use '../abstracts/breakpoints' as bp;
|
3
|
+
@use '../abstracts/mixins' as mx;
|
4
|
+
@use '../abstracts/placeholders';
|
5
|
+
|
6
|
+
.highlighter-rouge {
|
7
|
+
color: var(--highlighter-rouge-color);
|
8
|
+
margin-top: 0.5rem;
|
9
|
+
margin-bottom: 1.2em; /* Override BS Inline-code style */
|
10
|
+
}
|
11
|
+
|
12
|
+
.highlight {
|
13
|
+
@extend %rounded;
|
14
|
+
@extend %code-snippet-bg;
|
15
|
+
|
16
|
+
overflow: auto;
|
17
|
+
padding-bottom: 0.75rem;
|
18
|
+
|
19
|
+
@at-root figure#{&} {
|
20
|
+
@extend %code-snippet-bg;
|
21
|
+
}
|
22
|
+
|
23
|
+
pre {
|
24
|
+
margin-bottom: 0;
|
25
|
+
font-size: v.$code-font-size;
|
26
|
+
line-height: 1.4rem;
|
27
|
+
word-wrap: normal; /* Fixed Safari overflow-x */
|
28
|
+
}
|
29
|
+
|
30
|
+
table {
|
31
|
+
td {
|
32
|
+
&:first-child {
|
33
|
+
display: inline-block;
|
34
|
+
margin-left: 1rem;
|
35
|
+
margin-right: 0.75rem;
|
36
|
+
}
|
37
|
+
|
38
|
+
&:last-child {
|
39
|
+
padding-right: 2rem !important;
|
40
|
+
}
|
41
|
+
|
42
|
+
pre {
|
43
|
+
overflow: visible; /* Fixed iOS safari overflow-x */
|
44
|
+
word-break: normal; /* Fixed iOS safari linenos code break */
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.lineno {
|
50
|
+
text-align: right;
|
51
|
+
color: var(--highlight-lineno-color);
|
52
|
+
-webkit-user-select: none;
|
53
|
+
-moz-user-select: none;
|
54
|
+
-o-user-select: none;
|
55
|
+
-ms-user-select: none;
|
56
|
+
user-select: none;
|
57
|
+
}
|
58
|
+
} /* .highlight */
|
59
|
+
|
60
|
+
code {
|
61
|
+
-webkit-hyphens: none;
|
62
|
+
-ms-hyphens: none;
|
63
|
+
hyphens: none;
|
64
|
+
color: var(--code-color);
|
65
|
+
|
66
|
+
&.highlighter-rouge {
|
67
|
+
font-size: v.$code-font-size;
|
68
|
+
padding: 3px 5px;
|
69
|
+
word-break: break-word;
|
70
|
+
border-radius: v.$radius-sm;
|
71
|
+
background-color: var(--inline-code-bg);
|
72
|
+
}
|
73
|
+
|
74
|
+
&.filepath {
|
75
|
+
background-color: inherit;
|
76
|
+
color: var(--filepath-text-color);
|
77
|
+
font-weight: 600;
|
78
|
+
padding: 0;
|
79
|
+
}
|
80
|
+
|
81
|
+
a > &.highlighter-rouge {
|
82
|
+
padding-bottom: 0; /* show link's underlinke */
|
83
|
+
color: inherit;
|
84
|
+
}
|
85
|
+
|
86
|
+
a:hover > &.highlighter-rouge {
|
87
|
+
border-bottom: none;
|
88
|
+
}
|
89
|
+
|
90
|
+
blockquote & {
|
91
|
+
color: inherit;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
td.rouge-code {
|
96
|
+
@extend %code-snippet-padding;
|
97
|
+
|
98
|
+
/*
|
99
|
+
Prevent some browser extends from
|
100
|
+
changing the URL string of code block.
|
101
|
+
*/
|
102
|
+
a {
|
103
|
+
color: inherit !important;
|
104
|
+
border-bottom: none !important;
|
105
|
+
pointer-events: none;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
div[class^='language-'] {
|
110
|
+
@extend %rounded;
|
111
|
+
@extend %code-snippet-bg;
|
112
|
+
|
113
|
+
box-shadow: var(--language-border-color) 0 0 0 1px;
|
114
|
+
|
115
|
+
.content > & {
|
116
|
+
@include mx.ml-mr(-1rem);
|
117
|
+
|
118
|
+
border-radius: 0;
|
119
|
+
|
120
|
+
@include bp.sm {
|
121
|
+
@include mx.ml-mr(0);
|
122
|
+
|
123
|
+
border-radius: v.$radius-lg;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
.code-header {
|
128
|
+
@include bp.sm {
|
129
|
+
@include mx.ml-mr(0);
|
130
|
+
|
131
|
+
$dot-margin: 1rem;
|
132
|
+
|
133
|
+
&::before {
|
134
|
+
content: '';
|
135
|
+
display: inline-block;
|
136
|
+
margin-left: $dot-margin;
|
137
|
+
width: v.$code-dot-size;
|
138
|
+
height: v.$code-dot-size;
|
139
|
+
border-radius: 50%;
|
140
|
+
background-color: var(--code-header-muted-color);
|
141
|
+
box-shadow: (v.$code-dot-size + v.$code-dot-gap) 0 0
|
142
|
+
var(--code-header-muted-color),
|
143
|
+
(v.$code-dot-size + v.$code-dot-gap) * 2 0 0
|
144
|
+
var(--code-header-muted-color);
|
145
|
+
}
|
146
|
+
|
147
|
+
span {
|
148
|
+
// center the text of label
|
149
|
+
margin-left: calc(($dot-margin + v.$code-dot-size) / 2 * -1);
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
.highlight {
|
155
|
+
border-top-left-radius: 0;
|
156
|
+
border-top-right-radius: 0;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
/* Hide line numbers for default, console, and terminal code snippets */
|
161
|
+
div {
|
162
|
+
&.nolineno,
|
163
|
+
&.language-plaintext,
|
164
|
+
&.language-console,
|
165
|
+
&.language-terminal {
|
166
|
+
td:first-child {
|
167
|
+
padding: 0 !important;
|
168
|
+
margin-right: 0;
|
169
|
+
|
170
|
+
.lineno {
|
171
|
+
display: none;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
.code-header {
|
178
|
+
@extend %no-cursor;
|
179
|
+
|
180
|
+
display: flex;
|
181
|
+
justify-content: space-between;
|
182
|
+
align-items: center;
|
183
|
+
height: v.$code-header-height;
|
184
|
+
margin-left: 0.75rem;
|
185
|
+
margin-right: 0.25rem;
|
186
|
+
|
187
|
+
/* the label block */
|
188
|
+
span {
|
189
|
+
line-height: v.$code-header-height;
|
190
|
+
|
191
|
+
/* label icon */
|
192
|
+
i {
|
193
|
+
font-size: 1rem;
|
194
|
+
width: v.$code-icon-width;
|
195
|
+
color: var(--code-header-icon-color);
|
196
|
+
|
197
|
+
&.small {
|
198
|
+
font-size: 70%;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
@at-root [file] #{&} > i {
|
203
|
+
position: relative;
|
204
|
+
top: 1px; /* center the file icon */
|
205
|
+
}
|
206
|
+
|
207
|
+
/* label text */
|
208
|
+
&::after {
|
209
|
+
content: attr(data-label-text);
|
210
|
+
font-size: 0.85rem;
|
211
|
+
font-weight: 600;
|
212
|
+
color: var(--code-header-text-color);
|
213
|
+
}
|
214
|
+
}
|
215
|
+
|
216
|
+
/* clipboard */
|
217
|
+
button {
|
218
|
+
@extend %cursor-pointer;
|
219
|
+
@extend %rounded;
|
220
|
+
|
221
|
+
border: 1px solid transparent;
|
222
|
+
height: v.$code-header-height;
|
223
|
+
width: v.$code-header-height;
|
224
|
+
padding: 0;
|
225
|
+
background-color: inherit;
|
226
|
+
|
227
|
+
i {
|
228
|
+
color: var(--code-header-icon-color);
|
229
|
+
}
|
230
|
+
|
231
|
+
&[timeout] {
|
232
|
+
&:hover {
|
233
|
+
border-color: var(--clipboard-checked-color);
|
234
|
+
}
|
235
|
+
|
236
|
+
i {
|
237
|
+
color: var(--clipboard-checked-color);
|
238
|
+
}
|
239
|
+
}
|
240
|
+
|
241
|
+
&:focus {
|
242
|
+
outline: none;
|
243
|
+
}
|
244
|
+
|
245
|
+
&:not([timeout]):hover {
|
246
|
+
background-color: rgba(128, 128, 128, 0.37);
|
247
|
+
|
248
|
+
i {
|
249
|
+
color: white;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
253
|
+
}
|
@@ -0,0 +1,266 @@
|
|
1
|
+
@use '../abstracts/variables' as v;
|
2
|
+
@use '../abstracts/breakpoints' as bp;
|
3
|
+
@use '../abstracts/mixins' as mx;
|
4
|
+
@use '../abstracts/placeholders';
|
5
|
+
|
6
|
+
@for $i from 1 through 5 {
|
7
|
+
h#{$i} {
|
8
|
+
@extend %heading;
|
9
|
+
|
10
|
+
@if $i > 1 {
|
11
|
+
@extend %anchor;
|
12
|
+
}
|
13
|
+
|
14
|
+
@if $i < 5 {
|
15
|
+
$size-factor: 0.25rem;
|
16
|
+
|
17
|
+
@if $i > 1 {
|
18
|
+
$size-factor: 0.18rem;
|
19
|
+
|
20
|
+
main & {
|
21
|
+
@if $i == 2 {
|
22
|
+
margin: 2.5rem 0 1.25rem;
|
23
|
+
} @else {
|
24
|
+
margin: 2rem 0 1rem;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
& {
|
30
|
+
font-size: 1rem + (5 - $i) * $size-factor;
|
31
|
+
}
|
32
|
+
} @else {
|
33
|
+
font-size: 1.05rem;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
a {
|
39
|
+
@extend %link-color;
|
40
|
+
|
41
|
+
text-decoration: none;
|
42
|
+
}
|
43
|
+
|
44
|
+
img {
|
45
|
+
max-width: 100%;
|
46
|
+
height: auto;
|
47
|
+
transition: all 0.35s ease-in-out;
|
48
|
+
|
49
|
+
.blur & {
|
50
|
+
$blur: 20px;
|
51
|
+
|
52
|
+
-webkit-filter: blur($blur);
|
53
|
+
filter: blur($blur);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
blockquote {
|
58
|
+
border-left: 0.125rem solid var(--blockquote-border-color);
|
59
|
+
padding-left: 1rem;
|
60
|
+
color: var(--blockquote-text-color);
|
61
|
+
margin-top: 0.5rem;
|
62
|
+
|
63
|
+
> p:last-child {
|
64
|
+
margin-bottom: 0;
|
65
|
+
}
|
66
|
+
|
67
|
+
&[class^='prompt-'] {
|
68
|
+
border-left: 0;
|
69
|
+
position: relative;
|
70
|
+
padding: 1rem 1rem 1rem 3rem;
|
71
|
+
color: var(--prompt-text-color);
|
72
|
+
|
73
|
+
@extend %rounded;
|
74
|
+
|
75
|
+
&::before {
|
76
|
+
text-align: center;
|
77
|
+
width: 3rem;
|
78
|
+
position: absolute;
|
79
|
+
left: 0.25rem;
|
80
|
+
margin-top: 0.4rem;
|
81
|
+
text-rendering: auto;
|
82
|
+
-webkit-font-smoothing: antialiased;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
@include mx.prompt('tip', '\f0eb', $fa-style: 'regular');
|
87
|
+
@include mx.prompt('info', '\f06a', $rotate: 180);
|
88
|
+
@include mx.prompt('warning', '\f06a');
|
89
|
+
@include mx.prompt('danger', '\f071');
|
90
|
+
}
|
91
|
+
|
92
|
+
kbd {
|
93
|
+
font-family: Lato, sans-serif;
|
94
|
+
display: inline-block;
|
95
|
+
vertical-align: middle;
|
96
|
+
line-height: 1.3rem;
|
97
|
+
min-width: 1.75rem;
|
98
|
+
text-align: center;
|
99
|
+
margin: 0 0.3rem;
|
100
|
+
padding-top: 0.1rem;
|
101
|
+
color: var(--kbd-text-color);
|
102
|
+
background-color: var(--kbd-bg-color);
|
103
|
+
border-radius: v.$radius-sm;
|
104
|
+
border: solid 1px var(--kbd-wrap-color);
|
105
|
+
box-shadow: inset 0 -2px 0 var(--kbd-wrap-color);
|
106
|
+
}
|
107
|
+
|
108
|
+
hr {
|
109
|
+
border-color: var(--main-border-color);
|
110
|
+
opacity: 1;
|
111
|
+
}
|
112
|
+
|
113
|
+
footer {
|
114
|
+
background-color: var(--main-bg);
|
115
|
+
height: v.$footer-height;
|
116
|
+
border-top: 1px solid var(--main-border-color);
|
117
|
+
|
118
|
+
@extend %text-xs;
|
119
|
+
|
120
|
+
a {
|
121
|
+
@extend %text-highlight;
|
122
|
+
|
123
|
+
&:hover {
|
124
|
+
@extend %link-hover;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
em {
|
129
|
+
@extend %text-highlight;
|
130
|
+
}
|
131
|
+
|
132
|
+
p {
|
133
|
+
text-align: center;
|
134
|
+
margin-bottom: 0;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
/* fontawesome icons */
|
139
|
+
i {
|
140
|
+
&.far,
|
141
|
+
&.fas {
|
142
|
+
@extend %no-cursor;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
sup {
|
147
|
+
@extend %sup-fn-target;
|
148
|
+
}
|
149
|
+
|
150
|
+
main {
|
151
|
+
line-height: 1.75;
|
152
|
+
|
153
|
+
h1 {
|
154
|
+
margin-top: 2rem;
|
155
|
+
|
156
|
+
@include bp.lg {
|
157
|
+
margin-top: 3rem;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
p {
|
162
|
+
> a.popup {
|
163
|
+
&:not(.normal):not(.left):not(.right) {
|
164
|
+
@include mx.align-center;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
.categories,
|
170
|
+
#tags,
|
171
|
+
#archives {
|
172
|
+
a:not(:hover) {
|
173
|
+
@extend %no-bottom-border;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
@include bp.lte(bp.get(sm)) {
|
178
|
+
.content {
|
179
|
+
> blockquote[class^='prompt-'] {
|
180
|
+
@include mx.ml-mr(-1rem);
|
181
|
+
|
182
|
+
border-radius: 0;
|
183
|
+
max-width: none;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
.footnotes > ol {
|
190
|
+
padding-left: 2rem;
|
191
|
+
margin-top: 0.5rem;
|
192
|
+
|
193
|
+
> li {
|
194
|
+
&:not(:last-child) {
|
195
|
+
margin-bottom: 0.3rem;
|
196
|
+
}
|
197
|
+
|
198
|
+
@extend %sup-fn-target;
|
199
|
+
|
200
|
+
> p {
|
201
|
+
margin-left: 0.25em;
|
202
|
+
|
203
|
+
@include mx.mt-mb(0);
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
.footnote {
|
209
|
+
@at-root a#{&} {
|
210
|
+
@include mx.ml-mr(1px);
|
211
|
+
@include mx.pl-pr(2px);
|
212
|
+
|
213
|
+
border-bottom-style: none !important;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
.reversefootnote {
|
218
|
+
@at-root a#{&} {
|
219
|
+
font-size: 0.6rem;
|
220
|
+
line-height: 1;
|
221
|
+
position: relative;
|
222
|
+
bottom: 0.25em;
|
223
|
+
margin-left: 0.25em;
|
224
|
+
border-bottom-style: none !important;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
/* --- Begin of Markdown table style --- */
|
229
|
+
|
230
|
+
/* it will be created by Liquid */
|
231
|
+
.table-wrapper {
|
232
|
+
overflow-x: auto;
|
233
|
+
margin-bottom: 1.5rem;
|
234
|
+
|
235
|
+
> table {
|
236
|
+
min-width: 100%;
|
237
|
+
overflow-x: auto;
|
238
|
+
border-spacing: 0;
|
239
|
+
|
240
|
+
thead {
|
241
|
+
border-bottom: solid 2px rgba(210, 215, 217, 0.75);
|
242
|
+
|
243
|
+
th {
|
244
|
+
@extend %table-cell;
|
245
|
+
}
|
246
|
+
}
|
247
|
+
|
248
|
+
tbody {
|
249
|
+
tr {
|
250
|
+
border-bottom: 1px solid var(--tb-border-color);
|
251
|
+
|
252
|
+
&:nth-child(2n) {
|
253
|
+
background-color: var(--tb-even-bg);
|
254
|
+
}
|
255
|
+
|
256
|
+
&:nth-child(2n + 1) {
|
257
|
+
background-color: var(--tb-odd-bg);
|
258
|
+
}
|
259
|
+
|
260
|
+
td {
|
261
|
+
@extend %table-cell;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
} /* tbody */
|
265
|
+
} /* table */
|
266
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
@use '../abstracts/variables' as v;
|
2
|
+
@use '../abstracts/breakpoints' as bp;
|
3
|
+
|
4
|
+
#back-to-top {
|
5
|
+
visibility: hidden;
|
6
|
+
opacity: 0;
|
7
|
+
z-index: 1;
|
8
|
+
cursor: pointer;
|
9
|
+
position: fixed;
|
10
|
+
right: 1rem;
|
11
|
+
bottom: calc(v.$footer-height-large - v.$back2top-size / 2);
|
12
|
+
background: var(--button-bg);
|
13
|
+
color: var(--btn-backtotop-color);
|
14
|
+
padding: 0;
|
15
|
+
width: v.$back2top-size;
|
16
|
+
height: v.$back2top-size;
|
17
|
+
border-radius: 50%;
|
18
|
+
border: 1px solid var(--btn-backtotop-border-color);
|
19
|
+
transition: opacity 0.5s ease-in-out, transform 0.2s ease-out;
|
20
|
+
|
21
|
+
@include bp.lg {
|
22
|
+
right: 5%;
|
23
|
+
bottom: calc(v.$footer-height - v.$back2top-size / 2);
|
24
|
+
}
|
25
|
+
|
26
|
+
@include bp.xxl {
|
27
|
+
right: calc((100vw - v.$sidebar-width - 1140px) / 2 + 3rem);
|
28
|
+
}
|
29
|
+
|
30
|
+
@include bp.xxxl {
|
31
|
+
right: calc(
|
32
|
+
(100vw - v.$sidebar-width-large - v.$main-content-max-width) / 2 + 2rem
|
33
|
+
);
|
34
|
+
}
|
35
|
+
|
36
|
+
&:hover {
|
37
|
+
transform: translate3d(0, -5px, 0);
|
38
|
+
-webkit-transform: translate3d(0, -5px, 0);
|
39
|
+
}
|
40
|
+
|
41
|
+
i {
|
42
|
+
line-height: v.$back2top-size;
|
43
|
+
position: relative;
|
44
|
+
bottom: 2px;
|
45
|
+
}
|
46
|
+
|
47
|
+
&.show {
|
48
|
+
opacity: 1;
|
49
|
+
visibility: visible;
|
50
|
+
}
|
51
|
+
}
|