From ea5d5dc4fc6923a3701eb0e0b68fdf936217233c Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 16 Feb 2014 19:08:57 +0100 Subject: Fix styling for banners - Put banners in center of container - Set minimum size of page and elements to make room for banners --- app/assets/stylesheets/_color_scheme.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/assets/stylesheets/_color_scheme.scss') diff --git a/app/assets/stylesheets/_color_scheme.scss b/app/assets/stylesheets/_color_scheme.scss index bec9288..2b9cd79 100644 --- a/app/assets/stylesheets/_color_scheme.scss +++ b/app/assets/stylesheets/_color_scheme.scss @@ -31,4 +31,6 @@ $body-bg: black; $spacing: 10px; $sidebar-width: 200px; - +$sidebar-margin: $sidebar-width + 2 * $spacing; +$min-center-width: 500px; +$min-page-width: 2 * $sidebar-margin + $min-center-width + 4 * $spacing; -- cgit v1.2.3