fix: Styling inconsistency on anchors in headings, closes #5126
This commit is contained in:
@@ -688,20 +688,21 @@ strong {
|
|||||||
p {
|
p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
min-height: 1.6em;
|
min-height: 1.6em;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
.heading-content a,
|
||||||
color: ${props.theme.text};
|
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: underline;
|
||||||
text-decoration-color: ${lighten(0.5, props.theme.text)};
|
text-decoration-color: ${props.theme.text};
|
||||||
text-decoration-thickness: 1px;
|
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user