Set all sections to 100vh - header height

This commit is contained in:
wswidzinski 2018-01-13 16:56:56 +01:00
parent 7f7c71ffcd
commit 20f65d7464
6 changed files with 3 additions and 6 deletions

View File

@ -63,6 +63,7 @@
"vinyl-source-stream": "^1.1.0" "vinyl-source-stream": "^1.1.0"
}, },
"dependencies": { "dependencies": {
"sanitize.css": "^4.1.0" "sanitize.css": "^4.1.0",
"vanilla-tilt": "^1.4.1"
} }
} }

View File

@ -1,7 +1,6 @@
.get-involved { .get-involved {
display: flex; display: flex;
align-items: center; align-items: center;
min-height: calc(100vh - #{$header-height--desktop});
color: $color-white; color: $color-white;
background-color: $color-gray; background-color: $color-gray;

View File

@ -1,7 +1,6 @@
.introduction { .introduction {
display: flex; display: flex;
align-items: center; align-items: center;
min-height: calc(100vh - #{$header-height--desktop});
color: white; color: white;
background-color: $color-black; background-color: $color-black;

View File

@ -1,6 +1,5 @@
.project { .project {
position: relative; position: relative;
min-height: calc(100vh - #{$header-height--desktop});
padding: 25px; padding: 25px;
color: $color-white; color: $color-white;
background-color: $color-orange; background-color: $color-orange;

View File

@ -1,4 +1,4 @@
.section { .section {
width: 100%; width: 100%;
min-height: 100vh; min-height: calc(100vh - #{$header-height--desktop});
} }

View File

@ -1,7 +1,6 @@
.structure { .structure {
display: flex; display: flex;
align-items: center; align-items: center;
min-height: calc(100vh - #{$header-height--desktop});
margin-top: 10px; margin-top: 10px;
color: $color-scarlet; color: $color-scarlet;
background-color: $color-white; background-color: $color-white;