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

major refactoring of preact components 🧩 (#689)

This commit is contained in:
2021-12-15 08:35:18 -05:00
committed by GitHub
parent cda7d538a6
commit d119a98a0d
30 changed files with 1005 additions and 1053 deletions
+6 -5
View File
@@ -32,7 +32,7 @@ div#content {
letter-spacing: 0.001em;
line-height: 1.5;
&:hover > a.anchorjs-link {
&:hover > .anchorjs-link {
opacity: 1; // '#' link appears on hover over entire sub-heading line
}
}
@@ -50,13 +50,14 @@ div#content {
}
// AnchorJS styles
a.anchorjs-link {
margin-left: 0.25em;
padding: 0 0.5em 0 0.25em;
.anchorjs-link {
margin: 0 0.25em;
padding: 0 0.25em;
background: none;
opacity: 0;
font-weight: 300;
line-height: 1;
opacity: 0; // overridden by JS on mobile devices
user-select: none;
&::before {
content: "\0023"; // pound sign