From 2674210ff06a9ceaaa98263a2cbe2246fcd21111 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 11 Sep 2011 20:00:45 -0700 Subject: move the .brand from the parent to the a tag in the topbar; fix the moving text in IE7 --- lib/patterns.less | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lib/patterns.less') diff --git a/lib/patterns.less b/lib/patterns.less index 901ac12de..88f56ea59 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -33,19 +33,19 @@ // Website name // h3 left for backwards compatibility - .brand, h3 { position: relative; - a { - float: left; - display: block; - padding: 8px 20px 12px; - margin-left: -20px; // negative indent to left-align the text down the page - color: @white; - font-size: 20px; - font-weight: 200; - line-height: 1; - } + } + h3 a, + .brand { + float: left; + display: block; + padding: 8px 20px 12px; + margin-left: -20px; // negative indent to left-align the text down the page + color: @white; + font-size: 20px; + font-weight: 200; + line-height: 1; } // Plain text in topbar -- cgit v1.2.3