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/hmno_banners.scss | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 app/assets/stylesheets/hmno_banners.scss (limited to 'app/assets/stylesheets/hmno_banners.scss') diff --git a/app/assets/stylesheets/hmno_banners.scss b/app/assets/stylesheets/hmno_banners.scss new file mode 100644 index 0000000..205b7c9 --- /dev/null +++ b/app/assets/stylesheets/hmno_banners.scss @@ -0,0 +1,3 @@ +#slider { + text-align: center; +} -- cgit v1.2.3 From d54d4ca358206971540241bb617dc6dacb097136 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 16 Feb 2014 19:19:18 +0100 Subject: Render banners from layout instead of modifying all views. --- app/assets/stylesheets/hmno_banners.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/assets/stylesheets/hmno_banners.scss') diff --git a/app/assets/stylesheets/hmno_banners.scss b/app/assets/stylesheets/hmno_banners.scss index 205b7c9..d01570e 100644 --- a/app/assets/stylesheets/hmno_banners.scss +++ b/app/assets/stylesheets/hmno_banners.scss @@ -1,3 +1,9 @@ +@import "color_scheme"; + #slider { + margin: { + left: $sidebar-margin; + right: $sidebar-margin; + } text-align: center; } -- cgit v1.2.3