From 40a9356b9f248d3718be0bf6f1a6388823754f96 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 20 Jun 2013 19:12:18 -0700 Subject: [PATCH] website: header padding --- website/source/stylesheets/_components.scss | 22 ++------------------- website/source/stylesheets/_helpers.scss | 2 +- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/website/source/stylesheets/_components.scss b/website/source/stylesheets/_components.scss index f691118c5..d65b69224 100644 --- a/website/source/stylesheets/_components.scss +++ b/website/source/stylesheets/_components.scss @@ -1,32 +1,14 @@ .hero { height: $hero-height; - background: #000000 url(/images/hero_image.jpg) no-repeat 30px -5px; + background: #000000 url(/images/hero_image.jpg) no-repeat 35px -50px; background-size: 960px 467px; - @include respond-to(mobile) { - margin-right: -20px; - margin-left: -20px; - background-size: cover; - } h2 { - margin-top: $baseline * 5.5; - @include respond-to(mobile) { - background-position: center bottom; - margin-top: $baseline * 4; - margin-left: 20px; - width: 80%; - font-size: 28px; - line-height: (35/30); - } + margin-top: 60px; } } .belt { - @include respond-to(mobile) { - margin-right: -20px; - margin-left: -20px; - } - &.download { background-color: $white; @extend .padded-sm; diff --git a/website/source/stylesheets/_helpers.scss b/website/source/stylesheets/_helpers.scss index 51bb86480..f68c27a38 100644 --- a/website/source/stylesheets/_helpers.scss +++ b/website/source/stylesheets/_helpers.scss @@ -33,7 +33,7 @@ $button-height: 60px; // components $nav-height: 100px; -$hero-height: 500px; +$hero-height: 440px; $docs-top-margin: 60px; $sidebar-background-color: $dark-background; $sidebar-width: 250px;