From 7090529aa8b2e8c2866c6092c267635ef9d8b2b7 Mon Sep 17 00:00:00 2001 From: Harris Lapiroff Date: Thu, 12 May 2011 19:39:20 -0400 Subject: [PATCH 1/1] Added a pleasant gradient. --- static/css/screen.css | 5 +++++ static/scss/screen.scss | 3 +++ 2 files changed, 8 insertions(+) diff --git a/static/css/screen.css b/static/css/screen.css index a1fc8a5..1877405 100644 --- a/static/css/screen.css +++ b/static/css/screen.css @@ -74,6 +74,11 @@ html > body { body { background: #e0e5ef; + background: -webkit-gradient(linear, 50% 0%, 50% 250, color-stop(0%, #b4bdcf), color-stop(100%, #e0e5ef)); + background: -webkit-linear-gradient(top, #b4bdcf 0%, #e0e5ef 250px); + background: -moz-linear-gradient(top, #b4bdcf 0%, #e0e5ef 250px); + background: -o-linear-gradient(top, #b4bdcf 0%, #e0e5ef 250px); + background: linear-gradient(top, #b4bdcf 0%, #e0e5ef 250px); color: #333333; text-shadow: 0 1px 0 #FFF; font-family: Helvetica, Arial, serif; } diff --git a/static/scss/screen.scss b/static/scss/screen.scss index ff293f2..d6a043c 100644 --- a/static/scss/screen.scss +++ b/static/scss/screen.scss @@ -18,6 +18,9 @@ body{ background:$page-background; + @include background( + linear-gradient(top, desaturate(darken($page-background, 15%), 10%) 0, $page-background 250px) + ); @include body-text; } -- 2.20.1