[tor-commits] r24811: {website} fix up some of the call to action buttons, add an ie8 and lo (website/trunk/css)

Andrew Lewman andrew at torproject.org
Tue Jun 7 02:29:17 UTC 2011


Author: phobos
Date: 2011-06-07 02:29:16 +0000 (Tue, 07 Jun 2011)
New Revision: 24811

Added:
   website/trunk/css/ie8-and-down.css
Modified:
   website/trunk/css/layout.css
Log:
fix up some of the call to action buttons, add an ie8 and lower css
file.


Added: website/trunk/css/ie8-and-down.css
===================================================================
--- website/trunk/css/ie8-and-down.css	                        (rev 0)
+++ website/trunk/css/ie8-and-down.css	2011-06-07 02:29:16 UTC (rev 24811)
@@ -0,0 +1,12 @@
+ at charset "UTF-8";
+/* IE8 and down */
+
+
+#calltoaction ul li:first-child a:link,
+#calltoaction ul li:first-child a:visited {
+   background: url(../images/cta-buttons.jpg) top center no-repeat;
+	}
+	
+#calltoaction ul li:hover:first-child a {
+   background: url(../images/cta-buttons.jpg) bottom center no-repeat #ff9800;
+	}


Property changes on: website/trunk/css/ie8-and-down.css
___________________________________________________________________
Added: svn:mime-type
   + text/css

Modified: website/trunk/css/layout.css
===================================================================
--- website/trunk/css/layout.css	2011-06-06 03:47:46 UTC (rev 24810)
+++ website/trunk/css/layout.css	2011-06-07 02:29:16 UTC (rev 24811)
@@ -93,7 +93,7 @@
       
       #calltoaction ul li a:link,
       #calltoaction ul li a:visited {
-        background: url(../images/cta-buttons.jpg) top center no-repeat;
+        background: url(../images/cta-buttons.jpg) top center no-repeat #885ca4;
         padding: 8px 8px 0px;
         color: #FFFFFF;
         font-weight: bold;
@@ -108,8 +108,8 @@
 
       #calltoaction ul li:first-child a:link,
       #calltoaction ul li:first-child a:visited {
-        background: url(../images/cta-buttons.jpg) top left no-repeat;
-        -webkit-border-top-left-radius: 7px;
+        background: url(../images/cta-buttons.jpg) top left no-repeat #885ca4;
+		  -webkit-border-top-left-radius: 7px;
 		  -webkit-border-bottom-left-radius: 7px;
 		  -moz-border-radius-topleft: 7px;
 		  -moz-border-radius-bottomleft: 7px;
@@ -121,7 +121,7 @@
 
       #calltoaction ul li:last-child a:link,
       #calltoaction ul li:last-child a:visited {
-        background: url(../images/cta-buttons.jpg) top right no-repeat;
+        background: url(../images/cta-buttons.jpg) top right no-repeat #885ca4;
 		  -webkit-border-top-right-radius: 7px;
 		  -webkit-border-bottom-right-radius: 7px;
 		  -moz-border-radius-topright: 7px;



More information about the tor-commits mailing list