From 927456416295d3db2db6d0fedb5ae1aa61843a3c Mon Sep 17 00:00:00 2001 From: El RIDO Date: Fri, 18 Sep 2015 09:31:17 +0200 Subject: [PATCH] intermediate step for #28: revert bootstrap template, but ensuring that the navbar does not overlap by removing its float on top property. bootstrap-compact is now the template with the floating & always visible navbar. --- css/bootstrap/zerobin.css | 6 +++++- tpl/bootstrap-compact.html | 2 +- tpl/bootstrap.html | 39 +++++++++++++++++--------------------- 3 files changed, 23 insertions(+), 24 deletions(-) diff --git a/css/bootstrap/zerobin.css b/css/bootstrap/zerobin.css index 114b1ade..8d3a916d 100644 --- a/css/bootstrap/zerobin.css +++ b/css/bootstrap/zerobin.css @@ -2,7 +2,11 @@ body { - padding: 70px 0 30px 0; + padding: 0 0 30px; +} + +body.navbar-spacing { + padding-top: 70px; } .navbar-nav { diff --git a/tpl/bootstrap-compact.html b/tpl/bootstrap-compact.html index e049aaa2..b8c82b5b 100644 --- a/tpl/bootstrap-compact.html +++ b/tpl/bootstrap-compact.html @@ -24,7 +24,7 @@ - +