mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Tweaks to homepage styling
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
.home-alert
|
||||
.alert-box
|
||||
border: 1px solid rgba($dark-grey, 0.35)
|
||||
background-color: $ofn-grey
|
||||
border: 1px solid rgba($dark-grey, 0.85)
|
||||
background-color: white
|
||||
background-image: url("/assets/tile-wide.png")
|
||||
background-position: center center
|
||||
padding: 12px 0 8px 0
|
||||
@@ -13,8 +13,8 @@
|
||||
a.alert-cta
|
||||
&, & *
|
||||
@include csstrans
|
||||
color: #333
|
||||
color: rgba($dark-grey, 0.75)
|
||||
&:hover, &:active, &:focus
|
||||
&, & *
|
||||
text-decoration: none
|
||||
color: white
|
||||
color: rgba($dark-grey, 1.0)
|
||||
@@ -4,11 +4,7 @@
|
||||
// Styling for brand intro / tagline on homepage
|
||||
|
||||
#tagline
|
||||
// TODO: Rohan, review box shadow for page load on staging server, remove if not performant
|
||||
width: 100%
|
||||
-webkit-box-shadow: inset 0 0 150px 0 rgba(0,0,0,0.75)
|
||||
-moz-box-shadow: inset 0 0 150px 0 rgba(0,0,0,0.75)
|
||||
box-shadow: inset 0 0 150px 0 rgba(0,0,0,0.75)
|
||||
height: 300px
|
||||
@media all and (min-width: 768px)
|
||||
height: 500px
|
||||
|
||||
Reference in New Issue
Block a user