mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fix homepage nav styles
This commit is contained in:
parent
a72741ed62
commit
72bc9b97f0
4 changed files with 32 additions and 29 deletions
|
@ -1,4 +1,4 @@
|
|||
<header class="navbar navbar-inverse navbar-static-top bs-docs-nav" id="top" role="banner">
|
||||
<header class="navbar navbar-static-top bs-nav-home" id="top" role="banner">
|
||||
<div class="container">
|
||||
<h3 class="navbar-brand">
|
||||
<a href="{{ site.baseurl }}">Bootstrap</a>
|
||||
|
|
2
docs/assets/css/docs.min.css
vendored
2
docs/assets/css/docs.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -96,36 +96,39 @@ body {
|
|||
// Main navigation
|
||||
//
|
||||
|
||||
.bs-docs-nav {
|
||||
.bs-nav-home {
|
||||
margin-bottom: 0;
|
||||
background-color: #563d7c;
|
||||
border-bottom: 0;
|
||||
}
|
||||
.bs-docs-nav .navbar-brand > a,
|
||||
.bs-docs-nav .navbar-nav > li > a {
|
||||
|
||||
.navbar-brand > a {
|
||||
font-weight: 500;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
font-weight: 500;
|
||||
color: #cdbfe3;
|
||||
}
|
||||
.bs-docs-nav .navbar-brand > a {
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: #fff;
|
||||
background-color: rgba(0,0,0,.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
.bs-docs-nav .navbar-nav > li > a:hover,
|
||||
.bs-docs-nav .navbar-nav > .active > a,
|
||||
.bs-docs-nav .navbar-nav > .active > a:hover {
|
||||
color: #fff;
|
||||
background-color: #563d7c;
|
||||
}
|
||||
.bs-docs-nav .navbar-toggle .icon-bar {
|
||||
background-color: #fff;
|
||||
}
|
||||
.bs-docs-nav .navbar-header .navbar-toggle {
|
||||
border-color: #322f38;
|
||||
}
|
||||
.bs-docs-nav .navbar-header .navbar-toggle:hover,
|
||||
.bs-docs-nav .navbar-header .navbar-toggle:focus {
|
||||
background-color: #29262f;
|
||||
border-color: #29262f;
|
||||
}
|
||||
|
||||
// .bs-nav-home .navbar-toggle .icon-bar {
|
||||
// background-color: #fff;
|
||||
// }
|
||||
// .bs-nav-home .navbar-header .navbar-toggle {
|
||||
// border-color: #322f38;
|
||||
// }
|
||||
// .bs-nav-home .navbar-header .navbar-toggle:hover,
|
||||
// .bs-nav-home .navbar-header .navbar-toggle:focus {
|
||||
// background-color: #29262f;
|
||||
// border-color: #29262f;
|
||||
// }
|
||||
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue