mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-13 01:45:30 -04:00
Update _content.scss
This commit is contained in:
@@ -32,35 +32,6 @@ div#content {
|
|||||||
letter-spacing: 0.001em;
|
letter-spacing: 0.001em;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
|
||||||
// AnchorJS styles
|
|
||||||
a.anchorjs-link {
|
|
||||||
display: inline-block;
|
|
||||||
margin-left: 0.25em;
|
|
||||||
padding: 0 0.5em 0 0.25em;
|
|
||||||
background: none;
|
|
||||||
opacity: 0%;
|
|
||||||
font-weight: 300;
|
|
||||||
line-height: 1;
|
|
||||||
|
|
||||||
&::before {
|
|
||||||
content: "\0023"; // pound sign
|
|
||||||
}
|
|
||||||
|
|
||||||
@include themes.themed(
|
|
||||||
(
|
|
||||||
color: "medium-light",
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
@include themes.themed(
|
|
||||||
(
|
|
||||||
color: "links",
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover > a.anchorjs-link {
|
&:hover > a.anchorjs-link {
|
||||||
opacity: 100%; // '#' link appears on hover over entire sub-heading line
|
opacity: 100%; // '#' link appears on hover over entire sub-heading line
|
||||||
}
|
}
|
||||||
@@ -78,6 +49,37 @@ div#content {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AnchorJS styles
|
||||||
|
// stylelint-disable-next-line no-descending-specificity
|
||||||
|
a.anchorjs-link {
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: 0.25em;
|
||||||
|
padding: 0 0.5em 0 0.25em;
|
||||||
|
background: none;
|
||||||
|
opacity: 0%;
|
||||||
|
font-weight: 300;
|
||||||
|
line-height: 1;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: "\0023"; // pound sign
|
||||||
|
}
|
||||||
|
|
||||||
|
@include themes.themed(
|
||||||
|
(
|
||||||
|
color: "medium-light",
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
// stylelint-disable-next-line no-descending-specificity
|
||||||
|
&:hover {
|
||||||
|
@include themes.themed(
|
||||||
|
(
|
||||||
|
color: "links",
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p.center {
|
p.center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user