2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

move the .brand from the parent to the a tag in the topbar; fix the moving text in IE7

This commit is contained in:
Mark Otto
2011-09-11 20:00:45 -07:00
parent 6bc867ed5c
commit 2674210ff0
4 changed files with 17 additions and 16 deletions
+11 -11
View File
@@ -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