1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-15 05:25:33 -04:00

add a few more helpful anchor IDs on sub-headings

This commit is contained in:
2021-08-30 23:19:01 -04:00
parent eace0683b4
commit 3a7cd284a4
8 changed files with 43 additions and 39 deletions

View File

@@ -63,11 +63,11 @@ div#content {
a.anchorjs-link {
display: inline-block;
margin-left: 0.25em;
padding-left: 0.25em;
padding-right: 0.5em;
padding: 0 0.5em 0 0.25em;
background: none;
opacity: 0;
font-weight: 300;
background: none;
line-height: 1;
&::before {
content: "\0023"; // pound sign
@@ -81,7 +81,7 @@ div#content {
}
&:hover > a.anchorjs-link {
opacity: 1;
opacity: 1; // '#' link appears on hover over entire sub-heading line
}
}
}

View File

@@ -56,7 +56,7 @@ div.highlight-clipboard-enabled {
right: 0;
width: 5.5em;
padding: 0.6em 0.2em;
padding: 0.75em 0.25em;
border: 1px solid;
cursor: pointer;