From 9be7f045a2bc1f8e53a06b534e40722b9e31623d Mon Sep 17 00:00:00 2001 From: David Moreau Simard Date: Tue, 13 Nov 2018 09:54:13 -0500 Subject: [PATCH] Reduce padding to remove extraneous whitespace This removes around 500 pixels of whitespace from top to bottom. Additionally adds directory and file created by sass to gitignore. Change-Id: Ice436e051a8c1c9802570a19e0aad92942894c71 --- .gitignore | 2 ++ www/assets/css/main.css | 21 ++++++++------------- www/assets/sass/main.scss | 2 +- www/index.html | 4 ++-- 4 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index f245005..86b9ab5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ html www/media +.sass-cache/ +www/assets/css/main.css.map diff --git a/www/assets/css/main.css b/www/assets/css/main.css index 8d22326..afa8433 100644 --- a/www/assets/css/main.css +++ b/www/assets/css/main.css @@ -1881,20 +1881,13 @@ input[type="button"], height: 28em; text-align: center; position: relative; } - #banner p { - display: inline-block; - margin: 0; - width: 100%; - vertical-align: middle; - background: #212121; - background: rgba(27, 27, 27, 0.75); - color: #37c0fb; - padding: 1.5em 0; } - #banner p .button { - margin-left: 1em; } #banner header { + position: absolute; + bottom: 30%; + left: 0; + width: 100%; color: #071d49; - margin: 6%; } + padding: 1.5em 0; } #banner header h2 { display: inline-block; margin: 0; @@ -1912,7 +1905,7 @@ input[type="button"], /* Wrapper */ .wrapper { - padding: 5em 0 3em 0; } + padding: 2em 0 1em 0; } .wrapper.style1 { background: #fff; } .wrapper.style2 { @@ -2334,3 +2327,5 @@ input[type="button"], #footer { padding: 2em 20px; text-align: left; } } + +/*# sourceMappingURL=main.css.map */ diff --git a/www/assets/sass/main.scss b/www/assets/sass/main.scss index c40c1d7..d4ae879 100644 --- a/www/assets/sass/main.scss +++ b/www/assets/sass/main.scss @@ -759,7 +759,7 @@ /* Wrapper */ .wrapper { - padding: 5em 0 3em 0; + padding: 2em 0 1em 0; &.style1 { background: #fff; diff --git a/www/index.html b/www/index.html index 17763be..09e5af5 100644 --- a/www/index.html +++ b/www/index.html @@ -107,7 +107,7 @@
-
+
@@ -135,7 +135,7 @@
-
+