diff mbox

[wwwdocs] Move formatting for <h1> to CSS (and add some color)

Message ID alpine.LNX.2.00.1104051553310.6055@gerinyyl
State New
Headers show

Commit Message

Gerald Pfeifer April 5, 2011, 1:58 p.m. UTC
Isn't CSS nice?  So much easier than doing things the classic way,
even when the latter used macros. :-)

Applied, and gcc.gnu.org regenerated.

Gerald
diff mbox

Patch

Index: gcc.css
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc.css,v
retrieving revision 1.9
diff -u -r1.9 gcc.css
--- gcc.css	4 Apr 2011 23:27:39 -0000	1.9
+++ gcc.css	5 Apr 2011 13:53:24 -0000
@@ -9,6 +9,8 @@ 
 a:visited { color: #0000bb; text-decoration: none; }
 a:hover   { color: orange;  text-decoration: none; }
 
+h1        { color: #FF8C00; text-align:center;" }
+
 dl.news dt { font-weight:bold; }
 dl.news dd { margin-left:3ex; }
 
Index: style.mhtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.111
diff -u -r1.111 style.mhtml
--- style.mhtml	4 Apr 2011 23:58:25 -0000	1.111
+++ style.mhtml	5 Apr 2011 13:53:24 -0000
@@ -91,14 +91,6 @@ 
 <verbatim>- GNU Project - Free Software Foundation (FSF)</title></verbatim>
 </define-container>
 
-;;; Redefine the <h1> tag to add our own style.
-
-<define-container h1>
-<verbatim><h1 align="center"></verbatim>
-%body
-<verbatim></h1></verbatim>
-</define-container>
-
 ;;; Redefine the <body> tag introducing our own color scheme and adding an
 ;;; "about" link and a "last modified" at the bottom.