mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-05-21 11:05:49 +00:00
style(md-content): refine link styling and hover effects for consistency
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md-content a {
|
.md-content a:not(.anchor) {
|
||||||
text-underline-offset: 0.3rem;
|
text-underline-offset: 0.3rem;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
@@ -213,11 +213,14 @@
|
|||||||
.md-content h6:hover .anchor {
|
.md-content h6:hover .anchor {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
color: var(--secondary);
|
color: var(--secondary);
|
||||||
margin-inline-start: 8px;
|
margin-inline-start: 0.5em;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.anchor:hover {
|
||||||
|
color: var(--content) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.md-content img.in-text {
|
.md-content img.in-text {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|||||||
Reference in New Issue
Block a user