Body padding-top use BS' SCSS variable

This commit is contained in:
augier 2015-08-14 18:48:11 +02:00
parent bd707c0d12
commit 95c3d9694b
3 changed files with 5 additions and 3 deletions

View file

@ -358,7 +358,7 @@ $grid-float-breakpoint: 992px !default; // $screen-md-min
//## //##
// Basics of a navbar // Basics of a navbar
// $navbar-height: 50px $navbar-height: 50px;
// $navbar-margin-bottom: $line-height-computed // $navbar-margin-bottom: $line-height-computed
// $navbar-border-radius: $border-radius-base // $navbar-border-radius: $border-radius-base
// $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) // $navbar-padding-horizontal: floor(($grid-gutter-width / 2))

View file

@ -1,5 +1,7 @@
@import "bootstrap-variables";
body { body {
margin-top: 50px; margin-top: $navbar-height;
background-color: white; background-color: white;
background-image : none; background-image : none;
} }

View file

@ -1,5 +1,5 @@
body { body {
margin-top: 50px; margin-top: $navbar-height;
padding : none; padding : none;
&.lock { &.lock {