aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/_color_scheme.scss
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2014-02-16 19:08:57 +0100
committerHarald Eilertsen <haraldei@anduin.net>2014-02-16 19:08:57 +0100
commitea5d5dc4fc6923a3701eb0e0b68fdf936217233c (patch)
tree4a15530b9ba246a967b270bd0980ef30b24bd708 /app/assets/stylesheets/_color_scheme.scss
parent93421980d48b968b825922063c2dab9e9ee8cb4c (diff)
downloadhmnoweb-ea5d5dc4fc6923a3701eb0e0b68fdf936217233c.tar.gz
hmnoweb-ea5d5dc4fc6923a3701eb0e0b68fdf936217233c.tar.bz2
hmnoweb-ea5d5dc4fc6923a3701eb0e0b68fdf936217233c.zip
Fix styling for banners
- Put banners in center of container - Set minimum size of page and elements to make room for banners
Diffstat (limited to 'app/assets/stylesheets/_color_scheme.scss')
-rw-r--r--app/assets/stylesheets/_color_scheme.scss4
1 files changed, 3 insertions, 1 deletions
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;