clampography 0.9.6 → 0.9.7
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/clampography.css +9 -14
- package/package.json +1 -1
- package/presets/daisyUI.css +18 -0
package/clampography.css
CHANGED
|
@@ -97,10 +97,9 @@
|
|
|
97
97
|
-------------------------------------------------------------------------- */
|
|
98
98
|
|
|
99
99
|
a {
|
|
100
|
-
/* Structural underline - indicates clickability */
|
|
101
100
|
text-decoration-line: underline;
|
|
102
|
-
text-decoration-thickness: 0.0625em;
|
|
103
|
-
text-underline-offset: 0.15em;
|
|
101
|
+
text-decoration-thickness: 0.0625em;
|
|
102
|
+
text-underline-offset: 0.15em;
|
|
104
103
|
cursor: pointer;
|
|
105
104
|
}
|
|
106
105
|
|
|
@@ -116,7 +115,7 @@
|
|
|
116
115
|
menu {
|
|
117
116
|
list-style: none;
|
|
118
117
|
margin-bottom: var(--spacing-md);
|
|
119
|
-
padding-left: 0;
|
|
118
|
+
padding-left: 0;
|
|
120
119
|
}
|
|
121
120
|
|
|
122
121
|
/* Remove custom markers from menu items */
|
|
@@ -141,8 +140,8 @@
|
|
|
141
140
|
hgroup :where(p) {
|
|
142
141
|
margin-top: 0;
|
|
143
142
|
margin-bottom: 0;
|
|
144
|
-
font-size: 0.875em;
|
|
145
|
-
font-weight: 400;
|
|
143
|
+
font-size: 0.875em;
|
|
144
|
+
font-weight: 400;
|
|
146
145
|
line-height: 1.5;
|
|
147
146
|
}
|
|
148
147
|
|
|
@@ -173,7 +172,7 @@
|
|
|
173
172
|
|
|
174
173
|
/* Contextual sizing - uses 'em' to scale with parent */
|
|
175
174
|
small {
|
|
176
|
-
font-size: 0.875em;
|
|
175
|
+
font-size: 0.875em;
|
|
177
176
|
line-height: 1.5;
|
|
178
177
|
}
|
|
179
178
|
|
|
@@ -210,7 +209,6 @@
|
|
|
210
209
|
cursor: help;
|
|
211
210
|
}
|
|
212
211
|
|
|
213
|
-
/* Editorial marks - semantic text changes */
|
|
214
212
|
del {
|
|
215
213
|
text-decoration: line-through;
|
|
216
214
|
}
|
|
@@ -219,12 +217,12 @@
|
|
|
219
217
|
text-decoration: underline;
|
|
220
218
|
}
|
|
221
219
|
|
|
222
|
-
/* Strikethrough
|
|
220
|
+
/* Strikethrough */
|
|
223
221
|
s {
|
|
224
222
|
text-decoration: line-through;
|
|
225
223
|
}
|
|
226
224
|
|
|
227
|
-
/* Underline
|
|
225
|
+
/* Underline */
|
|
228
226
|
u {
|
|
229
227
|
text-decoration: underline;
|
|
230
228
|
}
|
|
@@ -379,16 +377,13 @@
|
|
|
379
377
|
margin-top: var(--spacing-md);
|
|
380
378
|
margin-bottom: var(--spacing-md);
|
|
381
379
|
font-family: var(--font-family-mono);
|
|
382
|
-
font-size: 0.875em;
|
|
383
380
|
line-height: 1.6;
|
|
384
381
|
overflow-x: auto;
|
|
385
|
-
/* Padding & background moved to global.css */
|
|
386
382
|
}
|
|
387
383
|
|
|
388
384
|
/* Code inside pre blocks */
|
|
389
385
|
pre code {
|
|
390
386
|
font-size: inherit;
|
|
391
|
-
/* Reset inline code styles if any user CSS exists */
|
|
392
387
|
padding: 0;
|
|
393
388
|
background: none;
|
|
394
389
|
border-radius: 0;
|
|
@@ -402,7 +397,7 @@
|
|
|
402
397
|
margin-top: var(--spacing-md);
|
|
403
398
|
margin-bottom: var(--spacing-md);
|
|
404
399
|
padding: var(--spacing-md);
|
|
405
|
-
border: 0;
|
|
400
|
+
border: 0;
|
|
406
401
|
}
|
|
407
402
|
|
|
408
403
|
legend {
|
package/package.json
CHANGED
package/presets/daisyUI.css
CHANGED
|
@@ -1 +1,19 @@
|
|
|
1
|
+
/* You need daisyUI for this preset. Make sure its colors are accessible. */
|
|
2
|
+
|
|
1
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
|
+
}
|