fix: internal link selector specificity

This commit is contained in:
Jacky Zhao 2023-12-13 16:07:44 -08:00 committed by vintro
parent d1b9bd48e9
commit 072f80d53b
No known key found for this signature in database

View File

@ -64,11 +64,17 @@ a {
color: var(--tertiary) !important;
}
&.internal:not(:has(> img)) {
&.internal {
text-decoration: none;
background-color: var(--highlight);
padding: 0 0.1rem;
border-radius: 5px;
&:has(> img) {
background-color: none;
border-radius: 0;
padding: 0;
}
}
}