From: Laury GvR Date: Tue, 8 Dec 2015 20:32:48 +0000 (-0500) Subject: Reducing slideshow gradient. X-Git-Tag: v1.0.0^2~96 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=fb6fe639471ab759dde78978db76f718dd63d030;p=WP-Themes%2Fstaffords.git Reducing slideshow gradient. --- diff --git a/css/app.css b/css/app.css index aa245b3..2102a23 100644 --- a/css/app.css +++ b/css/app.css @@ -6202,9 +6202,9 @@ img.alignleft, img.alignright, img.aligncenter, img.alignnone, div.wp-caption im max-width: 100%; text-align: center; } #searchform div input.blogbutton { - background: -webkit-linear-gradient(top, #6c4f53 5%, #6c4f53 100%); - background: -moz-linear-gradient(center top, #6c4f53 5%, #6c4f53 100%); - background: -ms-linear-gradient(top, #6c4f53 5%, #6c4f53 100%); } + background: -webkit-linear-gradient(top, #6c4f53 50%, #6c4f53 100%); + background: -moz-linear-gradient(center top, #6c4f53 50%, #6c4f53 100%); + background: -ms-linear-gradient(top, #6c4f53 50%, #6c4f53 100%); } #blog-side-info { border-left: 1px solid grey; @@ -7149,9 +7149,9 @@ main a { left: 0px; right: 0px; top: 40%; - background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 5%, #FFFFFF 100%); - background: -moz-linear-gradient(center top, rgba(255, 255, 255, 0) 5%, #FFFFFF 100%); - background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 5%, #FFFFFF 100%); + background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 50%, #FFFFFF 100%); + background: -moz-linear-gradient(center top, rgba(255, 255, 255, 0) 50%, #FFFFFF 100%); + background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 50%, #FFFFFF 100%); background-repeat: repeat-x; z-index: 0; } @media only screen and (max-width: 40em) { diff --git a/scss/mixins/_gradient.scss b/scss/mixins/_gradient.scss index 304dd7b..aee39f8 100644 --- a/scss/mixins/_gradient.scss +++ b/scss/mixins/_gradient.scss @@ -4,7 +4,7 @@ */ @mixin gradient($from, $to) { - background: -webkit-linear-gradient(top, $from 5%, $to 100%); - background: -moz-linear-gradient(center top, $from 5%, $to 100%); - background: -ms-linear-gradient(top, $from 5%, $to 100%); + background: -webkit-linear-gradient(top, $from 50%, $to 100%); + background: -moz-linear-gradient(center top, $from 50%, $to 100%); + background: -ms-linear-gradient(top, $from 50%, $to 100%); }