From 7e7f37f9c7eccbd6dd61fcf655e70dbf2539c119 Mon Sep 17 00:00:00 2001 From: Nienke Date: Wed, 22 Jun 2016 10:01:39 +0200 Subject: [PATCH] Kinda fixed low height viewport issue --- public/css/main.css | 13 +++++++------ public/css/main.css.map | 2 +- public/css/main.scss | 11 ++++++----- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index c38143f..6974b16 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -95,16 +95,16 @@ body { padding-top: 10px; } } .fa-angle-double-down { - color: #424769; - margin-top: 50px; } - @media (max-width: 1200px) { - .fa-angle-double-down { - margin: 0px; } } + color: #424769; } .info-page { background: linear-gradient(#F1D4AF, #eee9d9); flex-direction: row; - height: 80vh; } + height: 100vh; + flex-flow: row wrap; + flex-wrap: wrap; + justify-content: space-around; + align-content: stretch; } @media (max-width: 1200px) { .info-page { flex-direction: column; @@ -133,6 +133,7 @@ body { font-size: 5em; } } .footer-page { + flex: 1; background-color: #e2f2f0; flex-direction: column; height: 20vh; } diff --git a/public/css/main.css.map b/public/css/main.css.map index 1965d92..5c60491 100644 --- a/public/css/main.css.map +++ b/public/css/main.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AACQ,0BAAe;AACf,yBAAc;AAGd,uBAAY;AACZ,uFAA+E;ACNvF,SAAS;EACP,eAAe,EAAE,IAAI;EACrB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,IAAI;EACb,QAAQ,EAAE,MAAM;;AAElB,YAAY;EACV,KAAK,EAAE,IAAI;;AAEb,cAAc;EACZ,OAAO,EAAE,YAAY;EACrB,OAAO,EAAE,SAAS;EAClB,eAAe,EAAE,IAAI;EACrB,SAAS,EAAE,IAAI;EACf,gBAAgB,EAAE,IAAI;EACtB,MAAM,EAAE,eAAe;EACvB,aAAa,EAAE,GAAG;EAClB,KAAK,EAAE,OAAO;;AAEhB,oBAAoB;EAClB,gBAAgB,EAAE,OAAO;EACzB,eAAe,EAAE,I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G;EAClB,UAAU,EAAE,CAAC;EACb,aAAa,EAAE,iBAAiB;EAChC,YAAY,EAAE,iBAAiB;EAC/B,WAAW,EAAE,CAAC;;AAIhB,WAAY;EAEV,UAAU,EAAE,iCAAiC;EAC7C,cAAc,EAAE,MAAM", "sources": ["main.scss","navigation.sass","forms.sass"], "names": [], "file": "main.css" diff --git a/public/css/main.scss b/public/css/main.scss index cc653e9..e6b7845 100644 --- a/public/css/main.scss +++ b/public/css/main.scss @@ -80,10 +80,6 @@ $break-small: 1200px; .fa-angle-double-down { color: #424769; - margin-top: 50px; - @include break-small { - margin: 0px; - } } // second section containing information columns @@ -91,7 +87,11 @@ $break-small: 1200px; @extend .flexpage; background: linear-gradient(#F1D4AF, #eee9d9); flex-direction: row; - height: 80vh; + height: 100vh; + flex-flow: row wrap; + flex-wrap: wrap; + justify-content: space-around; + align-content: stretch; @include break-small { flex-direction: column; height: 100%; @@ -125,6 +125,7 @@ $break-small: 1200px; // third section containing the footer .footer-page { @extend .flexpage; + flex: 1; background-color: #e2f2f0; flex-direction: column; height: 20vh;