From 6b193dc22d544d55100c6c0eb237a30b8eaf184b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 16 Jan 2013 16:20:29 -0800 Subject: More navbar tweaks, including making fixed navbars work in the docs by adding padding to body --- docs/assets/css/docs.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/assets/css/docs.css') 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; -- cgit v1.2.3