1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-13 00:45:28 -04:00

Update _content.scss

This commit is contained in:
2021-11-01 14:31:18 -04:00
parent 310da3ebea
commit 2d509e22a8
+19 -17
View File
@@ -32,7 +32,25 @@ div#content {
letter-spacing: 0.001em;
line-height: 1.5;
&:hover > a.anchorjs-link {
opacity: 100%; // '#' link appears on hover over entire sub-heading line
}
}
// special bottom border for H2s
h2 {
padding-bottom: 0.25em;
border-bottom: 1px solid;
@include themes.themed(
(
border-color: "kinda-light",
)
);
}
// AnchorJS styles
// stylelint-disable-next-line no-descending-specificity
a.anchorjs-link {
display: inline-block;
margin-left: 0.25em;
@@ -52,6 +70,7 @@ div#content {
)
);
// stylelint-disable-next-line no-descending-specificity
&:hover {
@include themes.themed(
(
@@ -61,23 +80,6 @@ div#content {
}
}
&:hover > a.anchorjs-link {
opacity: 100%; // '#' link appears on hover over entire sub-heading line
}
}
// special bottom border for H2s
h2 {
padding-bottom: 0.25em;
border-bottom: 1px solid;
@include themes.themed(
(
border-color: "kinda-light",
)
);
}
p.center {
text-align: center;
}