mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-22 12:43:39 +09:00
fix(ui): change underlines to default browser style (#38819)
Remove all underline style customization on links, letting the browser defaults apply
This commit is contained in:
@@ -273,12 +273,10 @@ a {
|
|||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration-line: none;
|
text-decoration-line: none;
|
||||||
text-decoration-skip-ink: all;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration-line: underline;
|
text-decoration-line: underline;
|
||||||
text-underline-position: under; /* necessary for CJK fonts, otherwise, default "auto" makes the underline cross-over the CJK text bottom */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* a = always colored, underlined on hover */
|
/* a = always colored, underlined on hover */
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
}
|
}
|
||||||
.console a:hover {
|
.console a:hover {
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
text-underline-position: auto; /* the global "a:hover" sets "under", which would shift the underline */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes blink-animation {
|
@keyframes blink-animation {
|
||||||
|
|||||||
Reference in New Issue
Block a user