Fix .contrast link inside nav

This commit is contained in:
Lucas 2020-08-08 12:44:46 +07:00
parent 3671719498
commit d0730c8b6e
3 changed files with 7 additions and 3 deletions

View file

@ -1529,7 +1529,7 @@ nav a:hover, nav a:active, nav a:focus {
text-decoration: none; text-decoration: none;
} }
nav a.contrast:not([role="button"]) { nav a.contrast:not([role="button"]), nav a.contrast:not([role="button"]):hover, nav a.contrast:not([role="button"]):active, nav a.contrast:not([role="button"]):focus {
box-shadow: none; box-shadow: none;
} }

2
css/pico.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -49,8 +49,12 @@ nav {
text-decoration: none; text-decoration: none;
} }
// Disable underline for a.contrast in nav
@if $enable-classes { @if $enable-classes {
&.contrast:not([role="button"]) { &.contrast:not([role="button"]),
&.contrast:not([role="button"]):hover,
&.contrast:not([role="button"]):active,
&.contrast:not([role="button"]):focus {
box-shadow: none; box-shadow: none;
} }
} }