From 743fc9ac7e7d0b82a5443855631122c1e0a7e0bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Sun, 18 Aug 2013 23:28:55 +0200 Subject: [PATCH] Nesting for link styles --- less/scaffolding.less | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/less/scaffolding.less b/less/scaffolding.less index 3a6ed3d99e..7f6d3bf3ac 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(); + } }