mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove filter on hero image, set up superimposed logo and shop now CTA
This commit is contained in:
BIN
app/assets/images/logo-white-notext.png
Normal file
BIN
app/assets/images/logo-white-notext.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user