@riebeckite/theme-rerurate 0.0.32 → 0.0.34
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.
- package/README.md +37 -116
- package/README_ja.md +39 -58
- package/dist/src/index.d.ts +89 -10
- package/dist/src/index.js +68 -24
- package/package.json +2 -2
- package/styles/theme.css +365 -102
package/styles/theme.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@layer base {
|
|
15
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
15
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] {
|
|
16
16
|
--rr-color-paper: #f6efe2;
|
|
17
17
|
--rr-color-ink: #171717;
|
|
18
18
|
--rr-color-orange: #f66620;
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
--rb-layout-gap: 2rem;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
62
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-mode="dark"] {
|
|
63
63
|
color-scheme: dark;
|
|
64
64
|
--rb-color-paper: #1c1a17;
|
|
65
65
|
--rb-color-surface: #26231f;
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
@media (prefers-color-scheme: dark) {
|
|
81
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
81
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not([data-rb-mode]) {
|
|
82
82
|
color-scheme: dark;
|
|
83
83
|
--rb-color-paper: #1c1a17;
|
|
84
84
|
--rb-color-surface: #26231f;
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
:is(
|
|
101
101
|
:root,
|
|
102
102
|
.rb-theme-root
|
|
103
|
-
)[data-theme
|
|
103
|
+
)[data-rb-theme="rerurate"][data-rb-setting-typography="serif"] {
|
|
104
104
|
--rb-font-body: Georgia, Cambria, "Times New Roman", Times, serif;
|
|
105
105
|
--rb-font-heading:
|
|
106
106
|
Futura, "Futura PT", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans",
|
|
@@ -110,14 +110,14 @@
|
|
|
110
110
|
:is(
|
|
111
111
|
:root,
|
|
112
112
|
.rb-theme-root
|
|
113
|
-
)[data-theme
|
|
113
|
+
)[data-rb-theme="rerurate"][data-rb-setting-typography="sans"] {
|
|
114
114
|
--rb-font-body:
|
|
115
115
|
Futura, "Futura PT", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans",
|
|
116
116
|
"Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
|
|
117
117
|
--rb-font-heading: var(--rb-font-body);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
120
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] {
|
|
121
121
|
background: var(--rb-color-paper);
|
|
122
122
|
color: var(--rb-color-ink);
|
|
123
123
|
font-family: var(--rb-font-body);
|
|
@@ -125,12 +125,12 @@
|
|
|
125
125
|
caret-color: var(--rb-color-accent);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
128
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] ::selection {
|
|
129
129
|
background: var(--rb-color-accent);
|
|
130
130
|
color: var(--rr-color-paper, #f6efe2);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
133
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] :focus-visible {
|
|
134
134
|
outline: 2px solid var(--rb-color-accent);
|
|
135
135
|
outline-offset: 2px;
|
|
136
136
|
}
|
|
@@ -138,28 +138,29 @@
|
|
|
138
138
|
:is(
|
|
139
139
|
:root,
|
|
140
140
|
.rb-theme-root
|
|
141
|
-
)[data-theme
|
|
141
|
+
)[data-rb-theme="rerurate"][data-rb-setting-initial="small"] {
|
|
142
142
|
--rr-initial-size: 1.8em;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
:is(
|
|
146
146
|
:root,
|
|
147
147
|
.rb-theme-root
|
|
148
|
-
)[data-theme
|
|
148
|
+
)[data-rb-theme="rerurate"][data-rb-setting-initial="medium"] {
|
|
149
149
|
--rr-initial-size: 2.4em;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
:is(
|
|
153
153
|
:root,
|
|
154
154
|
.rb-theme-root
|
|
155
|
-
)[data-theme
|
|
155
|
+
)[data-rb-theme="rerurate"][data-rb-setting-initial="large"] {
|
|
156
156
|
--rr-initial-size: 3.2em;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
:is(
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
159
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:is(
|
|
160
|
+
[data-rb-setting-initial="small"],
|
|
161
|
+
[data-rb-setting-initial="medium"],
|
|
162
|
+
[data-rb-setting-initial="large"]
|
|
163
|
+
)
|
|
163
164
|
.rb-article-content
|
|
164
165
|
p:first-of-type::first-letter {
|
|
165
166
|
float: left;
|
|
@@ -170,23 +171,23 @@
|
|
|
170
171
|
line-height: 1;
|
|
171
172
|
}
|
|
172
173
|
|
|
173
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
174
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] * {
|
|
174
175
|
scrollbar-color: var(--rb-color-muted) transparent;
|
|
175
176
|
scrollbar-width: thin;
|
|
176
177
|
}
|
|
177
178
|
|
|
178
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
179
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] ::-webkit-scrollbar {
|
|
179
180
|
width: 10px;
|
|
180
181
|
height: 10px;
|
|
181
182
|
}
|
|
182
183
|
|
|
183
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
184
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
184
185
|
::-webkit-scrollbar-thumb {
|
|
185
186
|
background: var(--rb-color-muted);
|
|
186
187
|
border: 2px solid var(--rb-color-paper);
|
|
187
188
|
}
|
|
188
189
|
|
|
189
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
190
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
190
191
|
::-webkit-scrollbar-track {
|
|
191
192
|
background: transparent;
|
|
192
193
|
}
|
|
@@ -206,7 +207,7 @@
|
|
|
206
207
|
* defaults by cascade order, without `!important`.
|
|
207
208
|
* ------------------------------------------------------------------ */
|
|
208
209
|
|
|
209
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
210
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] {
|
|
210
211
|
/* Secondary palette: used only as thin adjacent rule segments. */
|
|
211
212
|
--rr-color-red: #802520;
|
|
212
213
|
--rr-color-ochre: #ba8530;
|
|
@@ -230,44 +231,59 @@
|
|
|
230
231
|
--rr-svg-rule: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='96'%20height='3'%20viewBox='0%200%2096%203'%3E%3Crect%20width='32'%20height='3'%20fill='%23802520'/%3E%3Crect%20x='32'%20width='32'%20height='3'%20fill='%23b98430'/%3E%3Crect%20x='64'%20width='32'%20height='3'%20fill='%235c7f71'/%3E%3C/svg%3E");
|
|
231
232
|
--rr-svg-mark: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='68'%20height='16'%20viewBox='0%200%2068%2016'%3E%3Crect%20y='7'%20width='58'%20height='2'%20fill='%23fff'/%3E%3Ccircle%20cx='4'%20cy='8'%20r='4'%20fill='%23fff'/%3E%3Cpath%20d='M56%203%20L64%208%20L56%2013'%20fill='none'%20stroke='%23fff'%20stroke-width='2'/%3E%3C/svg%3E");
|
|
232
233
|
--rr-svg-quote: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='32'%20viewBox='0%200%2040%2032'%3E%3Cpath%20d='M3%205%20L15%2016%20L3%2027'%20fill='none'%20stroke='%23f66620'%20stroke-width='3'/%3E%3Cpath%20d='M19%205%20L31%2016%20L19%2027'%20fill='none'%20stroke='%23f66620'%20stroke-width='3'/%3E%3C/svg%3E");
|
|
234
|
+
--rr-svg-stars: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='80'%20viewBox='0%200%20120%2080'%3E%3Cg%20fill='%23f66620'%20fill-opacity='.22'%3E%3Ccircle%20cx='10'%20cy='12'%20r='1'/%3E%3Ccircle%20cx='28'%20cy='6'%20r='.8'/%3E%3Ccircle%20cx='45'%20cy='18'%20r='1.2'/%3E%3Ccircle%20cx='70'%20cy='10'%20r='.9'/%3E%3Ccircle%20cx='95'%20cy='22'%20r='1'/%3E%3Ccircle%20cx='110'%20cy='8'%20r='.7'/%3E%3Ccircle%20cx='18'%20cy='48'%20r='.8'/%3E%3Ccircle%20cx='52'%20cy='56'%20r='1'/%3E%3Ccircle%20cx='88'%20cy='50'%20r='1.1'/%3E%3Ccircle%20cx='34'%20cy='72'%20r='.7'/%3E%3Ccircle%20cx='76'%20cy='70'%20r='.9'/%3E%3C/g%3E%3C/svg%3E");
|
|
235
|
+
--rr-svg-constellation: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='140'%20height='90'%20viewBox='0%200%20140%2090'%3E%3Cg%20stroke='%23f66620'%20stroke-width='1'%20fill='none'%20opacity='.22'%3E%3Cpath%20d='M12%2024%20L46%2012%20L82%2028%20L120%2014'/%3E%3Cpath%20d='M46%2012%20L62%2052%20L100%2062'/%3E%3C/g%3E%3Cg%20fill='%23f66620'%20opacity='.3'%3E%3Ccircle%20cx='12'%20cy='24'%20r='2'/%3E%3Ccircle%20cx='46'%20cy='12'%20r='2'/%3E%3Ccircle%20cx='82'%20cy='28'%20r='2'/%3E%3Ccircle%20cx='120'%20cy='14'%20r='2'/%3E%3Ccircle%20cx='62'%20cy='52'%20r='2'/%3E%3Ccircle%20cx='100'%20cy='62'%20r='2'/%3E%3C/g%3E%3C/svg%3E");
|
|
236
|
+
--rr-svg-orbit: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='60'%20viewBox='0%200%20160%2060'%3E%3Cellipse%20cx='80'%20cy='30'%20rx='70'%20ry='18'%20fill='none'%20stroke='%23f66620'%20stroke-width='1'%20opacity='.18'%20transform='rotate(-8%2080%2030)'/%3E%3Ccircle%20cx='148'%20cy='24'%20r='3'%20fill='%23f66620'%20opacity='.26'/%3E%3Ccircle%20cx='12'%20cy='36'%20r='1.5'%20fill='%23f66620'%20opacity='.2'/%3E%3C/svg%3E");
|
|
237
|
+
--rr-cosmic-stars: none;
|
|
238
|
+
--rr-cosmic-constellation: none;
|
|
239
|
+
--rr-cosmic-orbit: none;
|
|
233
240
|
}
|
|
234
241
|
|
|
235
242
|
/* ---- Body rhythm: readable body, kept off the display treatment. ---- */
|
|
236
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
243
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-content {
|
|
237
244
|
font-family: var(--rb-font-body);
|
|
238
|
-
|
|
245
|
+
font-size: calc(var(--rb-setting-font-size, 1) * 1rem);
|
|
246
|
+
line-height: var(--rb-setting-line-height, 1.75);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
:is(
|
|
250
|
+
:root,
|
|
251
|
+
.rb-theme-root
|
|
252
|
+
)[data-rb-theme="rerurate"][data-rb-setting-typography="mono"]
|
|
253
|
+
.rb-article-content {
|
|
254
|
+
font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
|
|
239
255
|
}
|
|
240
256
|
|
|
241
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
257
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-site-header {
|
|
242
258
|
border-bottom: 0;
|
|
243
259
|
}
|
|
244
260
|
|
|
245
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
261
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-content p {
|
|
246
262
|
margin: 1.1em 0;
|
|
247
263
|
}
|
|
248
264
|
|
|
249
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
265
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
250
266
|
.rb-article-content
|
|
251
267
|
:is(ul, ol) {
|
|
252
268
|
margin: 1.1em 0;
|
|
253
269
|
}
|
|
254
270
|
|
|
255
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
271
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-content li {
|
|
256
272
|
margin: 0.35em 0;
|
|
257
273
|
}
|
|
258
274
|
|
|
259
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
275
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
260
276
|
.rb-article-content
|
|
261
277
|
li::marker {
|
|
262
278
|
color: var(--rb-color-accent);
|
|
263
279
|
}
|
|
264
280
|
|
|
265
281
|
/* ---- Article header: rule first, then the title, then a diagram. ---- */
|
|
266
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
282
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-header {
|
|
267
283
|
margin-bottom: 2rem;
|
|
268
284
|
}
|
|
269
285
|
|
|
270
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
286
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
271
287
|
.rb-article-header::before {
|
|
272
288
|
content: "";
|
|
273
289
|
display: block;
|
|
@@ -280,7 +296,7 @@
|
|
|
280
296
|
transform-origin: left center;
|
|
281
297
|
}
|
|
282
298
|
|
|
283
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
299
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-header h1 {
|
|
284
300
|
margin: 0;
|
|
285
301
|
color: var(--rb-color-accent);
|
|
286
302
|
font-family: var(--rb-font-heading);
|
|
@@ -292,8 +308,7 @@
|
|
|
292
308
|
}
|
|
293
309
|
|
|
294
310
|
/* Rule -> diagram: a precise vector mark drawn from the header rule. */
|
|
295
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
296
|
-
.rb-article-header::after {
|
|
311
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-header::after {
|
|
297
312
|
content: "";
|
|
298
313
|
display: block;
|
|
299
314
|
width: 68px;
|
|
@@ -310,7 +325,7 @@
|
|
|
310
325
|
}
|
|
311
326
|
|
|
312
327
|
/* ---- Metadata: sparse ALL CAPS English, led by a short Orange rule. ---- */
|
|
313
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
328
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-meta {
|
|
314
329
|
display: flex;
|
|
315
330
|
align-items: center;
|
|
316
331
|
gap: 0.6rem;
|
|
@@ -324,8 +339,7 @@
|
|
|
324
339
|
text-transform: uppercase;
|
|
325
340
|
}
|
|
326
341
|
|
|
327
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
328
|
-
.rb-article-meta::before {
|
|
342
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-meta::before {
|
|
329
343
|
content: "";
|
|
330
344
|
flex: none;
|
|
331
345
|
width: 1.75rem;
|
|
@@ -334,7 +348,7 @@
|
|
|
334
348
|
}
|
|
335
349
|
|
|
336
350
|
/* ---- Headings: hierarchy from size, weight and whitespace. ---- */
|
|
337
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
351
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-content h2 {
|
|
338
352
|
margin: 2.75rem 0 0.9rem;
|
|
339
353
|
padding-top: calc(3px + 0.6rem);
|
|
340
354
|
font-family: var(--rb-font-heading);
|
|
@@ -350,7 +364,7 @@
|
|
|
350
364
|
background-size: 2.75rem 3px;
|
|
351
365
|
}
|
|
352
366
|
|
|
353
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
367
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-content h3 {
|
|
354
368
|
margin: 2rem 0 0.6rem;
|
|
355
369
|
font-family: var(--rb-font-heading);
|
|
356
370
|
font-size: 1.05rem;
|
|
@@ -358,7 +372,7 @@
|
|
|
358
372
|
line-height: 1.3;
|
|
359
373
|
}
|
|
360
374
|
|
|
361
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
375
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-content h4 {
|
|
362
376
|
margin: 1.5rem 0 0.5rem;
|
|
363
377
|
font-family: var(--rb-font-heading);
|
|
364
378
|
font-size: 0.9rem;
|
|
@@ -366,7 +380,7 @@
|
|
|
366
380
|
line-height: 1.35;
|
|
367
381
|
}
|
|
368
382
|
|
|
369
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
383
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
370
384
|
.rb-article-content
|
|
371
385
|
:is(h5, h6) {
|
|
372
386
|
margin: 1.25rem 0 0.4rem;
|
|
@@ -378,10 +392,10 @@
|
|
|
378
392
|
/* ---- Markdown-style heading marks: `#` .. `#####` inline before the heading
|
|
379
393
|
text so each heading reads as if the marks were typed from the start. The
|
|
380
394
|
marks inherit the heading's own size, colour and font. On by default;
|
|
381
|
-
`data-
|
|
395
|
+
`data-rb-setting-heading-marks="false"` removes them. h6 is left unmarked. ---- */
|
|
382
396
|
|
|
383
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
384
|
-
[data-
|
|
397
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
398
|
+
[data-rb-setting-heading-marks="false"]
|
|
385
399
|
)
|
|
386
400
|
:is(
|
|
387
401
|
.rb-article-header h1,
|
|
@@ -397,40 +411,40 @@
|
|
|
397
411
|
user-select: none;
|
|
398
412
|
}
|
|
399
413
|
|
|
400
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
401
|
-
[data-
|
|
414
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
415
|
+
[data-rb-setting-heading-marks="false"]
|
|
402
416
|
)
|
|
403
417
|
.rb-article-header
|
|
404
418
|
h1::before {
|
|
405
419
|
content: "#";
|
|
406
420
|
}
|
|
407
421
|
|
|
408
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
409
|
-
[data-
|
|
422
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
423
|
+
[data-rb-setting-heading-marks="false"]
|
|
410
424
|
)
|
|
411
425
|
.rb-article-content
|
|
412
426
|
h2::before {
|
|
413
427
|
content: "##";
|
|
414
428
|
}
|
|
415
429
|
|
|
416
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
417
|
-
[data-
|
|
430
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
431
|
+
[data-rb-setting-heading-marks="false"]
|
|
418
432
|
)
|
|
419
433
|
.rb-article-content
|
|
420
434
|
h3::before {
|
|
421
435
|
content: "###";
|
|
422
436
|
}
|
|
423
437
|
|
|
424
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
425
|
-
[data-
|
|
438
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
439
|
+
[data-rb-setting-heading-marks="false"]
|
|
426
440
|
)
|
|
427
441
|
.rb-article-content
|
|
428
442
|
h4::before {
|
|
429
443
|
content: "####";
|
|
430
444
|
}
|
|
431
445
|
|
|
432
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
433
|
-
[data-
|
|
446
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
447
|
+
[data-rb-setting-heading-marks="false"]
|
|
434
448
|
)
|
|
435
449
|
.rb-article-content
|
|
436
450
|
h5::before {
|
|
@@ -441,7 +455,7 @@
|
|
|
441
455
|
:is(
|
|
442
456
|
:root,
|
|
443
457
|
.rb-theme-root
|
|
444
|
-
)[data-theme
|
|
458
|
+
)[data-rb-theme="rerurate"][data-rb-setting-large-headings="large"]
|
|
445
459
|
.rb-article-header
|
|
446
460
|
h1 {
|
|
447
461
|
font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem);
|
|
@@ -450,7 +464,7 @@
|
|
|
450
464
|
:is(
|
|
451
465
|
:root,
|
|
452
466
|
.rb-theme-root
|
|
453
|
-
)[data-theme
|
|
467
|
+
)[data-rb-theme="rerurate"][data-rb-setting-large-headings="large"]
|
|
454
468
|
.rb-article-content
|
|
455
469
|
h2 {
|
|
456
470
|
font-size: 1.35rem;
|
|
@@ -459,7 +473,7 @@
|
|
|
459
473
|
:is(
|
|
460
474
|
:root,
|
|
461
475
|
.rb-theme-root
|
|
462
|
-
)[data-theme
|
|
476
|
+
)[data-rb-theme="rerurate"][data-rb-setting-large-headings="large"]
|
|
463
477
|
.rb-article-content
|
|
464
478
|
h3 {
|
|
465
479
|
font-size: 1.1rem;
|
|
@@ -468,14 +482,14 @@
|
|
|
468
482
|
:is(
|
|
469
483
|
:root,
|
|
470
484
|
.rb-theme-root
|
|
471
|
-
)[data-theme
|
|
485
|
+
)[data-rb-theme="rerurate"][data-rb-setting-large-headings="large"]
|
|
472
486
|
.rb-article-content
|
|
473
487
|
h4 {
|
|
474
488
|
font-size: 0.95rem;
|
|
475
489
|
}
|
|
476
490
|
|
|
477
491
|
/* ---- Links: Ink -> Orange, with the rule (underline) expanding. ---- */
|
|
478
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
492
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
479
493
|
:is(
|
|
480
494
|
.rb-article-content,
|
|
481
495
|
.rb-article-footer,
|
|
@@ -500,7 +514,7 @@
|
|
|
500
514
|
text-decoration-thickness var(--rr-motion-fast) var(--rr-motion-ease);
|
|
501
515
|
}
|
|
502
516
|
|
|
503
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
517
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
504
518
|
:is(
|
|
505
519
|
.rb-article-content,
|
|
506
520
|
.rb-article-footer,
|
|
@@ -516,7 +530,7 @@
|
|
|
516
530
|
}
|
|
517
531
|
|
|
518
532
|
/* ---- Blockquote: flat, marked by Orange quote chevrons. ---- */
|
|
519
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
533
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
520
534
|
.rb-article-content
|
|
521
535
|
blockquote {
|
|
522
536
|
position: relative;
|
|
@@ -528,7 +542,7 @@
|
|
|
528
542
|
font-style: normal;
|
|
529
543
|
}
|
|
530
544
|
|
|
531
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
545
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
532
546
|
.rb-article-content
|
|
533
547
|
blockquote::before {
|
|
534
548
|
content: "";
|
|
@@ -543,11 +557,11 @@
|
|
|
543
557
|
background-size: contain;
|
|
544
558
|
}
|
|
545
559
|
|
|
546
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
560
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
547
561
|
.rb-article-content
|
|
548
562
|
blockquote
|
|
549
563
|
p:first-of-type::before,
|
|
550
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
564
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
551
565
|
.rb-article-content
|
|
552
566
|
blockquote
|
|
553
567
|
p:last-of-type::after {
|
|
@@ -555,7 +569,7 @@
|
|
|
555
569
|
}
|
|
556
570
|
|
|
557
571
|
/* ---- Rules: 1px Ink, Paper-safe, stopping at the text edge. ---- */
|
|
558
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
572
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-content hr {
|
|
559
573
|
width: 100%;
|
|
560
574
|
height: 1px;
|
|
561
575
|
margin: 3rem 0;
|
|
@@ -564,7 +578,7 @@
|
|
|
564
578
|
}
|
|
565
579
|
|
|
566
580
|
/* ---- Inline code and bare pre (guarded against the code plugin). ---- */
|
|
567
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
581
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
568
582
|
.rb-article-content
|
|
569
583
|
:not(pre)
|
|
570
584
|
> code {
|
|
@@ -577,7 +591,7 @@
|
|
|
577
591
|
}
|
|
578
592
|
|
|
579
593
|
:where(
|
|
580
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
594
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
581
595
|
.rb-article-content
|
|
582
596
|
pre:not(:where(.rr-code *))
|
|
583
597
|
) {
|
|
@@ -594,7 +608,7 @@
|
|
|
594
608
|
}
|
|
595
609
|
|
|
596
610
|
:where(
|
|
597
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
611
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-mode="dark"]
|
|
598
612
|
.rb-article-content
|
|
599
613
|
pre:not(:where(.rr-code *))
|
|
600
614
|
) {
|
|
@@ -604,7 +618,7 @@
|
|
|
604
618
|
|
|
605
619
|
@media (prefers-color-scheme: dark) {
|
|
606
620
|
:where(
|
|
607
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
621
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not([data-rb-mode])
|
|
608
622
|
.rb-article-content
|
|
609
623
|
pre:not(:where(.rr-code *))
|
|
610
624
|
) {
|
|
@@ -613,13 +627,13 @@
|
|
|
613
627
|
}
|
|
614
628
|
}
|
|
615
629
|
|
|
616
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
630
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
617
631
|
.rb-article-content
|
|
618
632
|
pre:not(:where(.rr-code *)):has(+ :is(h1, h2)) {
|
|
619
633
|
margin-bottom: 1.75rem;
|
|
620
634
|
}
|
|
621
635
|
|
|
622
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
636
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
623
637
|
.rb-article-content
|
|
624
638
|
pre:not(:where(.rr-code *))
|
|
625
639
|
code {
|
|
@@ -630,13 +644,13 @@
|
|
|
630
644
|
}
|
|
631
645
|
|
|
632
646
|
/* ---- Tables: hairline rules, no card chrome. ---- */
|
|
633
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
647
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
634
648
|
.rb-article-content
|
|
635
649
|
table:not(:where(.rr-diff-history *)) {
|
|
636
650
|
font-size: 0.92em;
|
|
637
651
|
}
|
|
638
652
|
|
|
639
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
653
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
640
654
|
.rb-article-content
|
|
641
655
|
:is(th, td) {
|
|
642
656
|
padding: 0.55rem 0.75rem;
|
|
@@ -645,7 +659,7 @@
|
|
|
645
659
|
vertical-align: top;
|
|
646
660
|
}
|
|
647
661
|
|
|
648
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
662
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
649
663
|
.rb-article-content
|
|
650
664
|
thead
|
|
651
665
|
th {
|
|
@@ -654,7 +668,7 @@
|
|
|
654
668
|
font-weight: 600;
|
|
655
669
|
}
|
|
656
670
|
|
|
657
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
671
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
658
672
|
.rb-article-content
|
|
659
673
|
tbody
|
|
660
674
|
tr:last-child
|
|
@@ -663,19 +677,19 @@
|
|
|
663
677
|
}
|
|
664
678
|
|
|
665
679
|
/* ---- Article chrome: flat rules, square corners. ---- */
|
|
666
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
680
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-footer {
|
|
667
681
|
margin-top: 3rem;
|
|
668
682
|
border-top: 1px solid var(--rb-color-border);
|
|
669
683
|
font-size: 0.9rem;
|
|
670
684
|
}
|
|
671
685
|
|
|
672
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
686
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-sidebar {
|
|
673
687
|
padding-left: 1rem;
|
|
674
688
|
border-left: 1px solid var(--rb-color-border-strong);
|
|
675
689
|
font-size: 0.9rem;
|
|
676
690
|
}
|
|
677
691
|
|
|
678
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
692
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
679
693
|
:is(
|
|
680
694
|
.rb-article-content img,
|
|
681
695
|
.rb-article-content video,
|
|
@@ -686,13 +700,13 @@
|
|
|
686
700
|
}
|
|
687
701
|
|
|
688
702
|
/* ---- Plugin roots: flatten radii and normalise rules. ---- */
|
|
689
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
703
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-code {
|
|
690
704
|
margin: 1.75rem 0 0;
|
|
691
705
|
border: 1px solid var(--rb-color-border);
|
|
692
706
|
border-radius: 0;
|
|
693
707
|
}
|
|
694
708
|
|
|
695
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
709
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-code pre {
|
|
696
710
|
margin: 0;
|
|
697
711
|
border: 0;
|
|
698
712
|
border-radius: 0;
|
|
@@ -700,17 +714,17 @@
|
|
|
700
714
|
font-family: var(--rb-font-mono);
|
|
701
715
|
}
|
|
702
716
|
|
|
703
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
717
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-code-tabs {
|
|
704
718
|
border-radius: 0;
|
|
705
719
|
}
|
|
706
720
|
|
|
707
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
721
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-code-tabs .rr-code {
|
|
708
722
|
margin-block: 0;
|
|
709
723
|
border: 0;
|
|
710
724
|
}
|
|
711
725
|
|
|
712
726
|
/* Callouts: flat Paper/Ink, 1px rule, Orange left rule, ALL CAPS title. */
|
|
713
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
727
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-callout {
|
|
714
728
|
--rr-callout-title-color: var(--rb-color-ink);
|
|
715
729
|
--rr-callout-title-font-family: var(--rb-font-heading);
|
|
716
730
|
--rr-callout-title-font-size: 0.72rem;
|
|
@@ -718,7 +732,7 @@
|
|
|
718
732
|
--rr-callout-title-letter-spacing: 0.16em;
|
|
719
733
|
--rr-callout-title-text-transform: uppercase;
|
|
720
734
|
--rr-callout-icon-color: var(--rb-color-accent);
|
|
721
|
-
padding:
|
|
735
|
+
padding: 1.125rem 1.5rem;
|
|
722
736
|
border: 1px solid var(--rb-color-border);
|
|
723
737
|
border-left: 3px solid var(--rb-color-accent);
|
|
724
738
|
border-radius: 0;
|
|
@@ -731,7 +745,7 @@
|
|
|
731
745
|
color: var(--rb-color-ink);
|
|
732
746
|
}
|
|
733
747
|
|
|
734
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
748
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-table-of-contents {
|
|
735
749
|
--rr-table-of-contents-eyebrow-font-size: 1rem;
|
|
736
750
|
--rr-table-of-contents-eyebrow-margin-block-end: 1rem;
|
|
737
751
|
--rr-table-of-contents-item-line-height: 22px;
|
|
@@ -739,49 +753,47 @@
|
|
|
739
753
|
font-size: 0.9rem;
|
|
740
754
|
}
|
|
741
755
|
|
|
742
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
756
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-backlinks {
|
|
743
757
|
margin-top: 3.5rem;
|
|
744
758
|
padding-top: 1.5rem;
|
|
745
759
|
border-top: 1px solid var(--rb-color-border);
|
|
746
760
|
}
|
|
747
761
|
|
|
748
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
762
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-recent-posts {
|
|
749
763
|
margin-top: 3.5rem;
|
|
750
764
|
padding-top: 1.5rem;
|
|
751
765
|
border-top: 1px solid var(--rb-color-border);
|
|
752
766
|
}
|
|
753
767
|
|
|
754
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
755
|
-
.rr-recent-posts
|
|
756
|
-
a:hover {
|
|
768
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-recent-posts a:hover {
|
|
757
769
|
color: var(--rr-link-hover);
|
|
758
770
|
}
|
|
759
771
|
|
|
760
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
772
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
761
773
|
:is(.rr-backlinks, .rr-cardlink)
|
|
762
774
|
a {
|
|
763
775
|
border-radius: 0;
|
|
764
776
|
}
|
|
765
777
|
|
|
766
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
778
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-cardlink {
|
|
767
779
|
border-radius: 0;
|
|
768
780
|
}
|
|
769
781
|
|
|
770
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
782
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-search {
|
|
771
783
|
border-radius: 0;
|
|
772
784
|
}
|
|
773
785
|
|
|
774
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
786
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
775
787
|
.rr-search
|
|
776
788
|
:is(input, button, a) {
|
|
777
789
|
border-radius: 0;
|
|
778
790
|
}
|
|
779
791
|
|
|
780
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
792
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-mermaid {
|
|
781
793
|
border-radius: 0;
|
|
782
794
|
}
|
|
783
795
|
|
|
784
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
796
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rr-lightbox {
|
|
785
797
|
--rr-lightbox-image-border-radius: 0;
|
|
786
798
|
}
|
|
787
799
|
|
|
@@ -789,30 +801,30 @@
|
|
|
789
801
|
Short (under 600ms) and staggered across a few elements only. The final
|
|
790
802
|
state is valid without motion: no base opacity/transform is hidden. ---- */
|
|
791
803
|
@media (prefers-reduced-motion: no-preference) {
|
|
792
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
793
|
-
[data-
|
|
804
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
805
|
+
[data-rb-setting-motion="false"]
|
|
794
806
|
)
|
|
795
807
|
.rb-article-header::before {
|
|
796
808
|
animation: rr-rule-draw var(--rr-motion-duration) var(--rr-motion-ease) both;
|
|
797
809
|
}
|
|
798
810
|
|
|
799
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
800
|
-
[data-
|
|
811
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
812
|
+
[data-rb-setting-motion="false"]
|
|
801
813
|
)
|
|
802
814
|
.rb-article-header
|
|
803
815
|
h1 {
|
|
804
816
|
animation: rr-rise var(--rr-motion-duration) var(--rr-motion-ease) 60ms both;
|
|
805
817
|
}
|
|
806
818
|
|
|
807
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
808
|
-
[data-
|
|
819
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
820
|
+
[data-rb-setting-motion="false"]
|
|
809
821
|
)
|
|
810
822
|
.rb-article-header::after {
|
|
811
823
|
animation: rr-mark-in var(--rr-motion-slow) var(--rr-motion-ease) 120ms both;
|
|
812
824
|
}
|
|
813
825
|
|
|
814
|
-
:is(:root, .rb-theme-root)[data-theme
|
|
815
|
-
[data-
|
|
826
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
827
|
+
[data-rb-setting-motion="false"]
|
|
816
828
|
)
|
|
817
829
|
.rb-article-meta {
|
|
818
830
|
animation: rr-fade var(--rr-motion-duration) var(--rr-motion-ease) 180ms
|
|
@@ -859,3 +871,254 @@
|
|
|
859
871
|
opacity: 1;
|
|
860
872
|
}
|
|
861
873
|
}
|
|
874
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-site-footer {
|
|
875
|
+
position: relative;
|
|
876
|
+
width: min(100% - 2rem, 80rem);
|
|
877
|
+
margin-top: 6rem;
|
|
878
|
+
padding: 0;
|
|
879
|
+
border: 0;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-site-footer::before {
|
|
883
|
+
display: block;
|
|
884
|
+
width: 6rem;
|
|
885
|
+
height: 3px;
|
|
886
|
+
content: "";
|
|
887
|
+
background-image: var(--rr-svg-rule);
|
|
888
|
+
background-repeat: no-repeat;
|
|
889
|
+
background-size: 100% 100%;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .site-footer__main {
|
|
893
|
+
display: grid;
|
|
894
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
895
|
+
gap: 3rem;
|
|
896
|
+
padding: 2rem 0 1.5rem;
|
|
897
|
+
border-top: 1px solid var(--rb-color-ink);
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .site-footer__project {
|
|
901
|
+
display: inline-block;
|
|
902
|
+
color: var(--rb-color-ink);
|
|
903
|
+
font-family: var(--rb-font-heading);
|
|
904
|
+
font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
|
|
905
|
+
font-weight: 600;
|
|
906
|
+
letter-spacing: -0.035em;
|
|
907
|
+
line-height: 1;
|
|
908
|
+
text-decoration: none;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
912
|
+
.site-footer__project::first-letter {
|
|
913
|
+
color: var(--rb-color-accent);
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .site-footer__description {
|
|
917
|
+
max-width: 22rem;
|
|
918
|
+
margin: 0.75rem 0 0;
|
|
919
|
+
color: var(--rb-color-muted);
|
|
920
|
+
font-size: 0.9rem;
|
|
921
|
+
line-height: 1.55;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .site-footer__author {
|
|
925
|
+
display: flex;
|
|
926
|
+
flex-wrap: wrap;
|
|
927
|
+
gap: 0.5rem 1rem;
|
|
928
|
+
margin-top: 1.25rem;
|
|
929
|
+
font-family: var(--rb-font-heading);
|
|
930
|
+
font-size: 0.68rem;
|
|
931
|
+
font-weight: 500;
|
|
932
|
+
letter-spacing: 0.12em;
|
|
933
|
+
line-height: 1.4;
|
|
934
|
+
text-transform: uppercase;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .site-footer__author span {
|
|
938
|
+
color: var(--rb-color-muted);
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .site-footer__author a {
|
|
942
|
+
color: var(--rb-color-ink);
|
|
943
|
+
text-decoration: none;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
947
|
+
.site-footer__author
|
|
948
|
+
a:hover,
|
|
949
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
950
|
+
.site-footer__author
|
|
951
|
+
a:focus-visible {
|
|
952
|
+
color: var(--rb-color-accent);
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
956
|
+
.site-footer__author
|
|
957
|
+
a:focus-visible {
|
|
958
|
+
outline: 2px solid var(--rb-color-accent);
|
|
959
|
+
outline-offset: 2px;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .site-footer__navigation {
|
|
963
|
+
align-self: end;
|
|
964
|
+
--rb-nav-list-flex-wrap: wrap;
|
|
965
|
+
--rb-nav-list-justify-content: flex-end;
|
|
966
|
+
--rb-nav-gap: 0;
|
|
967
|
+
--rb-nav-item-display: block;
|
|
968
|
+
--rb-nav-item-padding: 0.5rem 0 0.5rem 1.5rem;
|
|
969
|
+
--rb-nav-item-font-family: var(--rb-font-heading);
|
|
970
|
+
--rb-nav-item-font-size: 0.72rem;
|
|
971
|
+
--rb-nav-item-font-weight: 600;
|
|
972
|
+
--rb-nav-item-letter-spacing: 0.12em;
|
|
973
|
+
--rb-nav-item-text-transform: uppercase;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .site-footer__meta {
|
|
977
|
+
display: flex;
|
|
978
|
+
justify-content: space-between;
|
|
979
|
+
gap: 1rem;
|
|
980
|
+
padding: 1rem 0 2rem;
|
|
981
|
+
border-top: 1px solid var(--rb-color-border);
|
|
982
|
+
color: var(--rb-color-muted);
|
|
983
|
+
font-family: var(--rb-font-heading);
|
|
984
|
+
font-size: 0.68rem;
|
|
985
|
+
font-weight: 500;
|
|
986
|
+
letter-spacing: 0.12em;
|
|
987
|
+
line-height: 1.4;
|
|
988
|
+
text-transform: uppercase;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
@media (max-width: 48rem) {
|
|
992
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-site-footer {
|
|
993
|
+
width: calc(100% - 2rem);
|
|
994
|
+
margin-top: 4rem;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .site-footer__main {
|
|
998
|
+
grid-template-columns: 1fr;
|
|
999
|
+
gap: 2rem;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
1003
|
+
.site-footer__navigation {
|
|
1004
|
+
align-self: start;
|
|
1005
|
+
--rb-nav-list-justify-content: flex-start;
|
|
1006
|
+
--rb-nav-item-padding: 0.5rem 1.5rem 0.5rem 0;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .site-footer__meta {
|
|
1010
|
+
flex-direction: column;
|
|
1011
|
+
gap: 0.5rem;
|
|
1012
|
+
padding-bottom: 1.5rem;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]
|
|
1017
|
+
.rb-article-content
|
|
1018
|
+
> :is(.rr-callout, .rb-table-scroll, pre, .rr-code)
|
|
1019
|
+
+ :is(.rr-callout, .rb-table-scroll, pre, .rr-code) {
|
|
1020
|
+
margin-block-start: 2.5rem;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-header {
|
|
1024
|
+
background-image:
|
|
1025
|
+
var(--rr-cosmic-stars, none),
|
|
1026
|
+
var(--rr-cosmic-constellation, none),
|
|
1027
|
+
var(--rr-cosmic-orbit, none);
|
|
1028
|
+
background-repeat: no-repeat;
|
|
1029
|
+
background-position: right 0.25rem top 0.25rem, left 0.5rem bottom 0.25rem,
|
|
1030
|
+
center;
|
|
1031
|
+
background-size: 9rem 6rem, 11rem 7rem, 13rem 4.5rem;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-stars="true"] {
|
|
1035
|
+
--rr-cosmic-stars: var(--rr-svg-stars);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-constellation="true"] {
|
|
1039
|
+
--rr-cosmic-constellation: var(--rr-svg-constellation);
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-orbit="true"] {
|
|
1043
|
+
--rr-cosmic-orbit: var(--rr-svg-orbit);
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-stars="true"] .rb-article-header,
|
|
1047
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-constellation="true"] .rb-article-header,
|
|
1048
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-orbit="true"] .rb-article-header {
|
|
1049
|
+
position: relative;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-stars="true"] .rb-article-content,
|
|
1053
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-stars="true"] .rb-page-body {
|
|
1054
|
+
background-image: var(--rr-svg-stars);
|
|
1055
|
+
background-repeat: repeat;
|
|
1056
|
+
background-size: 180px 120px;
|
|
1057
|
+
background-position: center;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-constellation="true"] .rb-sidebar,
|
|
1061
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-constellation="true"] .rr-table-of-contents {
|
|
1062
|
+
background-image: var(--rr-svg-constellation);
|
|
1063
|
+
background-repeat: repeat;
|
|
1064
|
+
background-size: 140px 90px;
|
|
1065
|
+
background-position: center;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-orbit="true"] .rb-article-footer {
|
|
1069
|
+
background-image: var(--rr-svg-orbit);
|
|
1070
|
+
background-repeat: repeat;
|
|
1071
|
+
background-size: 160px 60px;
|
|
1072
|
+
background-position: center;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1076
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
1077
|
+
[data-rb-setting-motion="false"]
|
|
1078
|
+
)[data-rb-setting-stars="true"]
|
|
1079
|
+
:is(.rb-article-content, .rb-page-body),
|
|
1080
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
1081
|
+
[data-rb-setting-motion="false"]
|
|
1082
|
+
)[data-rb-setting-constellation="true"]
|
|
1083
|
+
:is(.rb-sidebar, .rr-table-of-contents),
|
|
1084
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
1085
|
+
[data-rb-setting-motion="false"]
|
|
1086
|
+
)[data-rb-setting-orbit="true"]
|
|
1087
|
+
.rb-article-footer {
|
|
1088
|
+
animation: rr-cosmic-drift-soft 40s linear infinite;
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1093
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
1094
|
+
[data-rb-setting-motion="false"]
|
|
1095
|
+
)[data-rb-setting-stars="true"] .rb-article-header,
|
|
1096
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
1097
|
+
[data-rb-setting-motion="false"]
|
|
1098
|
+
)[data-rb-setting-constellation="true"] .rb-article-header,
|
|
1099
|
+
:is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
|
|
1100
|
+
[data-rb-setting-motion="false"]
|
|
1101
|
+
)[data-rb-setting-orbit="true"] .rb-article-header {
|
|
1102
|
+
animation: rr-cosmic-drift 28s linear infinite;
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
@keyframes rr-cosmic-drift {
|
|
1107
|
+
from {
|
|
1108
|
+
background-position: right 0.25rem top 0.25rem, left 0.5rem bottom 0.25rem,
|
|
1109
|
+
center;
|
|
1110
|
+
}
|
|
1111
|
+
to {
|
|
1112
|
+
background-position: right 0.25rem top 1.25rem, left 0.5rem bottom 1.25rem,
|
|
1113
|
+
center;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
@keyframes rr-cosmic-drift-soft {
|
|
1118
|
+
from {
|
|
1119
|
+
background-position: center;
|
|
1120
|
+
}
|
|
1121
|
+
to {
|
|
1122
|
+
background-position: 6px 4px;
|
|
1123
|
+
}
|
|
1124
|
+
}
|