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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user