[Rubygems-developers] alt. stylesheet for docs.rubygemns.org

Hugh Sasse hgs at dmu.ac.uk
Wed Jun 22 09:48:49 EDT 2005


I was looking at 
http://docs.rubygems.org/read/book/1

earlier, and finding the brightness uncomfortable.  I wondering if
it would be OK to have a dark stylesheet, something like the
attached patch against base.css, which I've called dark.css.  It
probably needs more work, I'd like the reds in the navigation bar to
stand out better, but it helps me already.

         Hugh
-------------- next part --------------
--- base.css	2005-06-22 14:41:43.784464000 +0100
+++ dark.css	2005-06-22 14:33:43.278715000 +0100
@@ -23,9 +23,9 @@
 }
 
 body {	
-	color:						#333333;
+	background-color:	#333333;
 
-	background-color:           #FFFFFF;
+	color:                  #FFFFFF;
 	background-image:			url(../images/header_backdrop.png);
 	background-repeat:			repeat-x;
 	background-position:		0 -25px;
@@ -68,16 +68,16 @@
 }
 
 a:link {
-	color:						#BB2233;
+	color:						#FF4466;
 }
 
 a:visited {
-	color:						#991122;
+	color:						#AA1122;
 }
 
 a:hover {
 	color:						#CC2233;
-	background-color:			#EEEEEE;
+	background-color:			#CCCCCC;
 }
 
 a:active {
@@ -139,7 +139,7 @@
 	padding:					0;
 	font-weight:      bold;
 	font-size:        14pt;
-	color:            #999;
+	color:            #AAA;
 }
 /*
 div#logo {
@@ -264,7 +264,7 @@
 ul#navMain li a {		
 	padding:					0.2em 1em;	
 	
-	color:						#FFFFFF;
+	color:						#CCCCCC;
 	text-decoration:			none;
 }
 


More information about the Rubygems-developers mailing list