@riebeckite/theme-minimal 0.0.18 → 0.0.19
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/package.json +2 -2
- package/styles/theme.css +26 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/theme-minimal",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/src/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"./styles/theme.css": "./styles/theme.css"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@riebeckite/core": "0.0.
|
|
19
|
+
"@riebeckite/core": "0.0.19"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public"
|
package/styles/theme.css
CHANGED
|
@@ -124,38 +124,38 @@
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
/* ---- Body rhythm: open leading, generous paragraphs. ---- */
|
|
127
|
-
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-
|
|
127
|
+
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content {
|
|
128
128
|
font-family: var(--rb-font-body);
|
|
129
129
|
font-size: 1.0625rem;
|
|
130
130
|
line-height: 1.85;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-
|
|
133
|
+
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content p {
|
|
134
134
|
margin: 1.2em 0;
|
|
135
135
|
text-wrap: pretty;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
139
|
-
.rb-article-
|
|
139
|
+
.rb-article-content
|
|
140
140
|
:is(ul, ol) {
|
|
141
141
|
margin: 1.35em 0;
|
|
142
142
|
padding-left: 1.5em;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
146
|
-
.rb-article-
|
|
146
|
+
.rb-article-content
|
|
147
147
|
:is(ul, ol)
|
|
148
148
|
:is(ul, ol) {
|
|
149
149
|
margin: 0.5em 0;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-
|
|
152
|
+
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content li {
|
|
153
153
|
margin: 0.5em 0;
|
|
154
154
|
padding-left: 0.15em;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
158
|
-
.rb-article-
|
|
158
|
+
.rb-article-content
|
|
159
159
|
li::marker {
|
|
160
160
|
color: var(--rb-color-muted);
|
|
161
161
|
}
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
text-wrap: balance;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-
|
|
177
|
+
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content h2 {
|
|
178
178
|
margin: 3.25rem 0 1rem;
|
|
179
179
|
padding-top: 1.75rem;
|
|
180
180
|
border-top: 1px solid var(--rb-color-border);
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
text-wrap: balance;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-
|
|
189
|
+
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content h3 {
|
|
190
190
|
margin: 2.25rem 0 0.75rem;
|
|
191
191
|
font-family: var(--rb-font-heading);
|
|
192
192
|
font-size: 1.125rem;
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
letter-spacing: -0.005em;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-
|
|
198
|
+
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content h4 {
|
|
199
199
|
margin: 1.9rem 0 0.6rem;
|
|
200
200
|
font-family: var(--rb-font-heading);
|
|
201
201
|
font-size: 1rem;
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
208
|
-
.rb-article-
|
|
208
|
+
.rb-article-content
|
|
209
209
|
:is(h5, h6) {
|
|
210
210
|
margin: 1.6rem 0 0.5rem;
|
|
211
211
|
font-family: var(--rb-font-heading);
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
|
|
219
219
|
/* ---- Links: ink, with a quiet underline that firms up on hover. ---- */
|
|
220
220
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
221
|
-
:is(.rb-article-
|
|
221
|
+
:is(.rb-article-content, .rb-article-footer, .rb-article-meta)
|
|
222
222
|
a {
|
|
223
223
|
color: var(--rb-color-ink);
|
|
224
224
|
text-decoration: underline;
|
|
@@ -232,14 +232,14 @@
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
235
|
-
:is(.rb-article-
|
|
235
|
+
:is(.rb-article-content, .rb-article-footer, .rb-article-meta)
|
|
236
236
|
a:hover {
|
|
237
237
|
text-decoration-color: var(--rb-color-ink);
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
/* ---- Blockquote: a single hairline, muted ink, no fill. ---- */
|
|
241
241
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
242
|
-
.rb-article-
|
|
242
|
+
.rb-article-content
|
|
243
243
|
blockquote {
|
|
244
244
|
margin: 2rem 0 0;
|
|
245
245
|
padding: 0.1rem 0 0.1rem 1.25rem;
|
|
@@ -251,18 +251,18 @@
|
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
254
|
-
.rb-article-
|
|
254
|
+
.rb-article-content
|
|
255
255
|
blockquote
|
|
256
256
|
p:first-of-type::before,
|
|
257
257
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
258
|
-
.rb-article-
|
|
258
|
+
.rb-article-content
|
|
259
259
|
blockquote
|
|
260
260
|
p:last-of-type::after {
|
|
261
261
|
content: none;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
/* ---- Rules: a low-contrast hairline. ---- */
|
|
265
|
-
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-
|
|
265
|
+
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rb-article-content hr {
|
|
266
266
|
width: 100%;
|
|
267
267
|
height: 1px;
|
|
268
268
|
margin: 3.5rem 0;
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
|
|
273
273
|
/* ---- Inline code: a monochrome chip. ---- */
|
|
274
274
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
275
|
-
.rb-article-
|
|
275
|
+
.rb-article-content
|
|
276
276
|
:not(pre)
|
|
277
277
|
> code {
|
|
278
278
|
padding: 0.1em 0.35em;
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
|
|
287
287
|
/* ---- Bare code blocks: flat, hairline border, bare tint. ---- */
|
|
288
288
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
289
|
-
.rb-article-
|
|
289
|
+
.rb-article-content
|
|
290
290
|
pre:not(:where(.rr-code *)) {
|
|
291
291
|
margin: 2rem 0 0;
|
|
292
292
|
padding: 1rem 1.1rem;
|
|
@@ -301,13 +301,13 @@
|
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
304
|
-
.rb-article-
|
|
304
|
+
.rb-article-content
|
|
305
305
|
pre:not(:where(.rr-code *)):has(+ :is(h1, h2)) {
|
|
306
306
|
margin-bottom: 2rem;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
310
|
-
.rb-article-
|
|
310
|
+
.rb-article-content
|
|
311
311
|
pre:not(:where(.rr-code *))
|
|
312
312
|
code {
|
|
313
313
|
padding: 0;
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
|
|
320
320
|
/* ---- Tables: hairlines and a quiet, weighted header. ---- */
|
|
321
321
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
322
|
-
.rb-article-
|
|
322
|
+
.rb-article-content
|
|
323
323
|
table:not(:where(.rr-diff-history *)) {
|
|
324
324
|
margin: 2rem 0;
|
|
325
325
|
border: 0;
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
330
|
-
.rb-article-
|
|
330
|
+
.rb-article-content
|
|
331
331
|
:is(th, td) {
|
|
332
332
|
padding: 0.55em 0.85em;
|
|
333
333
|
border-bottom: 1px solid var(--rb-color-border);
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
339
|
-
.rb-article-
|
|
339
|
+
.rb-article-content
|
|
340
340
|
thead
|
|
341
341
|
th {
|
|
342
342
|
border-bottom: 1px solid var(--rb-color-border-strong);
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
349
|
-
.rb-article-
|
|
349
|
+
.rb-article-content
|
|
350
350
|
tbody
|
|
351
351
|
tr:last-child
|
|
352
352
|
:is(th, td) {
|
|
@@ -356,8 +356,8 @@
|
|
|
356
356
|
/* ---- Media and embedded plugin frames: square corners. ---- */
|
|
357
357
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
358
358
|
:is(
|
|
359
|
-
.rb-article-
|
|
360
|
-
.rb-article-
|
|
359
|
+
.rb-article-content img,
|
|
360
|
+
.rb-article-content video,
|
|
361
361
|
.rr-media,
|
|
362
362
|
.rr-attachment,
|
|
363
363
|
.rr-excalidraw,
|