浏览代码

outline offset for buttons

Maggie 4 年之前
父节点
当前提交
eea40066eb
共有 2 个文件被更改,包括 2 次插入0 次删除
  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;
 	}
 }