Convert to css style comments, part 2.
This commit is contained in:
parent
2eee4d3c24
commit
9f8b1eaf18
1 changed files with 234 additions and 201 deletions
|
|
@ -32,13 +32,13 @@ a:active {
|
|||
color: var(--color-link-active);
|
||||
}
|
||||
|
||||
// Remove underline from links to current page to
|
||||
// indicate that there is no need to click on it.
|
||||
/* Remove underline from links to current page to */
|
||||
/* indicate that there is no need to click on it. */
|
||||
[aria-current] {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
// Use smooth scrolling unless user prefer less motion.
|
||||
/* Use smooth scrolling unless user prefer less motion. */
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
:has(:target) {
|
||||
scroll-behavior: smooth;
|
||||
|
|
@ -58,7 +58,7 @@ a:active {
|
|||
}
|
||||
}
|
||||
|
||||
// Inverted links, for dark backgrounds.
|
||||
/* Inverted links, for dark backgrounds. */
|
||||
.link-inverted,
|
||||
%link-inverted {
|
||||
a {
|
||||
|
|
|
|||
Loading…
Reference in a new issue