Patchwork [wwwdocs] Change color scheme for links

login
register
mail settings
Submitter Gerald Pfeifer
Date April 3, 2011, 9:45 p.m.
Message ID <alpine.LNX.2.00.1104032337030.6055@gerinyyl>
Download mbox | patch
Permalink /patch/89557/
State New
Headers show

Comments

Gerald Pfeifer - April 3, 2011, 9:45 p.m.
This removes the violet coloring for visited links that I had always
not quite enjoyed (but implemented to establish sync with www.gnu.org).

Now that they have thrown out the common style, so can we.

Gerald
Mike Stump - April 5, 2011, 10:26 p.m.
On Apr 3, 2011, at 2:45 PM, Gerald Pfeifer wrote:
> This removes the violet coloring for visited links that I had always
> not quite enjoyed (but implemented to establish sync with www.gnu.org).

So, I don't know which patch did it, but that new orange color on the title on the main page is awful.  Please, pick any other color.

Patch

Index: gcc.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
retrieving revision 1.5
diff -u -r1.5 gcc.css
--- gcc.css	21 Sep 2006 14:17:36 -0000	1.5
+++ gcc.css	3 Apr 2011 21:34:49 -0000
@@ -3,6 +3,10 @@ 
    Gerald Pfeifer <gerald@pfeifer.com>
  */
 
+a:link    { color: #0066dd; text-decoration: none; }
+a:visited { color: #0000bb; text-decoration: none; }
+a:hover   { color: orange;  text-decoration: none; }
+
 dl.news dt { font-weight:bold; }
 dl.news dd { margin-left:3ex; }
 
Index: gnu.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gnu.css,v
retrieving revision 1.5
diff -u -r1.5 gnu.css
--- gnu.css	3 Apr 2011 21:16:14 -0000	1.5
+++ gnu.css	3 Apr 2011 21:34:49 -0000
@@ -23,24 +23,6 @@ 
 	font-family: sans-serif;
 }
 
-a:link { 
- 	color: #1f00ff; 
-	background-color: transparent;
-	text-decoration: underline;
- 	}
-
-a:visited { 
- 	color: #9900dd; 
-	background-color: transparent;
-	text-decoration: underline;
- 	}
-
-a:hover { 
- 	color: #9900dd; 
-	background-color: transparent;
-	text-decoration: none;
- 	}
-
 .center {
 	text-align: center;
 }