Browse Source

outline offset for buttons

Maggie 4 years ago
parent
commit
eea40066eb
2 changed files with 2 additions and 0 deletions
  1. 1 0
      skatepark/assets/theme.css
  2. 1 0
      skatepark/sass/elements/_links.scss

+ 1 - 0
skatepark/assets/theme.css

@@ -154,6 +154,7 @@ a {
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 	outline: 1px dotted currentColor;
+	outline-offset: 0.1em;
 	text-decoration: none;
 }
 

+ 1 - 0
skatepark/sass/elements/_links.scss

@@ -38,6 +38,7 @@ a:not(.ab-item):not(.screen-reader-shortcut) {
 	&:active,
 	&:focus {
 		outline: 1px dotted currentColor;
+		outline-offset: 0.1em;
 		text-decoration: none;
 	}
 }