mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-05-21 19:09:02 +00:00
style(footer, md-content, post-entry, post-single): update link styles for better visibility
This commit is contained in:
@@ -23,11 +23,8 @@
|
|||||||
|
|
||||||
.footer a {
|
.footer a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
border-bottom: 1px solid var(--secondary);
|
text-underline-offset: 0.2rem;
|
||||||
}
|
text-decoration: underline;
|
||||||
|
|
||||||
.footer a:hover {
|
|
||||||
border-bottom: 1px solid var(--primary);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-link {
|
.top-link {
|
||||||
|
|||||||
@@ -32,15 +32,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.md-content a {
|
.md-content a {
|
||||||
box-shadow: 0 1px 0;
|
text-underline-offset: 0.2rem;
|
||||||
box-decoration-break: clone;
|
text-decoration: underline;
|
||||||
-webkit-box-decoration-break: clone;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md-content a code {
|
|
||||||
margin: auto 0;
|
|
||||||
border-radius: 0;
|
|
||||||
box-shadow: 0 -1px 0 var(--primary) inset;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.md-content del {
|
.md-content del {
|
||||||
|
|||||||
@@ -117,5 +117,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.entry-cover a {
|
.entry-cover a {
|
||||||
box-shadow: 0 1px 0 var(--primary);
|
text-underline-offset: 0.2rem;
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,9 +47,8 @@
|
|||||||
|
|
||||||
.post-meta .i18n_list li a,
|
.post-meta .i18n_list li a,
|
||||||
.toc a:hover {
|
.toc a:hover {
|
||||||
box-shadow: 0 1px 0;
|
text-underline-offset: 0.2rem;
|
||||||
box-decoration-break: clone;
|
text-decoration: underline;
|
||||||
-webkit-box-decoration-break: clone;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
details.toc {
|
details.toc {
|
||||||
|
|||||||
Reference in New Issue
Block a user