Skip to content

Commit 43e59fb

Browse files
committed
Virgula theme: stylesheet focus/outline changes
1 parent 86f849e commit 43e59fb

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

themes/virgula/stylesheets/all.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -286,18 +286,19 @@ a:hover,
286286
summary:hover {
287287
color: #003078;
288288
}
289-
a:focus,
290-
a:focus code {
289+
a:focus {
291290
outline: none;
292-
background-color: #ffdd00;
291+
text-decoration: underline;
292+
text-underline-offset: 0.125em;
293+
text-decoration-thickness: 0.0625em;
293294
}
294295
a:active,
295296
summary:active {
296297
color: #0b0c0c;
297298
}
298299
label {
299-
display: inline;
300-
margin: 0rem;
300+
display: block;
301+
margin: 0.3rem 0rem;
301302
}
302303
select[disabled],
303304
textarea[disabled],
@@ -491,6 +492,8 @@ div.doaction a:hover,
491492
button:hover,
492493
div.doaction a:focus,
493494
button:focus {
495+
outline: none;
496+
text-decoration: none;
494497
background-color: #003078;
495498
}
496499
div.doaction a:active,
@@ -519,10 +522,10 @@ article.audio audio {
519522
width: 100%;
520523
}
521524
*:focus,
522-
div.doaction a:focus,
523525
section.photo > a:focus,
524526
section a:has(img):focus {
525-
outline: #ffdd00 solid 4px;
527+
outline: #ffdd00 solid 2px;
528+
outline-offset: 2px;
526529
}
527530
#comment_shim {
528531
display: none;

0 commit comments

Comments
 (0)