aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-08-19 22:28:22 -0700
committerMark Otto <[email protected]>2011-08-19 22:28:22 -0700
commit3f388ef07a5f0101e97b19479e472528a0c78ff9 (patch)
tree3cacbd1223bc7e052da2b0929ffe289f3dfc5eda /lib
parent6dcfe94bab1110bb0d2b5ad9634396be7383ff22 (diff)
downloadbootstrap-3f388ef07a5f0101e97b19479e472528a0c78ff9.tar.xz
bootstrap-3f388ef07a5f0101e97b19479e472528a0c78ff9.zip
updates to the topbar markup and css to remove the logo classname and simplify the selectors for it
Diffstat (limited to 'lib')
-rw-r--r--lib/patterns.less19
1 files changed, 7 insertions, 12 deletions
diff --git a/lib/patterns.less b/lib/patterns.less
index a60a9baab..e540bd601 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -25,30 +25,25 @@ div.topbar {
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
}
- // Hover and active states for links
- ul li a:hover,
- ul li.active a,
- a.logo:hover {
+ // Hover and active states
+ a:hover,
+ ul li.active a {
background-color: #333;
- background-color: rgba(255,255,255,.15);
+ background-color: rgba(255,255,255,.05);
color: @white;
text-decoration: none;
}
- // Logo
- a.logo {
+ // Website name
+ h3 a {
float: left;
display: block;
padding: 8px 20px 12px;
- margin-left: -20px;
+ margin-left: -20px; // negative indent to left-align the text down the page
color: @white;
font-size: 20px;
font-weight: 200;
line-height: 1;
- img {
- float: left;
- margin-right: 6px;
- }
}
// Search Form