Skip to content
Snippets Groups Projects
Commit 138c0035 authored by khawkins98's avatar khawkins98
Browse files

Add a:focus for #99

parent bac31f8f
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
h3 { font-weight: $global-weight-h3; } h3 { font-weight: $global-weight-h3; }
h4 { font-weight: $global-weight-h4; } h4 { font-weight: $global-weight-h4; }
h5 { font-weight: $global-weight-h5; } h5 { font-weight: $global-weight-h5; }
a, a,
a:visited { a:visited {
border-bottom-width: 1px; border-bottom-width: 1px;
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
border-bottom-width: 3px; border-bottom-width: 3px;
padding: 0.1em 0.3em; padding: 0.1em 0.3em;
} }
a:focus { box-shadow: 0 0 2px rgba(100,100,100,.5); }
a:hover { opacity: .9; } a:hover { opacity: .9; }
a.image, a.image,
a.image:visited { border-bottom: 0 none; } a.image:visited { border-bottom: 0 none; }
......
...@@ -46,6 +46,10 @@ ...@@ -46,6 +46,10 @@
color: white; color: white;
} }
a:focus {
box-shadow: 0 0 2px color-pick-contrast($masthead-font-color, $ebi-colour-light $ebi-colour-dark, 30%);
}
.global-nav { .global-nav {
font-size: .9rem; font-size: .9rem;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment