From 6f9f2720c9aa08be9e9e3ea3d9ecc1117a9a570c Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Sat, 6 Oct 2012 20:05:59 +0100 Subject: [PATCH] Fix up media-specific doc styling issues --- css/default.css | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/css/default.css b/css/default.css index 742a41477..c1d2e885d 100644 --- a/css/default.css +++ b/css/default.css @@ -200,11 +200,13 @@ body a:hover{ max-width: 240px; } + .navbar { + position: fixed; + } .navbar .navbar-inner .container-fluid{ max-width: 1110px; } - } - +} /* sticky footer and footer */ html, body { @@ -222,6 +224,24 @@ html, body { padding-bottom: 70px; } +@media (max-width: 979px) { + .navbar-fixed-top .navbar-inner { + padding: 0px; + } +} + +@media (max-width: 767px) { + .body-content{ + padding-top: 0px; + } +} + +@media (min-width: 768px) { + footer.span12 { + width: 95%; + } +} + footer, .push { height: 60px; /* .push must be the same height as .footer */ }