aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/_color_scheme.scss
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2019-05-01 21:11:53 +0200
committerHarald Eilertsen <haraldei@anduin.net>2019-05-01 21:11:53 +0200
commit751b112b7ab1766aa08d3422ecd1924354b9cd59 (patch)
tree5982c8cc5fe861209d8e7baf9ca6e39b48dc9e89 /app/assets/stylesheets/_color_scheme.scss
parenta7a2fc57cf458fee98bad03b3c2a40b6e8d75606 (diff)
downloadhmnoweb-751b112b7ab1766aa08d3422ecd1924354b9cd59.tar.gz
hmnoweb-751b112b7ab1766aa08d3422ecd1924354b9cd59.tar.bz2
hmnoweb-751b112b7ab1766aa08d3422ecd1924354b9cd59.zip
Move towards flexbox layout.
Main page and header now use flexbox instead of not quite working floats and position relative/absolute. This really simplifies things. Perhaps we'll even be able to make a mobile friendly site some day. Various other cosmetic tweaks have snuch in too. The page now has a max size of about 25cm, and some other minor tweaks.
Diffstat (limited to 'app/assets/stylesheets/_color_scheme.scss')
-rw-r--r--app/assets/stylesheets/_color_scheme.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/stylesheets/_color_scheme.scss b/app/assets/stylesheets/_color_scheme.scss
index b69a2ea..9b94189 100644
--- a/app/assets/stylesheets/_color_scheme.scss
+++ b/app/assets/stylesheets/_color_scheme.scss
@@ -49,3 +49,4 @@ $sidebar-width: 200px;
$sidebar-margin: $sidebar-width + 2 * $spacing;
$min-center-width: 500px;
$min-page-width: 2 * $sidebar-margin + $min-center-width + 4 * $spacing;
+$max-page-width: 25cm;