[PATCH] Fix slide images for older browsers

Ian Weller ian at ianweller.org
Fri Oct 29 13:54:43 UTC 2010


Looks like the reason that slides 2 and 3 aren't working is because of
the gradients that were added in the 27th (according to git blame) but
weren't tested well enough.

This patch definitely fixes older browsers, but I don't know if the
gradient still happens on gecko/webkit, so please test if you're
actually running an up-to-date version of Fedora (I'm not).

I can push this if I get a few people saying that the gradient still
works in new stuff. The alternative is to revert that commit (c7f030a1).

-- 
Ian Weller <ian at ianweller.org>
Where open source multiplies: http://opensource.com
-------------- next part --------------
From aee4d3b7e73e9b8f96c44a1f9867675c6862ed87 Mon Sep 17 00:00:00 2001
From: Ian Weller <ian at ianweller.org>
Date: Fri, 29 Oct 2010 08:49:31 -0500
Subject: [PATCH] Fix slide images for older browsers

---
 fedoraproject.org/static/css/fedora960.css |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fedoraproject.org/static/css/fedora960.css b/fedoraproject.org/static/css/fedora960.css
index 081d1d8..807ac74 100644
--- a/fedoraproject.org/static/css/fedora960.css
+++ b/fedoraproject.org/static/css/fedora960.css
@@ -1494,6 +1494,7 @@ li.slide { width: 100% !important; }
 
 .slides #printing-easy {
   background: #555;
+  background-image: url(../images/banners/printing-made-easy.png);
   background-image: url(../images/banners/printing-made-easy.png), -moz-radial-gradient(30% 30% 45deg, circle farthest-side, #6E6E6E, #3B3B3B);
   background-image: url(../images/banners/printing-made-easy.png), -webkit-gradient(radial, 30% 30%, 0, 30% 30%, 900, from(#6E6E6E), to(#3B3B3B));
   background-position: top center;
@@ -1509,6 +1510,7 @@ li.slide { width: 100% !important; }
 
 .slides #design {
   background: #555;
+  background-image: url(../images/banners/tablet-banner.png);
   background-image: url(../images/banners/tablet-banner.png), -moz-radial-gradient(30% 30% 45deg, circle farthest-side, #6E6E6E, #3B3B3B);
   background-image: url(../images/banners/tablet-banner.png), -webkit-gradient(radial, 30% 30%, 0, 30% 30%, 900, from(#6E6E6E), to(#3B3B3B));
   background-position: top center;
-- 
1.7.1.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/websites/attachments/20101029/da840c2a/attachment.sig>


More information about the websites mailing list