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