From 23769c68ed8b0791e5df9ad16fcdf0a7bd7b9bc3 Mon Sep 17 00:00:00 2001 From: opi Date: Mon, 9 Nov 2015 15:01:54 +0100 Subject: [PATCH] [fix] Better use of container class. --- src/css/style.less | 50 +++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/css/style.less b/src/css/style.less index efd7bd40..85979695 100644 --- a/src/css/style.less +++ b/src/css/style.less @@ -44,31 +44,6 @@ a[class*="fa-"]:hover {text-decoration:none;} * */ -html, body { - width:100%; -} -html { - /* Force vertical scrollbar to prevent centering jumps. */ - overflow-y: scroll; -} -body { - max-width: @container-md; - margin: auto; - padding: 0 10px; - @media (min-width: @screen-sm-min) { - padding: 0 20px; - } -} - -.block { - float:left; - height: 100%; - /*max-width: 750px;*/ - width: 50%; - height: 100%; - padding: 5px; -} - /* Fix bootstrap use of width. We prefer max-width. */ .container { @media (min-width: @screen-sm-min) { @@ -86,6 +61,31 @@ body { } +html, body { + width:100%; +} +html { + /* Force vertical scrollbar to prevent centering jumps. */ + overflow-y: scroll; +} +body { + &:extend(.container all); + margin: auto; + padding: 0 10px; + @media (min-width: @screen-sm-min) { + padding: 0 20px; + } +} + +.block { + float:left; + height: 100%; + /*max-width: 750px;*/ + width: 50%; + height: 100%; + padding: 5px; +} + .move { transition: margin-left 0.2s ease-in-out; }