From 6e068b8c30910d3dd746c779bd692ad3074590af Mon Sep 17 00:00:00 2001 From: Jason Costello Date: Thu, 23 Feb 2017 17:28:54 -0800 Subject: [PATCH] H1 tweak, unitless line-heights --- website/source/assets/stylesheets/_global.scss | 7 ++++--- website/source/assets/stylesheets/_home.scss | 18 +++++++++++++++++- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/website/source/assets/stylesheets/_global.scss b/website/source/assets/stylesheets/_global.scss index 0ee3b138c..0cb5abbf7 100644 --- a/website/source/assets/stylesheets/_global.scss +++ b/website/source/assets/stylesheets/_global.scss @@ -14,13 +14,14 @@ body { } h1 { - font-size: 42px; - line-height: 42px; + font-size: 48px; + line-height: 1; margin-bottom: 24px; } h2 { font-size: 36px; + line-height: 1.2; margin-top: 70px; } @@ -30,7 +31,7 @@ h1 + h2 { h3 { font-size: 24px; - line-height: 28px; + line-height: 1.2; } p, a { diff --git a/website/source/assets/stylesheets/_home.scss b/website/source/assets/stylesheets/_home.scss index 7221377a3..09aecc1d4 100644 --- a/website/source/assets/stylesheets/_home.scss +++ b/website/source/assets/stylesheets/_home.scss @@ -27,7 +27,6 @@ h1 { color: $purple-text; - // font-size: 55px; line-height: 1; margin-top: 350px; } @@ -126,3 +125,20 @@ } } } + +@media (max-width: 480px) { + .page-home { + .hero { + background: $gray-background image-url("vagrant_header_background.png") no-repeat center -60px; + background-size: 1292px 532px; + + .hero-content { + hgroup { + h1 { + margin-top: 280px; + } + } + } + } + } +}