@conduction/docusaurus-preset 3.15.2 → 3.15.3
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 +9 -3
package/package.json
CHANGED
package/src/css/brand.css
CHANGED
|
@@ -324,15 +324,21 @@ a:not(.navbar__link):not(.footer__link-item):not(.button):hover {
|
|
|
324
324
|
the same orange (no second hover colour) so the visual stays
|
|
325
325
|
stable once the hash is on-screen.
|
|
326
326
|
============================================================ */
|
|
327
|
+
/* `!important` survives the cssnano `mergeRules` pass at build time —
|
|
328
|
+
without it the bare `.hash-link` selector gets dropped from the
|
|
329
|
+
comma list when cssnano merges nearby `.hash-link {opacity:0; ...}`
|
|
330
|
+
rules from Docusaurus, leaving only the pseudo-class variants
|
|
331
|
+
orange and the default-state hash inheriting cobalt from the
|
|
332
|
+
surrounding heading. */
|
|
327
333
|
.hash-link,
|
|
328
334
|
.hash-link:hover,
|
|
329
335
|
.hash-link:focus,
|
|
330
336
|
.hash-link:focus-visible,
|
|
331
337
|
.hash-link:active,
|
|
332
338
|
.hash-link:visited {
|
|
333
|
-
color: var(--c-orange-knvb);
|
|
334
|
-
text-decoration: none;
|
|
335
|
-
border-bottom: 0;
|
|
339
|
+
color: var(--c-orange-knvb) !important;
|
|
340
|
+
text-decoration: none !important;
|
|
341
|
+
border-bottom: 0 !important;
|
|
336
342
|
}
|
|
337
343
|
|
|
338
344
|
/* ============================================================
|