aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css/docs.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-01-16 16:20:29 -0800
committerMark Otto <[email protected]>2013-01-16 16:20:29 -0800
commit6b193dc22d544d55100c6c0eb237a30b8eaf184b (patch)
treebace945aa66a34ce9ce2705dfb65e82b95318dc1 /docs/assets/css/docs.css
parent9ba14cfb7c0daa75453fd226d09198ffec142b1b (diff)
downloadbootstrap-6b193dc22d544d55100c6c0eb237a30b8eaf184b.tar.xz
bootstrap-6b193dc22d544d55100c6c0eb237a30b8eaf184b.zip
More navbar tweaks, including making fixed navbars work in the docs by adding padding to body
Diffstat (limited to 'docs/assets/css/docs.css')
-rw-r--r--docs/assets/css/docs.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index 38fd87a44..4e52cdf61 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -10,6 +10,7 @@
body {
position: relative; /* For scrollyspy */
+ padding-top: 62px; /* Default height of navbar */
}
/* */
@@ -197,6 +198,9 @@ section > ul li {
/* Affix all the things, and set widths because they're positioned, depending on viewport size */
@media screen and (min-width: 768px) {
+ body {
+ padding-top: 44px;
+ }
/* From here, start to affix the nav because we keep columns here */
.bs-docs-sidenav.affix {
position: fixed;