* Lint fixes. * Implement light-dark(). * Lint css with biome, remove stylelint. * Biome lint fixes. * Dark mode adjustments. * Style bug fixes. * Colour adjustments. * Move header and footer styles to base. * Site header adjustments. * Removing jQuery and umbrella libs. They where great but not needed anymore. * Add colorScheme to optionally lock light/dark. * Update README. * Biome adjustments.
34 lines
491 B
CSS
34 lines
491 B
CSS
/* Anchor */
|
|
|
|
.anchor {
|
|
--anchor-gap: 0.5rem;
|
|
--anchor-opacity: 0.4;
|
|
|
|
display: grid;
|
|
grid-template-columns: auto auto;
|
|
justify-content: start;
|
|
align-items: baseline;
|
|
gap: var(--anchor-gap);
|
|
|
|
a {
|
|
opacity: 0;
|
|
text-decoration: none;
|
|
width: fit-content;
|
|
}
|
|
|
|
&:has(:focus-visible),
|
|
&:hover {
|
|
a {
|
|
opacity: var(--anchor-opacity);
|
|
|
|
&:focus-visible,
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
p:has(+ .anchor) {
|
|
margin-block-end: 0;
|
|
}
|