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 | a0613f3f74d4784dbf2ec65c40d2b86d6b78ed84 (patch) | |
tree | 3434fc76ea082efcd5eba0f6a319f7c7084379ed | |
parent | website: Convert text to path to avoid having to distribute fonts. (diff) |
website: Adjust focus styles.
-rw-r--r-- | static/css/main.css | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/static/css/main.css b/static/css/main.css index 2acd5ef..3bf1e1e 100644 --- a/static/css/main.css +++ b/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 | ||