1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-30 22:25:58 -04:00

stop being lazy with css selectors

This commit is contained in:
2022-01-30 11:38:37 -05:00
parent 9f34cec930
commit f0259dbab5
24 changed files with 498 additions and 471 deletions
+2 -2
View File
@@ -20,7 +20,7 @@
.anchor {
margin: 0 0.25em;
padding: 0 0.25em;
color: var(--medium-light) !important;
color: var(--medium-light);
font-weight: 300;
opacity: 0; /* overridden on hover below (except on small screens) */
}
@@ -28,7 +28,7 @@
content: "\0023"; /* pound sign `#`, done here to keep content DOM cleaner */
}
.anchor:hover {
color: var(--link) !important;
color: var(--link);
}
/* make anchor link show up on hover over its corresponding heading */
.heading:hover .anchor {