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