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

move more junk out of index.css and into components

This commit is contained in:
2022-01-22 18:52:29 -05:00
parent f62c057f5d
commit 0343aa9be4
19 changed files with 371 additions and 352 deletions
+2 -4
View File
@@ -22,17 +22,15 @@
.anchor {
margin: 0 0.25em;
padding: 0 0.25em;
color: var(--medium-light);
color: var(--medium-light) !important;
font-weight: 300;
background: none;
transition: none;
opacity: 0; /* overridden on hover */
}
.anchor::before {
content: "\0023"; /* pound sign `#`, done here to keep content DOM cleaner */
}
.anchor:hover {
color: var(--link);
color: var(--link) !important;
}
/* make anchor `#` link show up on hover over the corresponding heading */
.heading:hover .anchor {