style(md-content): refine link styling and hover effects for consistency

This commit is contained in:
Aditya Telange
2026-04-26 16:56:32 +05:30
parent 5c076622e2
commit c43b0d19b8
+5 -2
View File
@@ -31,7 +31,7 @@
font-size: 12px;
}
.md-content a {
.md-content a:not(.anchor) {
text-underline-offset: 0.3rem;
text-decoration: underline;
}
@@ -213,11 +213,14 @@
.md-content h6:hover .anchor {
display: inline-flex;
color: var(--secondary);
margin-inline-start: 8px;
margin-inline-start: 0.5em;
font-weight: 500;
user-select: none;
}
.anchor:hover {
color: var(--content) !important;
}
.md-content img.in-text {
display: inline;