hdoc-tools 0.41.10 → 0.41.11
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
CHANGED
@@ -234,51 +234,49 @@ p {
|
|
234
234
|
--h1-min: 2.0rem; --h1-max: 3.0rem; /* 32–48 */
|
235
235
|
--h2-min: 1.6rem; --h2-max: 2.25rem; /* 25.6–36 */
|
236
236
|
--h3-min: 1.35rem; --h3-max: 1.8rem; /* 21.6–28.8 */
|
237
|
-
--h4-min:
|
237
|
+
--h4-min: 1rem; --h4-max: 1.35rem; /* 18.4–23.2 */
|
238
238
|
--h5-min: 1.05rem; --h5-max: 1.2rem; /* 16.8–19.2 */
|
239
|
-
--h6-min: 0.95rem; --h6-max: 1.
|
239
|
+
--h6-min: 0.95rem; --h6-max: 1.1rem; /* 15.2–16.8 */
|
240
240
|
}
|
241
241
|
|
242
242
|
h3,h4 {
|
243
243
|
font-family: var(--hb-heading, inherit);
|
244
|
-
line-height: 1.15;
|
245
|
-
margin-top: 2.2em;
|
246
|
-
margin-bottom: 0.6em;
|
244
|
+
/*line-height: 1.15;
|
245
|
+
margin-top: 2.2em;
|
246
|
+
margin-bottom: 0.6em; */
|
247
247
|
letter-spacing: 0;
|
248
248
|
}
|
249
|
-
h1{
|
250
|
-
font-size: clamp(var(--h1-min), 2vw + 1rem, var(--h1-max));
|
251
|
-
font-weight: 750; /* strong but not shouty */
|
249
|
+
h1:not(.mb-2):not(.display-4){
|
252
250
|
line-height: 1.1;
|
253
251
|
margin-top: 0; /* article title at top */
|
254
252
|
}
|
255
253
|
h2:not(.title){
|
256
254
|
font-size: clamp(var(--h2-min), 1.5vw + 0.9rem, var(--h2-max));
|
257
|
-
font-weight:
|
255
|
+
font-weight: 650;
|
258
256
|
/*border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);*/
|
259
|
-
padding-bottom: 0.2em
|
257
|
+
/*padding-bottom: 0.2em;*/
|
260
258
|
}
|
261
259
|
h3{
|
262
260
|
font-size: clamp(var(--h3-min), 1.2vw + 0.7rem, var(--h3-max));
|
263
|
-
font-weight:
|
261
|
+
font-weight: 600;
|
264
262
|
}
|
265
263
|
h4{
|
266
|
-
font-size: clamp(var(--h4-min), 0.8vw + 0.
|
267
|
-
font-weight:
|
264
|
+
font-size: clamp(var(--h4-min), 0.8vw + 0.6rem, var(--h4-max));
|
265
|
+
font-weight: 550;
|
268
266
|
}
|
269
267
|
h5:not(.description){
|
270
268
|
font-size: clamp(var(--h5-min), 0.6vw + 0.6rem, var(--h5-max));
|
271
|
-
font-weight:
|
269
|
+
font-weight: 500;
|
272
270
|
color: color-mix(in srgb, currentColor 85%, #000 15%);
|
273
271
|
}
|
274
272
|
h6:not(.description){
|
275
|
-
font-size: clamp(var(--h6-min), 0.
|
273
|
+
font-size: clamp(var(--h6-min), 0.5vw + 0.55rem, var(--h6-max));
|
276
274
|
font-weight: 600;
|
277
|
-
text-transform: uppercase;
|
275
|
+
/*text-transform: uppercase; */ /* differentiate without shrinking */
|
278
276
|
letter-spacing: 0.06em;
|
279
277
|
color: color-mix(in srgb, currentColor 70%, #000 30%);
|
280
278
|
}
|
281
279
|
/* Better anchor linking with fixed headers/ToC */
|
282
|
-
|
280
|
+
/*:where(h1,h2,h3,h4,h5,h6){ scroll-margin-top: 96px; }*/
|
283
281
|
/* Tighten multi-line large headings */
|
284
282
|
h1, h2 { hyphens: auto; }
|