mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-10 06:50:12 +08:00
[Web] Revert hover link decoration to underline
This commit is contained in:
@@ -31,15 +31,6 @@ function getStyles(params: { theme: Theme }) {
|
||||
.join('\n')}
|
||||
background-color:${t.backgroundColor};
|
||||
}
|
||||
|
||||
a:not(.icon):hover, a:not(.icon):hover *:not(.icon) {
|
||||
${
|
||||
t.isDark
|
||||
? `color: ${lighten(1, t.foregroundColor)} !important;`
|
||||
: `color: ${darken(1, t.foregroundColor)} !important;`
|
||||
}
|
||||
transition: none 0s !important;
|
||||
}
|
||||
`
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,10 @@ body {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
a:hover, a:hover * {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user