diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-04-11 09:15:11 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-04-11 09:15:11 +0200 |
commit | e1671e93a9986050a80f8fb27c166d332b141c5d (patch) | |
tree | 921183b6f7e5be7ee17b1e7e7b5de7d518b4acb1 /website/static/css | |
parent | website: Convert text to path to avoid having to distribute fonts. (diff) |
website: Adjust focus styles.
Diffstat (limited to '')
-rw-r--r-- | website/static/css/main.css | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/website/static/css/main.css b/website/static/css/main.css index 2acd5ef..3bf1e1e 100644 --- a/website/static/css/main.css +++ b/website/static/css/main.css | |||
@@ -104,8 +104,9 @@ p + p { | |||
104 | margin-bottom: 2em; | 104 | margin-bottom: 2em; |
105 | } | 105 | } |
106 | 106 | ||
107 | #header .logo:focus { | 107 | #header a:focus .logo { |
108 | border-bottom: 1px dotted #ffd166; | 108 | border-left: 2px dotted #118ab2; |
109 | border-right: 2px dotted #118ab2; | ||
109 | } | 110 | } |
110 | 111 | ||
111 | #header .logo.small { | 112 | #header .logo.small { |
@@ -302,6 +303,10 @@ a { | |||
302 | border-color: #118ab2; | 303 | border-color: #118ab2; |
303 | text-decoration: none; | 304 | text-decoration: none; |
304 | } | 305 | } |
306 | a:focus { | ||
307 | border-bottom: 2px dotted; | ||
308 | border-color: inherit; | ||
309 | } | ||
305 | a:visited { | 310 | a:visited { |
306 | color: #433; | 311 | color: #433; |
307 | border-color: #06d6a0; | 312 | border-color: #06d6a0; |
@@ -309,9 +314,6 @@ a:visited { | |||
309 | border-width: 2px; | 314 | border-width: 2px; |
310 | text-decoration: none; | 315 | text-decoration: none; |
311 | } | 316 | } |
312 | a:focus { | ||
313 | border: 1px dotted #ffd166; | ||
314 | } | ||
315 | a img { outline : none; } | 317 | a img { outline : none; } |
316 | img { border: none; } | 318 | img { border: none; } |
317 | 319 | ||