Remove filter on hero image, set up superimposed logo and shop now CTA

This commit is contained in:
Rohan Mitchell
2015-05-11 14:37:28 +10:00
parent 3e82deb1f5
commit 978c176cf6
3 changed files with 19 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -1,5 +1,6 @@
@import branding
@import mixins
@import variables
// Styling for brand intro / tagline on homepage
@@ -8,13 +9,11 @@
height: 300px
@media all and (min-width: 768px)
height: 500px
&:before
&:before
content: ""
@include fullbg
background-color: $ofn-grey
background-image: url("/assets/home/home.jpg")
-webkit-filter: brightness(0.6) contrast(80%)
filter: brightness(0.6) contrast(80%)
position: fixed
left: 0
right: 0
@@ -24,8 +23,18 @@
height: 100%
h1
margin-top: 6rem
@media all and (min-width: 768px)
margin-top: 12rem
margin-top: 5.5rem
img
max-width: 80%
margin-bottom: 3rem
a.button
font-weight: bold
text-transform: uppercase
background: rgba(0, 0, 0, 0.3)
border: 3px solid #fff
text-shadow: none
&:hover
background: rgba(0, 0, 0, 0.6)
color: #fff

View File

@@ -6,9 +6,12 @@
.small-12.text-center.columns
%h1
/ TODO: Rohan - logo asset & width is content manageable:
%img{src: "/assets/logo-color.png", srcset: "/assets/logo-color.svg", width: "350", height: "121", title: "Open Food Network Australia"}
-# TODO: SVGify
%img{src: "/assets/logo-white-notext.png", width: "250", title: "Open Food Network Australia"}
%br/
%a.button.primary{href: "/shops"}
Shop now
.ng-cloak
#panes
= render partial: "home/cta1"