From 423445a8a3de312af3c19ee07784d727951918a8 Mon Sep 17 00:00:00 2001 From: Nick Chapman Date: Thu, 30 Jan 2014 08:35:43 -0800 Subject: [PATCH] Fixed background flash on first load and fixed top and bottom padding. --- app/styles/main.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/styles/main.css b/app/styles/main.css index 14b73f549..c57cf7782 100644 --- a/app/styles/main.css +++ b/app/styles/main.css @@ -13,12 +13,14 @@ html { background-image: -o-linear-gradient(-90deg, #fefefe 0%, #f1f1f1 100%); background-image: linear-gradient(-180deg, #fefefe 0%, #f1f1f1 100%); background-repeat: no-repeat; + height: 100%; } body { color: #424F59; font-family: "Clear Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; + padding: 75px 0; } a { @@ -39,7 +41,7 @@ noscript { border-radius: 10px; -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.25);; box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.25); - margin: 60px auto 0; + margin: 0 auto; min-height: 550px; /* padding-bottom = 30px (below icon) + 31px (firefox icon) + 40px (above icon) */ padding: 50px 25px 101px 25px;