diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2021-04-10 17:19:30 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2021-04-10 17:19:30 +0200 |
| commit | baee5999613542c40019234d783599a8647781f4 (patch) | |
| tree | 841adf0f84e5f3831dc8fc7bfb5816b3e3299958 | |
| parent | website: Style list bullets. (diff) | |
website: Add focus styles for accessibility.
| -rw-r--r-- | static/css/main.css | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css index 5565423..aaca875 100644 --- a/static/css/main.css +++ b/static/css/main.css | |||
| @@ -101,6 +101,10 @@ p + p { | |||
| 101 | height: 15rem; | 101 | height: 15rem; |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | #header .logo:focus { | ||
| 105 | border-bottom: 1px dotted #ffd166; | ||
| 106 | } | ||
| 107 | |||
| 104 | #header .logo.small { | 108 | #header .logo.small { |
| 105 | height: 4.5rem; | 109 | height: 4.5rem; |
| 106 | } | 110 | } |
| @@ -313,6 +317,9 @@ a:visited { | |||
| 313 | border-width: 2px; | 317 | border-width: 2px; |
| 314 | text-decoration: none; | 318 | text-decoration: none; |
| 315 | } | 319 | } |
| 320 | a:focus { | ||
| 321 | border: 1px dotted #ffd166; | ||
| 322 | } | ||
| 316 | a img { outline : none; } | 323 | a img { outline : none; } |
| 317 | img { border: none; } | 324 | img { border: none; } |
| 318 | 325 | ||