diff --git a/less/scaffolding.less b/less/scaffolding.less
index 3a6ed3d99e013b1f0e233765696b90151a6bfde0..7f6d3bf3ac6c6eca5dcb5c0f275b143f6722304f 100644
--- a/less/scaffolding.less
+++ b/less/scaffolding.less
@@ -54,14 +54,16 @@ textarea {
 a {
   color: @link-color;
   text-decoration: none;
-}
-a:hover,
-a:focus {
-  color: @link-hover-color;
-  text-decoration: underline;
-}
-a:focus {
-  .tab-focus();
+
+  &:hover,
+  &:focus {
+    color: @link-hover-color;
+    text-decoration: underline;
+  }
+
+  &:focus {
+    .tab-focus();
+  }
 }