clampography 0.9.10 → 2.0.0-beta.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.
- package/package.json +19 -12
- package/src/base.js +432 -0
- package/src/extra.js +138 -0
- package/src/index.js +101 -0
- package/src/theme-plugin.js +76 -0
- package/src/themes.js +48 -0
- package/clampography.css +0 -569
- package/presets/daisyUI.css +0 -19
package/clampography.css
DELETED
|
@@ -1,569 +0,0 @@
|
|
|
1
|
-
@layer base {
|
|
2
|
-
/* --------------------------------------------------------------------------
|
|
3
|
-
ROOT CONFIGURATION
|
|
4
|
-
-------------------------------------------------------------------------- */
|
|
5
|
-
|
|
6
|
-
:root {
|
|
7
|
-
/* Fluid spacing scale */
|
|
8
|
-
--spacing-xs: clamp(0.5rem, 0.375rem + 0.625vw, 0.75rem);
|
|
9
|
-
--spacing-sm: clamp(0.75rem, 0.5625rem + 0.9375vw, 1.25rem);
|
|
10
|
-
--spacing-md: clamp(1rem, 0.75rem + 1.25vw, 1.5rem);
|
|
11
|
-
--spacing-lg: clamp(1.5rem, 1.125rem + 1.875vw, 2.5rem);
|
|
12
|
-
--spacing-xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
|
|
13
|
-
|
|
14
|
-
/* Utility variables */
|
|
15
|
-
--scroll-offset: 5rem;
|
|
16
|
-
|
|
17
|
-
/* System font stacks - optimal performance & consistency */
|
|
18
|
-
--font-family-base: system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
19
|
-
'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
|
|
20
|
-
--font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
21
|
-
'Liberation Mono', 'Courier New', monospace;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* --------------------------------------------------------------------------
|
|
25
|
-
BODY - Global Typography Settings
|
|
26
|
-
-------------------------------------------------------------------------- */
|
|
27
|
-
|
|
28
|
-
body {
|
|
29
|
-
font-family: var(--font-family-base);
|
|
30
|
-
font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
|
|
31
|
-
line-height: 1.75;
|
|
32
|
-
|
|
33
|
-
/* Rendering optimizations */
|
|
34
|
-
text-rendering: optimizeLegibility;
|
|
35
|
-
-webkit-font-smoothing: antialiased;
|
|
36
|
-
-moz-osx-font-smoothing: grayscale;
|
|
37
|
-
|
|
38
|
-
/* Progressive enhancement - better line breaks (Chrome 117+, Safari 16.4+) */
|
|
39
|
-
text-wrap: pretty;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/* --------------------------------------------------------------------------
|
|
43
|
-
HEADINGS (H1-H6) - Structural Hierarchy
|
|
44
|
-
-------------------------------------------------------------------------- */
|
|
45
|
-
|
|
46
|
-
:where(h1, h2, h3, h4, h5, h6) {
|
|
47
|
-
font-weight: 600;
|
|
48
|
-
scroll-margin-top: var(--scroll-offset);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
h1 {
|
|
52
|
-
font-size: clamp(2.25rem, 1.95rem + 1.5vw, 3rem);
|
|
53
|
-
line-height: 1.1111;
|
|
54
|
-
font-weight: 800;
|
|
55
|
-
margin-top: 0;
|
|
56
|
-
margin-bottom: var(--spacing-xl);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
h2 {
|
|
60
|
-
font-size: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);
|
|
61
|
-
line-height: 1.3333;
|
|
62
|
-
font-weight: 700;
|
|
63
|
-
margin-top: var(--spacing-xl);
|
|
64
|
-
margin-bottom: var(--spacing-md);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
h3 {
|
|
68
|
-
font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
|
|
69
|
-
line-height: 1.6;
|
|
70
|
-
margin-top: var(--spacing-lg);
|
|
71
|
-
margin-bottom: var(--spacing-sm);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
h4 {
|
|
75
|
-
font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
|
|
76
|
-
line-height: 1.5;
|
|
77
|
-
margin-top: var(--spacing-lg);
|
|
78
|
-
margin-bottom: var(--spacing-sm);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
h5 {
|
|
82
|
-
font-size: 1rem;
|
|
83
|
-
line-height: 1.5;
|
|
84
|
-
margin-top: var(--spacing-md);
|
|
85
|
-
margin-bottom: var(--spacing-xs);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
h6 {
|
|
89
|
-
font-size: 0.875rem;
|
|
90
|
-
line-height: 1.5;
|
|
91
|
-
margin-top: var(--spacing-md);
|
|
92
|
-
margin-bottom: var(--spacing-xs);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/* --------------------------------------------------------------------------
|
|
96
|
-
LINKS - Clickable Text (Structural Indicators)
|
|
97
|
-
-------------------------------------------------------------------------- */
|
|
98
|
-
|
|
99
|
-
a {
|
|
100
|
-
text-decoration-line: underline;
|
|
101
|
-
text-decoration-thickness: 0.0625em;
|
|
102
|
-
text-underline-offset: 0.15em;
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/* Remove underline from heading links */
|
|
107
|
-
:where(h1, h2, h3, h4, h5, h6) a {
|
|
108
|
-
text-decoration: none;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/* --------------------------------------------------------------------------
|
|
112
|
-
MENU - Interactive Lists (Toolbars, Navigation)
|
|
113
|
-
-------------------------------------------------------------------------- */
|
|
114
|
-
|
|
115
|
-
menu {
|
|
116
|
-
list-style: none;
|
|
117
|
-
margin-bottom: var(--spacing-md);
|
|
118
|
-
padding-left: 0;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/* Remove custom markers from menu items */
|
|
122
|
-
menu > li::before {
|
|
123
|
-
display: none;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/* --------------------------------------------------------------------------
|
|
127
|
-
HGROUP - Heading Groups (Title + Subtitle)
|
|
128
|
-
-------------------------------------------------------------------------- */
|
|
129
|
-
|
|
130
|
-
hgroup {
|
|
131
|
-
margin-bottom: var(--spacing-lg);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/* Reduce spacing between heading and subtitle */
|
|
135
|
-
hgroup :where(h1, h2, h3, h4, h5, h6) {
|
|
136
|
-
margin-bottom: var(--spacing-xs);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/* Subtitle/tagline styling (typically <p>) */
|
|
140
|
-
hgroup :where(p) {
|
|
141
|
-
margin-top: 0;
|
|
142
|
-
margin-bottom: 0;
|
|
143
|
-
font-size: 0.875em;
|
|
144
|
-
font-weight: 400;
|
|
145
|
-
line-height: 1.5;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/* --------------------------------------------------------------------------
|
|
149
|
-
TEXT CONTENT - Paragraphs & Inline Elements
|
|
150
|
-
-------------------------------------------------------------------------- */
|
|
151
|
-
|
|
152
|
-
/* Paragraphs */
|
|
153
|
-
p {
|
|
154
|
-
line-height: 1.75;
|
|
155
|
-
margin-bottom: var(--spacing-md);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/* Text modifiers - semantic emphasis */
|
|
159
|
-
:where(strong, b) {
|
|
160
|
-
font-weight: 700;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
:where(em, i, cite, var) {
|
|
164
|
-
font-style: italic;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/* Definition term - structural emphasis without forcing italic */
|
|
168
|
-
dfn {
|
|
169
|
-
font-style: normal;
|
|
170
|
-
font-weight: 600;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/* Contextual sizing - uses 'em' to scale with parent */
|
|
174
|
-
small {
|
|
175
|
-
font-size: 0.875em;
|
|
176
|
-
line-height: 1.5;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/* Code-related elements */
|
|
180
|
-
:where(code, kbd, samp) {
|
|
181
|
-
font-family: var(--font-family-mono);
|
|
182
|
-
padding: clamp(0.0625rem, 0.05rem + 0.0625vw, 0.125rem)
|
|
183
|
-
clamp(0.1875rem, 0.15rem + 0.1875vw, 0.7125rem);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/* Inline code - minimal, scaled padding */
|
|
187
|
-
:where(code:not(pre code), kbd, samp) {
|
|
188
|
-
padding: clamp(0.0625rem, 0.05rem + 0.0625vw, 0.125rem)
|
|
189
|
-
clamp(0.1875rem, 0.15rem + 0.1875vw, 0.3125rem);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/* Superscript & subscript - essential for scientific notation */
|
|
193
|
-
:where(sub, sup) {
|
|
194
|
-
font-size: 0.75em;
|
|
195
|
-
line-height: 0;
|
|
196
|
-
position: relative;
|
|
197
|
-
vertical-align: baseline;
|
|
198
|
-
}
|
|
199
|
-
sup {
|
|
200
|
-
top: -0.5em;
|
|
201
|
-
}
|
|
202
|
-
sub {
|
|
203
|
-
bottom: -0.25em;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/* Abbreviations with titles */
|
|
207
|
-
abbr[title] {
|
|
208
|
-
text-decoration: underline dotted;
|
|
209
|
-
cursor: help;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
del {
|
|
213
|
-
text-decoration: line-through;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
ins {
|
|
217
|
-
text-decoration: underline;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/* Strikethrough */
|
|
221
|
-
s {
|
|
222
|
-
text-decoration: line-through;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
/* Underline */
|
|
226
|
-
u {
|
|
227
|
-
text-decoration: underline;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
/* Mark/Highlight element */
|
|
231
|
-
mark {
|
|
232
|
-
font-style: normal;
|
|
233
|
-
font-weight: inherit;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/* Address element */
|
|
237
|
-
address {
|
|
238
|
-
font-style: normal; /* Reset browser default italic */
|
|
239
|
-
margin-top: var(--spacing-md);
|
|
240
|
-
margin-bottom: var(--spacing-md);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/* Time element */
|
|
244
|
-
time {
|
|
245
|
-
font-style: normal;
|
|
246
|
-
font-variant-numeric: tabular-nums; /* Monospace numbers for alignment */
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/* --------------------------------------------------------------------------
|
|
250
|
-
BLOCKQUOTES - Structural Spacing Only
|
|
251
|
-
-------------------------------------------------------------------------- */
|
|
252
|
-
|
|
253
|
-
blockquote {
|
|
254
|
-
margin-top: var(--spacing-lg);
|
|
255
|
-
margin-bottom: var(--spacing-lg);
|
|
256
|
-
padding-left: var(--spacing-md);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/* Nested blockquotes - reduced spacing for hierarchy */
|
|
260
|
-
blockquote blockquote {
|
|
261
|
-
margin-top: var(--spacing-sm);
|
|
262
|
-
margin-bottom: var(--spacing-sm);
|
|
263
|
-
padding-left: var(--spacing-sm);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/* Inline quotes */
|
|
267
|
-
q {
|
|
268
|
-
font-style: inherit;
|
|
269
|
-
/* Browser adds quotation marks automatically */
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/* --------------------------------------------------------------------------
|
|
273
|
-
LISTS - Custom Structured Markers (Prose-like)
|
|
274
|
-
-------------------------------------------------------------------------- */
|
|
275
|
-
|
|
276
|
-
/* Reset default list styles to build custom ones */
|
|
277
|
-
:where(ul, ol) {
|
|
278
|
-
list-style: none;
|
|
279
|
-
margin-bottom: var(--spacing-md);
|
|
280
|
-
padding-left: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
li {
|
|
284
|
-
position: relative;
|
|
285
|
-
padding-left: 0.375em; /* Space between marker and text */
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/* Spacing between list items */
|
|
289
|
-
li + li {
|
|
290
|
-
margin-top: var(--spacing-xs);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
/* Spacing before nested lists */
|
|
294
|
-
li > :where(ul, ol),
|
|
295
|
-
li > :where(ul, ol):first-child {
|
|
296
|
-
margin-top: var(--spacing-xs);
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/* Spacing before nested lists */
|
|
300
|
-
li > :where(ul, ol) {
|
|
301
|
-
margin-top: var(--spacing-xs);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/* Perfectly centered dot relative to the first line of text */
|
|
305
|
-
ul > li::before {
|
|
306
|
-
content: '';
|
|
307
|
-
position: absolute;
|
|
308
|
-
left: -1.125em;
|
|
309
|
-
top: calc(0.875em - 0.1875em);
|
|
310
|
-
width: 0.375em;
|
|
311
|
-
height: 0.375em;
|
|
312
|
-
background-color: currentColor;
|
|
313
|
-
border-radius: 50%;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/* Right-aligned numbers for professional look (e.g. "9." aligns with "10.") */
|
|
317
|
-
ol {
|
|
318
|
-
counter-reset: list-counter;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
ol > li {
|
|
322
|
-
counter-increment: list-counter;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
ol > li::before {
|
|
326
|
-
content: counter(list-counter) '.';
|
|
327
|
-
position: absolute;
|
|
328
|
-
left: -2.5em;
|
|
329
|
-
width: 1.75em;
|
|
330
|
-
text-align: right;
|
|
331
|
-
font-weight: 600;
|
|
332
|
-
color: currentColor;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
/* Nested lists - indentation only, spacing handled by li rules above */
|
|
336
|
-
:where(ul, ol) :where(ul, ol) {
|
|
337
|
-
margin-bottom: 0; /* Parent li spacing already handles this */
|
|
338
|
-
padding-left: var(--spacing-md);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/* --------------------------------------------------------------------------
|
|
342
|
-
DEFINITION LISTS - Glossaries & Key-Value Pairs
|
|
343
|
-
-------------------------------------------------------------------------- */
|
|
344
|
-
|
|
345
|
-
dl {
|
|
346
|
-
margin-top: var(--spacing-md);
|
|
347
|
-
margin-bottom: var(--spacing-md);
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
dt {
|
|
351
|
-
font-weight: 600;
|
|
352
|
-
margin-top: var(--spacing-sm);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
/* First dt shouldn't have top margin */
|
|
356
|
-
dt:first-child {
|
|
357
|
-
margin-top: 0;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
dd {
|
|
361
|
-
margin-left: var(--spacing-md);
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
/* Spacing between term and definition (consistent with lists) */
|
|
365
|
-
dt + dd {
|
|
366
|
-
margin-top: var(--spacing-xs);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/* Spacing between multiple definitions (consistent with list items) */
|
|
370
|
-
dd + dd {
|
|
371
|
-
margin-top: var(--spacing-xs);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/* Remove bottom margin from last dd */
|
|
375
|
-
dd:last-child {
|
|
376
|
-
margin-bottom: 0;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
/* --------------------------------------------------------------------------
|
|
380
|
-
CODE BLOCKS - Monospace Typography
|
|
381
|
-
-------------------------------------------------------------------------- */
|
|
382
|
-
|
|
383
|
-
pre {
|
|
384
|
-
margin-top: var(--spacing-md);
|
|
385
|
-
margin-bottom: var(--spacing-md);
|
|
386
|
-
font-family: var(--font-family-mono);
|
|
387
|
-
line-height: 1.6;
|
|
388
|
-
overflow-x: auto;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
/* Code inside pre blocks */
|
|
392
|
-
pre code {
|
|
393
|
-
font-size: inherit;
|
|
394
|
-
padding: 0;
|
|
395
|
-
background: none;
|
|
396
|
-
border-radius: 0;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
/* --------------------------------------------------------------------------
|
|
400
|
-
FORMS - Basic Structure
|
|
401
|
-
-------------------------------------------------------------------------- */
|
|
402
|
-
|
|
403
|
-
fieldset {
|
|
404
|
-
margin-top: var(--spacing-md);
|
|
405
|
-
margin-bottom: var(--spacing-md);
|
|
406
|
-
padding: var(--spacing-md);
|
|
407
|
-
border: 0;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
legend {
|
|
411
|
-
font-weight: 600;
|
|
412
|
-
padding: 0 var(--spacing-xs);
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
/* Form output element - typically displays calculation results */
|
|
416
|
-
output {
|
|
417
|
-
display: inline-block;
|
|
418
|
-
font-variant-numeric: tabular-nums;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
/* Visual indicator elements - structural spacing only */
|
|
422
|
-
:where(meter, progress) {
|
|
423
|
-
display: inline-block;
|
|
424
|
-
vertical-align: middle;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/* --------------------------------------------------------------------------
|
|
428
|
-
MEDIA - Images, Videos, Figures
|
|
429
|
-
-------------------------------------------------------------------------- */
|
|
430
|
-
|
|
431
|
-
:where(img, video) {
|
|
432
|
-
max-width: 100%;
|
|
433
|
-
height: auto;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
figure {
|
|
437
|
-
margin-top: var(--spacing-lg);
|
|
438
|
-
margin-bottom: var(--spacing-lg);
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
figcaption {
|
|
442
|
-
margin-top: 0.375rem;
|
|
443
|
-
font-size: 0.875em;
|
|
444
|
-
line-height: 1.5;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
/* --------------------------------------------------------------------------
|
|
448
|
-
TABLES - Structural Layout
|
|
449
|
-
-------------------------------------------------------------------------- */
|
|
450
|
-
|
|
451
|
-
table {
|
|
452
|
-
width: 100%;
|
|
453
|
-
margin-top: var(--spacing-md);
|
|
454
|
-
margin-bottom: var(--spacing-md);
|
|
455
|
-
border-collapse: collapse;
|
|
456
|
-
font-size: 0.9375em;
|
|
457
|
-
line-height: 1.6;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
caption {
|
|
461
|
-
margin-bottom: var(--spacing-xs);
|
|
462
|
-
font-size: 0.875em;
|
|
463
|
-
font-weight: 600;
|
|
464
|
-
text-align: left;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
th,
|
|
468
|
-
td {
|
|
469
|
-
padding: var(--spacing-xs) var(--spacing-sm);
|
|
470
|
-
text-align: left;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
th {
|
|
474
|
-
font-weight: 600;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
/* Table sections - structural differentiation */
|
|
478
|
-
thead th {
|
|
479
|
-
vertical-align: bottom;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
tbody th,
|
|
483
|
-
tbody td {
|
|
484
|
-
vertical-align: top;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
tfoot th,
|
|
488
|
-
tfoot td {
|
|
489
|
-
vertical-align: top;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
/* Add spacing between tbody sections if multiple exist */
|
|
493
|
-
tbody + tbody {
|
|
494
|
-
border-top-width: 2px;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
/* --------------------------------------------------------------------------
|
|
498
|
-
SEPARATORS - Spacing Only
|
|
499
|
-
-------------------------------------------------------------------------- */
|
|
500
|
-
|
|
501
|
-
hr {
|
|
502
|
-
margin-top: var(--spacing-xl);
|
|
503
|
-
margin-bottom: var(--spacing-xl);
|
|
504
|
-
border: 0;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/* --------------------------------------------------------------------------
|
|
508
|
-
INTERACTIVE ELEMENTS - Accessibility
|
|
509
|
-
-------------------------------------------------------------------------- */
|
|
510
|
-
|
|
511
|
-
:where(:focus, :focus-visible) {
|
|
512
|
-
outline-offset: 2px;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
details {
|
|
516
|
-
margin-top: var(--spacing-md);
|
|
517
|
-
margin-bottom: var(--spacing-md);
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
summary {
|
|
521
|
-
cursor: pointer;
|
|
522
|
-
font-weight: 600;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
details[open] > summary {
|
|
526
|
-
margin-bottom: var(--spacing-xs);
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
dialog {
|
|
530
|
-
font-size: inherit;
|
|
531
|
-
line-height: inherit;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
/* --------------------------------------------------------------------------
|
|
535
|
-
UTILITIES - Margin Cleanup
|
|
536
|
-
-------------------------------------------------------------------------- */
|
|
537
|
-
|
|
538
|
-
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, blockquote, figure, table, pre):first-child {
|
|
539
|
-
margin-top: 0;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
:where(p, ul, ol, dl, blockquote, figure, table, pre):last-child {
|
|
543
|
-
margin-bottom: 0;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
/* --------------------------------------------------------------------------
|
|
547
|
-
PRINT STYLES - Optimized for Paper
|
|
548
|
-
-------------------------------------------------------------------------- */
|
|
549
|
-
|
|
550
|
-
@media print {
|
|
551
|
-
body {
|
|
552
|
-
font-size: 12pt;
|
|
553
|
-
line-height: 1.5;
|
|
554
|
-
color: #000;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
:where(h1, h2, h3, h4, h5, h6) {
|
|
558
|
-
break-after: avoid;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
:where(img, figure, pre, table) {
|
|
562
|
-
break-inside: avoid;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
a {
|
|
566
|
-
text-decoration: underline;
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
}
|
package/presets/daisyUI.css
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/* You need daisyUI for this preset. Make sure its colors are accessible. */
|
|
2
|
-
|
|
3
|
-
@import '../clampography.css';
|
|
4
|
-
|
|
5
|
-
@layer base {
|
|
6
|
-
a {
|
|
7
|
-
@apply text-primary font-bold tracking-wider underline decoration-2 underline-offset-4 transition-colors duration-150;
|
|
8
|
-
|
|
9
|
-
text-decoration-color: color-mix(
|
|
10
|
-
in srgb,
|
|
11
|
-
var(--color-primary) 30%,
|
|
12
|
-
transparent
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
a:hover {
|
|
17
|
-
text-decoration-color: var(--color-primary);
|
|
18
|
-
}
|
|
19
|
-
}
|