fix static navbar container issues, clean up docs presentation by unfixing the top navbar in favor of static one, start adding table of contents for longer sections of docs

This commit is contained in:
Mark Otto
2012-08-19 21:12:52 -07:00
parent e4d4ef43b0
commit 4e979f084d
18 changed files with 78 additions and 52 deletions

View File

@@ -580,6 +580,7 @@
// Set the container width, and override it for fixed navbars in media queries
.container,
.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container { .span(@gridColumns); }

View File

@@ -165,6 +165,10 @@
left: 0;
z-index: @zindexFixedNavbar;
margin-bottom: 0; // remove 18px margin for default navbar
}
.navbar-fixed-top,
.navbar-fixed-bottom,
.navbar-static-top {
.navbar-inner {
border: 0;
}
@@ -177,6 +181,8 @@
}
// Reset container width
// Required here as we reset the width earlier on and the grid mixins don't override early enough
.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
#grid > .core > .span(@gridColumns);
@@ -185,6 +191,9 @@
// Fixed to top
.navbar-fixed-top {
top: 0;
}
.navbar-fixed-top,
.navbar-static-top {
.navbar-inner {
.box-shadow(~"inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1)");
}

View File

@@ -48,4 +48,4 @@ a:hover {
.img-circle {
.border-radius(500px);
}
}

View File

@@ -24,6 +24,7 @@
visibility: hidden;
}
// For Affix plugin
.affix {
position: fixed;
}
}