diff options
author | Martin Wright <martin@mynameismartin.com> | 2014-06-12 11:47:05 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-06-17 12:58:33 +0100 |
commit | c45c1276274bf149a0cc1f8b8b3a100665e0b7ea (patch) | |
tree | 3ff52c1cdde1c6532d8a10c1b4f5d2e1d33dfc03 | |
parent | d94a3af0e8cb92a7c12cae76267a20dca78880d7 (diff) |
make hero section a bit snappier
-rw-r--r-- | assets/css/alaveteli-org.css | 8 | ||||
-rw-r--r-- | assets/sass/alaveteli-org.scss | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/assets/css/alaveteli-org.css b/assets/css/alaveteli-org.css index cea46ec0e..5aa068a6c 100644 --- a/assets/css/alaveteli-org.css +++ b/assets/css/alaveteli-org.css @@ -145,17 +145,15 @@ h3 { .nav-toggle { display: none; } } .hero { - background-color: #974495; - background-size: cover; - background-position: center center; - background-repeat: no-repeat; } + background-color: #974495; } .hero h1 { display: inline-block; font-weight: 600; width: auto; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-bottom: 0.5em; - margin-bottom: 0.25em; } + margin-bottom: 0.25em; + text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.3); } @media (min-width: 56.88889em) { .hero h1 { font-size: 4em; } } diff --git a/assets/sass/alaveteli-org.scss b/assets/sass/alaveteli-org.scss index 97749896e..e53177fcd 100644 --- a/assets/sass/alaveteli-org.scss +++ b/assets/sass/alaveteli-org.scss @@ -155,9 +155,6 @@ h3 { @extend %dark-section; @extend %full-width-section; background-color: darken($colour_brand, 5%); - background-size: cover; - background-position: center center; - background-repeat: no-repeat; h1 { display: inline-block; font-weight: 600; @@ -165,6 +162,7 @@ h3 { border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 0.5em; margin-bottom: 0.25em; + text-shadow: 0px 2px 1px rgba(0,0,0,0.3); @media (min-width: $large-screen) { font-size: 4em; } |