mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
#theme: fix links in nav and menu on hover #577
This commit is contained in:
parent
82ef4ff5c5
commit
914c2a9da4
2 changed files with 13 additions and 6 deletions
|
@ -55,12 +55,6 @@ a {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
text-decoration: none; }
|
text-decoration: none; }
|
||||||
|
|
||||||
a:hover,
|
|
||||||
a:focus,
|
|
||||||
a:active {
|
|
||||||
outline: 0;
|
|
||||||
text-decoration: underline; }
|
|
||||||
|
|
||||||
abbr[title] {
|
abbr[title] {
|
||||||
border-bottom: 1px dotted; }
|
border-bottom: 1px dotted; }
|
||||||
|
|
||||||
|
|
|
@ -355,6 +355,19 @@ dd {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.links a:hover,
|
||||||
|
.links a:active,
|
||||||
|
.links a:focus,
|
||||||
|
.links a:hover *,
|
||||||
|
.links a:active *,
|
||||||
|
.links a:focus *,
|
||||||
|
#body-inner a:hover,
|
||||||
|
#body-inner a:active,
|
||||||
|
#body-inner a:focus {
|
||||||
|
outline: none;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
#body-inner:focus-visible{
|
#body-inner:focus-visible{
|
||||||
/* remove focus indicator for programatically set focus */
|
/* remove focus indicator for programatically set focus */
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
Loading…
Reference in a new issue