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,7 +32,25 @@ div#content {
|
|||||||
letter-spacing: 0.001em;
|
letter-spacing: 0.001em;
|
||||||
line-height: 1.5;
|
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
|
// AnchorJS styles
|
||||||
|
// stylelint-disable-next-line no-descending-specificity
|
||||||
a.anchorjs-link {
|
a.anchorjs-link {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 0.25em;
|
margin-left: 0.25em;
|
||||||
@@ -52,6 +70,7 @@ div#content {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// stylelint-disable-next-line no-descending-specificity
|
||||||
&:hover {
|
&:hover {
|
||||||
@include themes.themed(
|
@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 {
|
p.center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user