fix: Styling inconsistency on anchors in headings, closes #5126

This commit is contained in:
Tom Moor
2023-04-02 14:50:51 -04:00
parent cf3689014b
commit c6068d0fee

View File

@@ -688,20 +688,21 @@ strong {
p {
margin: 0;
min-height: 1.6em;
}
a {
color: ${props.theme.text};
.heading-content a,
p a {
color: ${props.theme.text};
text-decoration: underline;
text-decoration-color: ${lighten(0.5, props.theme.text)};
text-decoration-thickness: 1px;
text-underline-offset: .15em;
font-weight: 500;
&:hover {
text-decoration: underline;
text-decoration-color: ${lighten(0.5, props.theme.text)};
text-decoration-color: ${props.theme.text};
text-decoration-thickness: 1px;
text-underline-offset: .15em;
font-weight: 500;
&:hover {
text-decoration: underline;
text-decoration-color: ${props.theme.text};
text-decoration-thickness: 1px;
}
}
}