jekyll-theme-bean 1.0.0
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.txt +21 -0
- data/README.md +262 -0
- data/_config.yml +78 -0
- data/_data/authors.yml +3 -0
- data/_data/blogroll.yml +9 -0
- data/_includes/below-post.html +4 -0
- data/_includes/blog/archive-title.html +12 -0
- data/_includes/blog/post.html +84 -0
- data/_includes/blog/sidebar.html +3 -0
- data/_includes/blog/widget.html +9 -0
- data/_includes/head.html +22 -0
- data/_includes/scripts.html +1 -0
- data/_includes/site/footer.html +36 -0
- data/_includes/site/header.html +40 -0
- data/_includes/widgets.html +33 -0
- data/_layouts/blog.html +59 -0
- data/_layouts/default.html +21 -0
- data/_layouts/page.html +25 -0
- data/_layouts/post.html +35 -0
- data/assets/css/base.css +326 -0
- data/assets/css/highlights.css +134 -0
- data/assets/css/layout.css +376 -0
- data/assets/css/reset.css +67 -0
- data/assets/css/theme.css +44 -0
- data/assets/fonts/.DS_Store +0 -0
- data/assets/fonts/fonts.css +71 -0
- data/assets/fonts/plex-mono-400.woff2 +0 -0
- data/assets/fonts/plex-mono-400i.woff2 +0 -0
- data/assets/fonts/plex-mono-700.woff2 +0 -0
- data/assets/fonts/plex-mono-700i.woff2 +0 -0
- data/assets/fonts/plex-sans-400.woff2 +0 -0
- data/assets/fonts/plex-sans-400i.woff2 +0 -0
- data/assets/fonts/plex-sans-700.woff2 +0 -0
- data/assets/fonts/plex-sans-700i.woff2 +0 -0
- data/assets/images/bg-dark.jpg +0 -0
- data/assets/images/bg.jpg +0 -0
- data/assets/images/header.jpg +0 -0
- data/assets/images/logo.png +0 -0
- metadata +179 -0
data/_layouts/blog.html
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{%- if page.posts -%}
|
6
|
+
{% comment %}
|
7
|
+
We are dealing with archives.
|
8
|
+
{% endcomment %}
|
9
|
+
|
10
|
+
{%- assign posts = page.posts -%}
|
11
|
+
{%- assign hide_posts_content = true -%}
|
12
|
+
{%- elsif paginator.posts -%}
|
13
|
+
{% comment %}
|
14
|
+
We are dealing with the blog flow.
|
15
|
+
{% endcomment %}
|
16
|
+
{% assign posts = paginator.posts %}
|
17
|
+
{%- else -%}
|
18
|
+
{% comment %}
|
19
|
+
Pagination is disabled, brings full archive.
|
20
|
+
{% endcomment %}
|
21
|
+
{%- assign posts = site.posts -%}
|
22
|
+
{%- endif -%}
|
23
|
+
|
24
|
+
|
25
|
+
<div class="container">
|
26
|
+
<div class="blog-posts">
|
27
|
+
{%- if page.date or page.type -%}
|
28
|
+
{%- include blog/archive-title.html type=page.type date=page.date title=page.title hide_posts_content=hide_posts_content -%}
|
29
|
+
{%- endif -%}
|
30
|
+
|
31
|
+
{% for post in posts %}
|
32
|
+
{%- include blog/post.html post=post content=post.content -%}
|
33
|
+
{% endfor %}
|
34
|
+
|
35
|
+
{% if paginator.previous_page or paginator.next_page -%}
|
36
|
+
<nav class="blog-pagination">
|
37
|
+
<h2 class="screen-reader-text">
|
38
|
+
{{- site.bean.translations.blog_pagination_text -}}
|
39
|
+
</h2>
|
40
|
+
|
41
|
+
<div class="pagination-links">
|
42
|
+
{% if paginator.previous_page -%}
|
43
|
+
<a class="prev-page menu-item" href="{{ paginator.previous_page_path | relative_url }}" rel="prev">
|
44
|
+
{{- site.bean.translations.blog_pagination_prev_page -}}
|
45
|
+
</a>
|
46
|
+
{%- endif %}
|
47
|
+
|
48
|
+
{% if paginator.next_page -%}
|
49
|
+
<a class="next-page menu-item" href="{{ paginator.next_page_path | relative_url }}" rel="next">
|
50
|
+
{{- site.bean.translations.blog_pagination_next_page -}}
|
51
|
+
</a>
|
52
|
+
{%- endif %}
|
53
|
+
</div>
|
54
|
+
</nav>
|
55
|
+
{%- endif %}
|
56
|
+
</div>
|
57
|
+
|
58
|
+
{% include blog/sidebar.html %}
|
59
|
+
</div>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="{{- page.lang | default: site.lang -}}">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
<a class="screen-reader-text" href="#content">{{ site.bean.translations.jump_to_content }}</a>
|
6
|
+
{% if site.main_menu -%}
|
7
|
+
<a class="screen-reader-text" href="#navigation">{{ site.bean.translations.jump_to_navigation }}</a>
|
8
|
+
{%- endif %}
|
9
|
+
<div class="site">
|
10
|
+
{% include site/header.html %}
|
11
|
+
|
12
|
+
<main class="site-content" id="content">
|
13
|
+
{{ content }}
|
14
|
+
</main>
|
15
|
+
|
16
|
+
{% include site/footer.html %}
|
17
|
+
</div>
|
18
|
+
|
19
|
+
{% include scripts.html %}
|
20
|
+
</body>
|
21
|
+
</html>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="container">
|
6
|
+
<div class="page">
|
7
|
+
<article class="post">
|
8
|
+
<header class="post-header">
|
9
|
+
{% if page.title and page.title != "" %}
|
10
|
+
<h1 class="post-title">
|
11
|
+
{{ page.title }}
|
12
|
+
</h1>
|
13
|
+
{%- endif %}
|
14
|
+
</header>
|
15
|
+
|
16
|
+
<div class="post-content">
|
17
|
+
{{ content }}
|
18
|
+
</div>
|
19
|
+
</article>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
{% unless page.hide_sidebar -%}
|
23
|
+
{% include blog/sidebar.html %}
|
24
|
+
{%- endunless %}
|
25
|
+
</div>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="container">
|
6
|
+
<div class="blog-posts">
|
7
|
+
{%- include blog/post.html post=page content=content -%}
|
8
|
+
|
9
|
+
{%- include below-post.html -%}
|
10
|
+
|
11
|
+
{% if page.previous or page.next -%}
|
12
|
+
<nav class="blog-pagination">
|
13
|
+
<h2 class="screen-reader-text">
|
14
|
+
{{- site.bean.translations.blog_pagination_text -}}
|
15
|
+
</h2>
|
16
|
+
|
17
|
+
<div class="pagination-links">
|
18
|
+
{% if page.previous -%}
|
19
|
+
<a class="prev-page menu-item" href="{{ page.previous.url | relative_url }}" rel="prev">
|
20
|
+
← {{ page.previous.title }}
|
21
|
+
</a>
|
22
|
+
{%- endif %}
|
23
|
+
|
24
|
+
{% if page.next -%}
|
25
|
+
<a class="next-page menu-item" href="{{ page.next.url | relative_url }}" rel="next">
|
26
|
+
{{ page.next.title }} →
|
27
|
+
</a>
|
28
|
+
{%- endif %}
|
29
|
+
</div>
|
30
|
+
</nav>
|
31
|
+
{%- endif %}
|
32
|
+
</div>
|
33
|
+
|
34
|
+
{% include blog/sidebar.html %}
|
35
|
+
</div>
|
data/assets/css/base.css
ADDED
@@ -0,0 +1,326 @@
|
|
1
|
+
body {
|
2
|
+
background: var(--background-body);
|
3
|
+
color: var(--color-text);
|
4
|
+
font-family: var(--main-font-family);
|
5
|
+
font-size: var(--base-font-size);
|
6
|
+
line-height: 1.5;
|
7
|
+
-webkit-font-smoothing: antialiased;
|
8
|
+
}
|
9
|
+
|
10
|
+
/*
|
11
|
+
Text Elements
|
12
|
+
*/
|
13
|
+
|
14
|
+
p, ul, ol, dl,
|
15
|
+
pre, blockquote
|
16
|
+
table, figure,
|
17
|
+
video, audio, iframe {
|
18
|
+
margin-bottom: var(--spacing-unit);
|
19
|
+
max-width: 100%;
|
20
|
+
position: relative;
|
21
|
+
}
|
22
|
+
|
23
|
+
sub, sup {
|
24
|
+
font-size: 0.5em;
|
25
|
+
}
|
26
|
+
|
27
|
+
sub {
|
28
|
+
vertical-align: text-bottom;
|
29
|
+
}
|
30
|
+
|
31
|
+
sup {
|
32
|
+
vertical-align: text-top;
|
33
|
+
}
|
34
|
+
|
35
|
+
del, strike {
|
36
|
+
text-decoration-style: wavy;
|
37
|
+
}
|
38
|
+
|
39
|
+
ins {
|
40
|
+
background-color: color-mix(in srgb, var(--color-accent), var(--background-body) 60%);
|
41
|
+
text-decoration: none;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* Links */
|
45
|
+
a {
|
46
|
+
color: var(--color-accent);
|
47
|
+
text-decoration: underline;
|
48
|
+
text-decoration-thickness: 0.05em;
|
49
|
+
text-decoration-color: transparent;
|
50
|
+
transition-property: color, text-decoration-color;
|
51
|
+
transition-timing-function: ease;
|
52
|
+
transition-duration: 250ms;
|
53
|
+
}
|
54
|
+
|
55
|
+
a:hover,
|
56
|
+
a:focus {
|
57
|
+
text-decoration-color: currentcolor;
|
58
|
+
}
|
59
|
+
|
60
|
+
a:active {
|
61
|
+
color: var(--color-accent-alt);
|
62
|
+
}
|
63
|
+
|
64
|
+
/* Headings */
|
65
|
+
h1, h2, h3, h4, h5, h6 {
|
66
|
+
font-family: var(--head-font-family);
|
67
|
+
font-weight: normal;
|
68
|
+
line-height: 1.2;
|
69
|
+
margin-bottom: var(--spacing-unit);
|
70
|
+
}
|
71
|
+
|
72
|
+
h1 {
|
73
|
+
font-size: clamp(2.6rem, 3vw, 3.2rem);
|
74
|
+
}
|
75
|
+
|
76
|
+
h2 {
|
77
|
+
font-size: clamp(2.2rem, 2.75vw, 2.8rem);
|
78
|
+
}
|
79
|
+
|
80
|
+
h3 {
|
81
|
+
font-size: clamp(2rem, 2.5vw, 2.6rem);
|
82
|
+
}
|
83
|
+
|
84
|
+
h4 {
|
85
|
+
font-size: clamp(1.8rem, 2.25vw, 2.4rem);
|
86
|
+
}
|
87
|
+
|
88
|
+
h5 {
|
89
|
+
font-size: clamp(1.6rem, 2vw, 2.2rem);
|
90
|
+
}
|
91
|
+
|
92
|
+
h6 {
|
93
|
+
font-size: clamp(1.4rem, 1.75vw, 1.8rem);
|
94
|
+
}
|
95
|
+
|
96
|
+
/* Lists */
|
97
|
+
ul, ol, dl {
|
98
|
+
margin-left: 1.5em;
|
99
|
+
}
|
100
|
+
|
101
|
+
ul, ol {
|
102
|
+
list-style-position: outside;
|
103
|
+
}
|
104
|
+
|
105
|
+
ul ul,
|
106
|
+
ol ol,
|
107
|
+
dl dl {
|
108
|
+
margin-bottom: 0;
|
109
|
+
}
|
110
|
+
|
111
|
+
/* Unordered list */
|
112
|
+
ul ul {
|
113
|
+
list-style-type: square;
|
114
|
+
}
|
115
|
+
|
116
|
+
ul ul ul {
|
117
|
+
list-style-type: circle;
|
118
|
+
}
|
119
|
+
|
120
|
+
/* Ordered list */
|
121
|
+
ol ol {
|
122
|
+
list-style-type: lower-alpha;
|
123
|
+
}
|
124
|
+
|
125
|
+
ol ol ol {
|
126
|
+
list-style-type: lower-roman;
|
127
|
+
}
|
128
|
+
|
129
|
+
/* Definition list */
|
130
|
+
dl dt {
|
131
|
+
font-size: var(--small-font-size);
|
132
|
+
font-weight: bold;
|
133
|
+
text-transform: uppercase;
|
134
|
+
letter-spacing: 0.05em;
|
135
|
+
}
|
136
|
+
|
137
|
+
dl dd {
|
138
|
+
margin-left: 0;
|
139
|
+
margin-bottom: var(--spacing-unit);
|
140
|
+
}
|
141
|
+
|
142
|
+
/* Code and pre-formatted text */
|
143
|
+
code, pre, var, kbd, tt {
|
144
|
+
font-family: var(--code-font-family);
|
145
|
+
}
|
146
|
+
|
147
|
+
pre {
|
148
|
+
background: color-mix(in srgb, var(--color-text), var(--background-body) 95%);
|
149
|
+
font-size: var(--small-font-size);
|
150
|
+
padding: calc(var(--spacing-unit) / 2);
|
151
|
+
overflow: auto;
|
152
|
+
border: 0.1rem solid var(--color-details);
|
153
|
+
border-radius: 0.5rem;
|
154
|
+
box-shadow: inset var(--shadow);
|
155
|
+
}
|
156
|
+
|
157
|
+
@media screen and (prefers-color-scheme: dark) {
|
158
|
+
pre {
|
159
|
+
background: color-mix(in srgb, var(--background-body), var(--color-text) 15%);
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
pre code {
|
164
|
+
font-size: 100%;
|
165
|
+
}
|
166
|
+
|
167
|
+
:not(pre) > code {
|
168
|
+
background: color-mix(in srgb, var(--color-text), var(--background-body) 95%);
|
169
|
+
font-size: 0.9em;
|
170
|
+
}
|
171
|
+
|
172
|
+
/* Highlighted code */
|
173
|
+
|
174
|
+
.highlight pre table,
|
175
|
+
.highlight th,
|
176
|
+
.highlight td,
|
177
|
+
.highlight pre pre {
|
178
|
+
margin: 0;
|
179
|
+
padding: 0;
|
180
|
+
border: none;
|
181
|
+
box-shadow: none;
|
182
|
+
}
|
183
|
+
|
184
|
+
/*
|
185
|
+
Blockquotes
|
186
|
+
*/
|
187
|
+
|
188
|
+
q {
|
189
|
+
quotes: "“" "”" "‘" "’";
|
190
|
+
font-style: normal;
|
191
|
+
}
|
192
|
+
|
193
|
+
blockquote {
|
194
|
+
position: relative;
|
195
|
+
border-left: var(--border);
|
196
|
+
box-shadow: inset 0.5rem 0 0.5rem -0.5rem var(--color-shadows);
|
197
|
+
padding-left: var(--spacing-unit);
|
198
|
+
font-size: 90%;
|
199
|
+
}
|
200
|
+
|
201
|
+
blockquote > * {
|
202
|
+
font-size: 1.25em;
|
203
|
+
}
|
204
|
+
|
205
|
+
cite {
|
206
|
+
font-size: var(--small-font-size);
|
207
|
+
font-style: normal;
|
208
|
+
font-weight: bold;
|
209
|
+
letter-spacing: 0.05em;
|
210
|
+
text-transform: uppercase;
|
211
|
+
}
|
212
|
+
|
213
|
+
/* Media */
|
214
|
+
img {
|
215
|
+
max-width: 100%;
|
216
|
+
overflow: hidden;
|
217
|
+
opacity: 1;
|
218
|
+
}
|
219
|
+
|
220
|
+
@media screen and (prefers-color-scheme: dark) {
|
221
|
+
img {
|
222
|
+
opacity: 0.75;
|
223
|
+
transition: opacity 250ms ease;
|
224
|
+
}
|
225
|
+
|
226
|
+
img:hover,
|
227
|
+
img:focus {
|
228
|
+
opacity: 1;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
.post-content img {
|
233
|
+
border: 0.1rem solid var(--color-details);
|
234
|
+
border-radius: 0.5rem;
|
235
|
+
box-shadow: var(--shadow);
|
236
|
+
}
|
237
|
+
|
238
|
+
@media screen and (min-width: 690px) {
|
239
|
+
.post-content img {
|
240
|
+
width: calc(100% - (var(--spacing-unit) / 2 + 15rem));
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
img + em,
|
245
|
+
img + br + em {
|
246
|
+
display: block;
|
247
|
+
width: 15rem;
|
248
|
+
box-shadow: inset 0.5rem 0 0.5rem -0.5rem var(--color-shadows);
|
249
|
+
font-style: normal;
|
250
|
+
font-size: var(--small-font-size);
|
251
|
+
padding: calc(var(--spacing-unit) / 4) calc(var(--spacing-unit) / 2);
|
252
|
+
}
|
253
|
+
|
254
|
+
@media screen and (min-width: 690px) {
|
255
|
+
img + em,
|
256
|
+
img + br + em {
|
257
|
+
position: absolute;
|
258
|
+
top: 0;
|
259
|
+
right: 0;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
|
263
|
+
video,
|
264
|
+
iframe[src*="youtu"],
|
265
|
+
iframe[src*="twitch"],
|
266
|
+
iframe[src*="vimeo"] {
|
267
|
+
border: var(--border);
|
268
|
+
border-radius: var(--radius);
|
269
|
+
box-shadow: var(--shadow);
|
270
|
+
aspect-ratio: 16 / 9;
|
271
|
+
height: auto;
|
272
|
+
width: 100%;
|
273
|
+
}
|
274
|
+
|
275
|
+
/*
|
276
|
+
Tables
|
277
|
+
*/
|
278
|
+
|
279
|
+
table {
|
280
|
+
width: 100%;
|
281
|
+
border-collapse: collapse;
|
282
|
+
border-spacing: 0;
|
283
|
+
border-radius: 0.5rem;
|
284
|
+
border: 0.1rem solid var(--color-details);
|
285
|
+
box-shadow: var(--shadow);
|
286
|
+
margin: 1.5rem 0;
|
287
|
+
}
|
288
|
+
|
289
|
+
figure > table {
|
290
|
+
width: max-content;
|
291
|
+
margin: 0;
|
292
|
+
}
|
293
|
+
|
294
|
+
td,
|
295
|
+
th {
|
296
|
+
border: 0.1rem solid var(--color-details);
|
297
|
+
text-align: start;
|
298
|
+
padding: 0.5rem;
|
299
|
+
}
|
300
|
+
|
301
|
+
th {
|
302
|
+
background-color: color-mix(in srgb, var(--background-body), var(--color-text) 50%);
|
303
|
+
color: var(--background-body);
|
304
|
+
font-weight: bold;
|
305
|
+
}
|
306
|
+
|
307
|
+
tr:nth-child(even) {
|
308
|
+
background-color: color-mix(in srgb, var(--background-body), var(--color-text) 5%);
|
309
|
+
}
|
310
|
+
|
311
|
+
table caption {
|
312
|
+
font-weight: bold;
|
313
|
+
margin-bottom: 0.5rem;
|
314
|
+
}
|
315
|
+
|
316
|
+
/*
|
317
|
+
Horizontal Rule
|
318
|
+
*/
|
319
|
+
|
320
|
+
hr {
|
321
|
+
margin: calc(var(--spacing-unit) * 2) auto;
|
322
|
+
border-top: var(--border);
|
323
|
+
box-shadow: var(--shadow);
|
324
|
+
height: 0;
|
325
|
+
max-width: 25rem;
|
326
|
+
}
|
@@ -0,0 +1,134 @@
|
|
1
|
+
.highlight .hll { background-color: #ffffcc }
|
2
|
+
.highlight .c { color: #408080; font-style: italic } /* Comment */
|
3
|
+
.highlight .err { border: 1px solid #FF0000 } /* Error */
|
4
|
+
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
5
|
+
.highlight .o { color: #666666 } /* Operator */
|
6
|
+
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
7
|
+
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
8
|
+
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
|
9
|
+
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
|
10
|
+
.highlight .gd { color: #A00000 } /* Generic.Deleted */
|
11
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
12
|
+
.highlight .gr { color: #FF0000 } /* Generic.Error */
|
13
|
+
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
14
|
+
.highlight .gi { color: #00A000 } /* Generic.Inserted */
|
15
|
+
.highlight .go { color: #808080 } /* Generic.Output */
|
16
|
+
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
17
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
18
|
+
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
19
|
+
.highlight .gt { color: #0040D0 } /* Generic.Traceback */
|
20
|
+
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
21
|
+
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
22
|
+
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
23
|
+
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
|
24
|
+
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
25
|
+
.highlight .kt { color: #B00040 } /* Keyword.Type */
|
26
|
+
.highlight .m { color: #666666 } /* Literal.Number */
|
27
|
+
.highlight .s { color: #BA2121 } /* Literal.String */
|
28
|
+
.highlight .na { color: #7D9029 } /* Name.Attribute */
|
29
|
+
.highlight .nb { color: #008000 } /* Name.Builtin */
|
30
|
+
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
31
|
+
.highlight .no { color: #880000 } /* Name.Constant */
|
32
|
+
.highlight .nd { color: #AA22FF } /* Name.Decorator */
|
33
|
+
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
34
|
+
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
35
|
+
.highlight .nf { color: #0000FF } /* Name.Function */
|
36
|
+
.highlight .nl { color: #A0A000 } /* Name.Label */
|
37
|
+
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
38
|
+
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
39
|
+
.highlight .nv { color: #19177C } /* Name.Variable */
|
40
|
+
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
41
|
+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
42
|
+
.highlight .mf { color: #666666 } /* Literal.Number.Float */
|
43
|
+
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
|
44
|
+
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
|
45
|
+
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
|
46
|
+
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
|
47
|
+
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
|
48
|
+
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
49
|
+
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
|
50
|
+
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
51
|
+
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
52
|
+
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
53
|
+
.highlight .sx { color: #008000 } /* Literal.String.Other */
|
54
|
+
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
55
|
+
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
|
56
|
+
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
|
57
|
+
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
58
|
+
.highlight .vc { color: #19177C } /* Name.Variable.Class */
|
59
|
+
.highlight .vg { color: #19177C } /* Name.Variable.Global */
|
60
|
+
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
|
61
|
+
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|
62
|
+
|
63
|
+
@media (prefers-color-scheme: dark) {
|
64
|
+
.highlight pre { background-color: #222222 }
|
65
|
+
.highlight .hll { background-color: #222222 }
|
66
|
+
.highlight .c { color: #000080 } /* Comment */
|
67
|
+
.highlight .err { color: #cccccc; border: 1px solid #FF0000 } /* Error */
|
68
|
+
.highlight .g { color: #cccccc } /* Generic */
|
69
|
+
.highlight .k { color: #cdcd00 } /* Keyword */
|
70
|
+
.highlight .l { color: #cccccc } /* Literal */
|
71
|
+
.highlight .n { color: #cccccc } /* Name */
|
72
|
+
.highlight .o { color: #3399cc } /* Operator */
|
73
|
+
.highlight .x { color: #cccccc } /* Other */
|
74
|
+
.highlight .p { color: #cccccc } /* Punctuation */
|
75
|
+
.highlight .cm { color: #000080 } /* Comment.Multiline */
|
76
|
+
.highlight .cp { color: #000080 } /* Comment.Preproc */
|
77
|
+
.highlight .c1 { color: #000080 } /* Comment.Single */
|
78
|
+
.highlight .cs { color: #cd0000; font-weight: bold } /* Comment.Special */
|
79
|
+
.highlight .gd { color: #cd0000 } /* Generic.Deleted */
|
80
|
+
.highlight .ge { color: #cccccc; font-style: italic } /* Generic.Emph */
|
81
|
+
.highlight .gr { color: #FF0000 } /* Generic.Error */
|
82
|
+
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
83
|
+
.highlight .gi { color: #00cd00 } /* Generic.Inserted */
|
84
|
+
.highlight .go { color: #808080 } /* Generic.Output */
|
85
|
+
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
86
|
+
.highlight .gs { color: #cccccc; font-weight: bold } /* Generic.Strong */
|
87
|
+
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
88
|
+
.highlight .gt { color: #0040D0 } /* Generic.Traceback */
|
89
|
+
.highlight .kc { color: #cdcd00 } /* Keyword.Constant */
|
90
|
+
.highlight .kd { color: #00cd00 } /* Keyword.Declaration */
|
91
|
+
.highlight .kn { color: #cd00cd } /* Keyword.Namespace */
|
92
|
+
.highlight .kp { color: #cdcd00 } /* Keyword.Pseudo */
|
93
|
+
.highlight .kr { color: #cdcd00 } /* Keyword.Reserved */
|
94
|
+
.highlight .kt { color: #00cd00 } /* Keyword.Type */
|
95
|
+
.highlight .ld { color: #cccccc } /* Literal.Date */
|
96
|
+
.highlight .m { color: #cd00cd } /* Literal.Number */
|
97
|
+
.highlight .s { color: #cd0000 } /* Literal.String */
|
98
|
+
.highlight .na { color: #cccccc } /* Name.Attribute */
|
99
|
+
.highlight .nb { color: #cd00cd } /* Name.Builtin */
|
100
|
+
.highlight .nc { color: #00cdcd } /* Name.Class */
|
101
|
+
.highlight .no { color: #cccccc } /* Name.Constant */
|
102
|
+
.highlight .nd { color: #cccccc } /* Name.Decorator */
|
103
|
+
.highlight .ni { color: #cccccc } /* Name.Entity */
|
104
|
+
.highlight .ne { color: #666699; font-weight: bold } /* Name.Exception */
|
105
|
+
.highlight .nf { color: #cccccc } /* Name.Function */
|
106
|
+
.highlight .nl { color: #cccccc } /* Name.Label */
|
107
|
+
.highlight .nn { color: #cccccc } /* Name.Namespace */
|
108
|
+
.highlight .nx { color: #cccccc } /* Name.Other */
|
109
|
+
.highlight .py { color: #cccccc } /* Name.Property */
|
110
|
+
.highlight .nt { color: #cccccc } /* Name.Tag */
|
111
|
+
.highlight .nv { color: #00cdcd } /* Name.Variable */
|
112
|
+
.highlight .ow { color: #cdcd00 } /* Operator.Word */
|
113
|
+
.highlight .w { color: #cccccc } /* Text.Whitespace */
|
114
|
+
.highlight .mf { color: #cd00cd } /* Literal.Number.Float */
|
115
|
+
.highlight .mh { color: #cd00cd } /* Literal.Number.Hex */
|
116
|
+
.highlight .mi { color: #cd00cd } /* Literal.Number.Integer */
|
117
|
+
.highlight .mo { color: #cd00cd } /* Literal.Number.Oct */
|
118
|
+
.highlight .sb { color: #cd0000 } /* Literal.String.Backtick */
|
119
|
+
.highlight .sc { color: #cd0000 } /* Literal.String.Char */
|
120
|
+
.highlight .sd { color: #cd0000 } /* Literal.String.Doc */
|
121
|
+
.highlight .s2 { color: #cd0000 } /* Literal.String.Double */
|
122
|
+
.highlight .se { color: #cd0000 } /* Literal.String.Escape */
|
123
|
+
.highlight .sh { color: #cd0000 } /* Literal.String.Heredoc */
|
124
|
+
.highlight .si { color: #cd0000 } /* Literal.String.Interpol */
|
125
|
+
.highlight .sx { color: #cd0000 } /* Literal.String.Other */
|
126
|
+
.highlight .sr { color: #cd0000 } /* Literal.String.Regex */
|
127
|
+
.highlight .s1 { color: #cd0000 } /* Literal.String.Single */
|
128
|
+
.highlight .ss { color: #cd0000 } /* Literal.String.Symbol */
|
129
|
+
.highlight .bp { color: #cd00cd } /* Name.Builtin.Pseudo */
|
130
|
+
.highlight .vc { color: #00cdcd } /* Name.Variable.Class */
|
131
|
+
.highlight .vg { color: #00cdcd } /* Name.Variable.Global */
|
132
|
+
.highlight .vi { color: #00cdcd } /* Name.Variable.Instance */
|
133
|
+
.highlight .il { color: #cd00cd } /* Literal.Number.Integer.Long */
|
134
|
+
}
|