mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
account for nav on docs pages
This commit is contained in:
parent
b728fe2bbd
commit
6836530f72
@ -1,10 +1,8 @@
|
|||||||
<header class="navbar navbar-sm navbar-inverse navbar-fixed-top bd-navbar" role="banner">
|
<header class="navbar navbar-sm navbar-inverse navbar-fixed-top bd-navbar" role="banner">
|
||||||
<div class="container">
|
|
||||||
<nav class="nav navbar-nav">
|
<nav class="nav navbar-nav">
|
||||||
<a class="nav-item nav-link" href="{{ site.baseurl }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Bootstrap</a>
|
<a class="nav-item nav-link" href="{{ site.baseurl }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Bootstrap</a>
|
||||||
<a class="nav-item nav-link" href="{{ site.baseurl }}/getting-started/overview/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a>
|
<a class="nav-item nav-link" href="{{ site.baseurl }}/getting-started/overview/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a>
|
||||||
<a class="nav-item nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a>
|
<a class="nav-item nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a>
|
||||||
<a class="nav-item nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a>
|
<a class="nav-item nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
|
||||||
</header>
|
</header>
|
||||||
|
8
docs/assets/css/docs.min.css
vendored
8
docs/assets/css/docs.min.css
vendored
@ -4,6 +4,9 @@
|
|||||||
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
|
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
|
||||||
* details, see http://creativecommons.org/licenses/by/3.0/.
|
* details, see http://creativecommons.org/licenses/by/3.0/.
|
||||||
*/
|
*/
|
||||||
|
.bd-docs {
|
||||||
|
padding-top: 3.7rem; }
|
||||||
|
|
||||||
.bd-container {
|
.bd-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
max-width: 62rem;
|
max-width: 62rem;
|
||||||
@ -81,7 +84,7 @@
|
|||||||
margin-left: 240px; }
|
margin-left: 240px; }
|
||||||
.bd-sidebar {
|
.bd-sidebar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 3.7rem;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 240px;
|
width: 240px;
|
||||||
@ -240,8 +243,7 @@
|
|||||||
background-color: rgba(0, 0, 0, 0.5); }
|
background-color: rgba(0, 0, 0, 0.5); }
|
||||||
|
|
||||||
.bd-navbar {
|
.bd-navbar {
|
||||||
padding-top: .25rem;
|
padding: .25rem;
|
||||||
padding-bottom: .25rem;
|
|
||||||
background-color: #2a2730; }
|
background-color: #2a2730; }
|
||||||
.bd-navbar .nav-link {
|
.bd-navbar .nav-link {
|
||||||
color: #8e869d; }
|
color: #8e869d; }
|
||||||
|
File diff suppressed because one or more lines are too long
@ -30,8 +30,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
.bd-navbar {
|
.bd-navbar {
|
||||||
padding-top: .25rem;
|
padding: .25rem;
|
||||||
padding-bottom: .25rem;
|
|
||||||
background-color: $bd-graphite;
|
background-color: $bd-graphite;
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
|
||||||
|
.bd-docs {
|
||||||
|
padding-top: 3.7rem;
|
||||||
|
}
|
||||||
|
|
||||||
// Custom container
|
// Custom container
|
||||||
//
|
//
|
||||||
// Doesn't use the default `.container` styles for easier modifications.
|
// Doesn't use the default `.container` styles for easier modifications.
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
}
|
}
|
||||||
.bd-sidebar {
|
.bd-sidebar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 3.7rem;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 240px;
|
width: 240px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user