This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: revamp web site navigation bar
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 6 Nov 2004 11:42:23 +0100 (CET)
- Subject: PATCH: revamp web site navigation bar
This is the next piece from my long-haul flight. It's the first
step in revamping the navigation bar of our main page.
I tested this by rebuilding all of wwwdocs on gcc.gnu.org and
manually verifying our main page and java/index.html as well as
cvs.html.
Gerald
Index: style.mhtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.68
diff -u -3 -p -r1.68 style.mhtml
--- style.mhtml 6 Aug 2004 07:58:00 -0000 1.68
+++ style.mhtml 6 Nov 2004 10:35:11 -0000
@@ -3,8 +3,14 @@
<set-var XHTML>
<set-var BACKPATH>
-<define-function navigation-titlecolor> bgcolor="#FFEE99" </define-function>
-<define-function navigation-bgcolor> bgcolor="#FFFFDD" </define-function>
+<define-function nav-title-style>
+ style="background-color:#FFEE99; font-size:85%;
+ border: 2px solid #FFBB66; border-bottom: 0px;"
+</define-function>
+<define-function nav-body-style>
+ style="background-color:#FFFFDD; font-size:85%;
+ border: 2px solid #FFEE99; border-top: 0px;"
+</define-function>
;;; The "install/" pages are HTML, not XHTML.
@@ -18,8 +24,8 @@
<group
<set-var navigation>
<set-var BACKPATH="../">
- <define-function navigation-titlecolor> bgcolor="#B0D0FF" </define-function>
- <define-function navigation-bgcolor> bgcolor="#E0F0FF" </define-function>
+ <define-function nav-title-style> bgcolor="#B0D0FF" </define-function>
+ <define-function nav-body-style> bgcolor="#E0F0FF" </define-function>
<define-container h2>
<verbatim>
<h2 style="background-color:#B0D0FF">
@@ -125,10 +131,10 @@
<if <match <get-var env::PREPROCESS_FILE> "java/[^/]*.html">
<group
<tr><td><table cellspacing="0" width="100%">
- <tr <navigation-titlecolor> ><td align="center" valign="middle">
+ <tr <nav-title-style> ><td align="center" valign="middle">
<img src="gcj.jpg" alt="GCJ" width="136" height="98" />
</td></tr>
- <tr <navigation-bgcolor> ><td>
+ <tr><td <nav-body-style> >
<p>
<a href="index.html">GCJ Home</a><br />
<a href="../">GCC Home</a><br />
@@ -163,10 +169,10 @@
>
<tr><td><table cellspacing="0" width="100%">
- <tr <navigation-titlecolor> ><td>
+ <tr><td <nav-title-style> >
<b>About GCC</b>
</td></tr>
- <tr <navigation-bgcolor> ><td>
+ <tr><td <nav-body-style> >
<p>
<a href="<get-var BACKPATH>gccmission.html">Mission Statement</a><br />
<a href="<get-var BACKPATH>lists.html">Mailing lists</a><br />
@@ -178,10 +184,10 @@
</table></td></tr>
<tr><td><table cellspacing="0" width="100%">
- <tr <navigation-titlecolor> ><td>
+ <tr><td <nav-title-style> >
<b>Documentation</b>
</td></tr>
- <tr <navigation-bgcolor> ><td>
+ <tr><td <nav-body-style> >
<p>
<a href="http://gcc.gnu.org/install/">Installation</a><br />
· <a href="http://gcc.gnu.org/install/specific.html">Supported Platforms</a><br />
@@ -194,10 +200,10 @@
</table></td></tr>
<tr><td><table cellspacing="0" width="100%">
- <tr <navigation-titlecolor> ><td>
+ <tr><td <nav-title-style> >
<b>Download</b>
</td></tr>
- <tr <navigation-bgcolor> ><td>
+ <tr><td <nav-body-style> >
<p>
<a href="<get-var BACKPATH>releases.html">Releases</a><br />
<a href="<get-var BACKPATH>snapshots.html">Snapshots</a><br />
@@ -208,10 +214,10 @@
</table></td></tr>
<tr><td><table cellspacing="0" width="100%">
- <tr <navigation-titlecolor> ><td>
+ <tr><td <nav-title-style> >
<b>Development</b>
</td></tr>
- <tr <navigation-bgcolor> ><td>
+ <tr><td <nav-body-style> >
<p>
<a href="<get-var BACKPATH>develop.html">Development Plan</a><br />
· (<a href="<get-var BACKPATH>develop.html#timeline">tentative timeline</a>)<br />
@@ -230,10 +236,10 @@
</table></td></tr>
<tr><td><table cellspacing="0" width="100%">
- <tr <navigation-titlecolor> ><td>
+ <tr><td <nav-title-style> >
<b>Bugs</b>
</td></tr>
- <tr <navigation-bgcolor> ><td>
+ <tr><td <nav-body-style> >
<p>
<a href="<get-var BACKPATH>bugs.html">Report a bug</a><br />
<a href="http://gcc.gnu.org/bugzilla/">Bug database (Bugzilla)</a><br />