Mercurial > p > roundup > code
comparison website/www/_static/style.css @ 6778:ed2359dda3b9
Remove focus outline around #main when skiplink is triggered.
The page jumps to the new section. That's enough to determine the
change.
No need for the focus outline.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 12 Jul 2022 21:04:02 -0400 |
| parents | e7b4ad2c57ac |
| children | b5b1f2830e23 |
comparison
equal
deleted
inserted
replaced
| 6777:8c9ee2d64639 | 6778:ed2359dda3b9 |
|---|---|
| 178 } | 178 } |
| 179 #skiplink a:focus { position: static; | 179 #skiplink a:focus { position: static; |
| 180 width: auto; | 180 width: auto; |
| 181 height: auto; } | 181 height: auto; } |
| 182 | 182 |
| 183 /* remove solid black border when focus is around the main section | |
| 184 due to activation of skip-link. Page jumps there, that's enough. */ | |
| 185 #main:focus-visible {outline: none;} |
