@conduction/docusaurus-preset 3.15.1 → 3.15.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 +1 -1
- package/src/css/brand.css +14 -15
package/package.json
CHANGED
package/src/css/brand.css
CHANGED
|
@@ -315,25 +315,24 @@ a:not(.navbar__link):not(.footer__link-item):not(.button):hover {
|
|
|
315
315
|
Heading anchor hash glyphs.
|
|
316
316
|
|
|
317
317
|
Docusaurus auto-generates a hidden `<a class="hash-link">#</a>`
|
|
318
|
-
inside every h2-h6 so readers can copy a deep link.
|
|
319
|
-
|
|
320
|
-
(
|
|
321
|
-
|
|
322
|
-
the
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
and flip it to var(--c-orange-knvb) the moment the user hovers
|
|
327
|
-
or focuses the hash itself.
|
|
318
|
+
inside every h2-h6 so readers can copy a deep link. The default
|
|
319
|
+
theme keeps the glyph invisible until the heading is hovered
|
|
320
|
+
(theme/MDXComponents/Heading), which is the affordance we want.
|
|
321
|
+
|
|
322
|
+
Branding: the glyph should always render in KNVB orange — never
|
|
323
|
+
cobalt, never underlined. Hover/focus on the hash itself keeps
|
|
324
|
+
the same orange (no second hover colour) so the visual stays
|
|
325
|
+
stable once the hash is on-screen.
|
|
328
326
|
============================================================ */
|
|
329
|
-
.hash-link
|
|
330
|
-
color: var(--c-cobalt-300);
|
|
331
|
-
transition: color 120ms ease;
|
|
332
|
-
}
|
|
327
|
+
.hash-link,
|
|
333
328
|
.hash-link:hover,
|
|
334
|
-
.hash-link:focus
|
|
329
|
+
.hash-link:focus,
|
|
330
|
+
.hash-link:focus-visible,
|
|
331
|
+
.hash-link:active,
|
|
332
|
+
.hash-link:visited {
|
|
335
333
|
color: var(--c-orange-knvb);
|
|
336
334
|
text-decoration: none;
|
|
335
|
+
border-bottom: 0;
|
|
337
336
|
}
|
|
338
337
|
|
|
339
338
|
/* ============================================================
|