2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

updates to the topbar markup and css to remove the logo classname and simplify the selectors for it

This commit is contained in:
Mark Otto
2011-08-19 22:28:22 -07:00
parent 6dcfe94bab
commit 3f388ef07a
4 changed files with 20 additions and 29 deletions
+6 -10
View File
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Fri Aug 19 20:19:39 PDT 2011
* Date: Fri Aug 19 22:27:16 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -594,14 +594,14 @@ blockquote p {
line-height: 18px;
margin-bottom: 0;
}
blockquote small, blockquote cite {
blockquote small {
display: block;
font-size: 12px;
font-weight: 300;
line-height: 18px;
color: #bfbfbf;
}
blockquote small:before, blockquote cite:before {
blockquote small:before {
content: '\2014 \00A0';
}
address {
@@ -1118,13 +1118,13 @@ div.topbar a {
color: #bfbfbf;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
div.topbar ul li a:hover, div.topbar ul li.active a, div.topbar a.logo:hover {
div.topbar a:hover, div.topbar ul li.active a {
background-color: #333;
background-color: rgba(255, 255, 255, 0.15);
background-color: rgba(255, 255, 255, 0.05);
color: #ffffff;
text-decoration: none;
}
div.topbar a.logo {
div.topbar h3 a {
float: left;
display: block;
padding: 8px 20px 12px;
@@ -1134,10 +1134,6 @@ div.topbar a.logo {
font-weight: 200;
line-height: 1;
}
div.topbar a.logo img {
float: left;
margin-right: 6px;
}
div.topbar form {
float: left;
margin: 5px 0 0 0;