0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

un-affix top navbar

This commit is contained in:
Mark Otto 2015-08-09 20:31:16 -07:00
parent 31a47369bb
commit 44fe355ec2
5 changed files with 4 additions and 8 deletions

View File

@ -1,4 +1,4 @@
<header class="navbar navbar-sm navbar-inverse navbar-fixed-top bd-navbar" role="banner"> <header class="navbar navbar-sm navbar-inverse navbar-static-top bd-navbar" role="banner">
<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>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -31,6 +31,7 @@
.bd-navbar { .bd-navbar {
padding: .25rem; padding: .25rem;
margin-bottom: 0;
background-color: $bd-graphite; background-color: $bd-graphite;
.nav-link { .nav-link {

View File

@ -1,8 +1,3 @@
.bd-docs {
padding-top: 3.65rem;
}
// Custom container // Custom container
// //
// Doesn't use the default `.container` styles for easier modifications. // Doesn't use the default `.container` styles for easier modifications.