summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-05-26 20:05:35 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-05-26 20:05:35 +0000
commitc8204568955010b2b3c2d4386f97808d5f43f64b (patch)
tree64a7c359b4debe890e618d26ffbc8aa95c0852c4 /www
parentdef3516de2e23e150903d8123aa0767ad9d6de15 (diff)
downloadrockbox-c8204568955010b2b3c2d4386f97808d5f43f64b.tar.gz
rockbox-c8204568955010b2b3c2d4386f97808d5f43f64b.zip
First version of ironi's new web style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@711 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'www')
-rw-r--r--www/foot.t1
-rw-r--r--www/head.t45
-rw-r--r--www/main.t21
-rw-r--r--www/style.css51
4 files changed, 92 insertions, 26 deletions
diff --git a/www/foot.t b/www/foot.t
index 459aa2d339..101f9a29c4 100644
--- a/www/foot.t
+++ b/www/foot.t
@@ -1,4 +1,5 @@
<hr size=1 align="left" width="10%">
<small><i>Page was last modified __DATE__</i> <a href=mailto:bjorn@haxx.se>Björn Stenberg</a></small>
+</td></tr></table>
</body>
</html>
diff --git a/www/head.t b/www/head.t
index a0fab05043..9a0e1a23f8 100644
--- a/www/head.t
+++ b/www/head.t
@@ -1,9 +1,11 @@
-#define BGCOLOR "#99ccff"
+#define BGCOLOR "#b6c6e5"
+#define MENUBG "#6887bb"
#define TITLE(_x) <h1>_x</h1>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
+<link rel="STYLESHEET" type="text/css" href="/rockbox/style.css">
#ifdef _PAGE_
<title>Rockbox - _PAGE_</title>
#else
@@ -14,12 +16,43 @@
<meta name="keywords" content="bjorn,stenberg,computer,programming,mtb,stockholm,software,sms,byta,bostad">
#endif
</head>
-<body bgcolor=BGCOLOR text="black" link="blue" vlink="purple" alink="red">
+<body bgcolor=BGCOLOR text="black" link="blue" vlink="purple" alink="red"
+ topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
+
+<table border=0 cellpadding=7 cellspacing=0 height="100%">
+<tr valign="top">
+<td bgcolor=MENUBG valign="top">
+<br>
+&nbsp;<img src="/rockbox/rockbox100.png" width=99 height=30>&nbsp;<br>
+
+<p align="right">
+<a class="menulink" href="/rockbox/">Main page</a><br>
+<a class="menulink" href="/rockbox/docs/FAQ">FAQ</a><br>
+<a class="menulink" href="/rockbox/notes.html">research notes</a><br>
+<a class="menulink" href="/rockbox/docs/">data sheets</a><br>
+<a class="menulink" href="/rockbox/schematics/">schematics</a><br>
+<a class="menulink" href="/rockbox/mods/">hardware mods</a><br>
+<a class="menulink" href="http://bjorn.haxx.se/rockbox/mail.cgi">mail list archive</a><br>
+<a class="menulink" href="/rockbox/irc/">IRC</a><br>
+<a class="menulink" href="/rockbox/tools.html">tools</a><br>
+<a class="menulink" href="/rockbox/internals/">photos</a><br>
+<a class="menulink" href="/cvs.html">CVS</a><br>
+<a class="menulink" href="http://sourceforge.net/projects/rockbox/">sourceforge</a><br>
+<a class="menulink" href="/isd200/">linux driver</a>
+
+<div align="right">
+<form action="http://www.google.com/search">
+<input name=as_q size=12><br>
+<input value="Search" type=submit>
+<input type=hidden name=as_oq value=rockbox>
+<input type=hidden name=as_sitesearch value="bjorn.haxx.se">
+</form></div>
+
+</td>
+<td>
+
#ifdef _LOGO_
-_LOGO_
+<div align="center">_LOGO_</div>
#else
-<a href="/rockbox/"><img align="right" src="/rockbox/rockbox100.png" width=99 height=30></a>
-
TITLE(_PAGE_)
#endif
-
diff --git a/www/main.t b/www/main.t
index 02c86111ca..cf543efaa5 100644
--- a/www/main.t
+++ b/www/main.t
@@ -1,27 +1,8 @@
#define _LOGO_ <img src="rockbox400.png" align=center width=400 height=123>
#define _PAGE_ Open Source Jukebox Firmware
+#define MAIN_PAGE
#include "head.t"
-<p><small><a href="docs/FAQ">FAQ</a> &middot;
-<a href="notes.html">research notes</a> &middot;
-<a href="docs/">data sheets</a> &middot;
-<a href="schematics/">schematics</a> &middot;
-<a href="mods/">hardware mods</a> &middot;
-<a href="http://bjorn.haxx.se/rockbox/mail.cgi">mail list archive</a> &middot;
-<a href="irc/">IRC</a> &middot;
-<a href="tools.html">tools</a> &middot;
-<a href="internals/">photos</a> &middot;
-<a href="http://sourceforge.net/projects/rockbox/">sourceforge project</a> &middot;
-<a href="cvs.html">CVS</a> &middot;
-<a href="/isd200/">linux driver</a>
-</small>
-
-<form action="http://www.google.com/search">
-<input name=as_q> <input value="Search" type=submit>
-<input type=hidden name=as_oq value=rockbox>
-<input type=hidden name=as_sitesearch value="bjorn.haxx.se">
-</form>
-
<h2>Purpose</h2>
<p>The purpose of this project is to write an Open Source replacement
diff --git a/www/style.css b/www/style.css
new file mode 100644
index 0000000000..df69226bf2
--- /dev/null
+++ b/www/style.css
@@ -0,0 +1,51 @@
+BODY {
+ background-color: #b6c6e5;
+ color: black;
+ margin: 0px;
+}
+
+H1 {
+ text-decoration: none;
+ font-family: Verdana,Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size: 20pt;
+}
+
+H2 {
+ text-decoration: none;
+ font-family: Verdana,Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size: 12pt;
+}
+
+H3 {
+ text-decoration: none;
+ font-family: Verdana,Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size: 10pt;
+}
+
+BODY, P, DIV, TD, TH, TR, FORM, OL, UL, LI, INPUT, TEXTAREA, SELECT, A
+{
+ text-decoration: none;
+ font-family: Verdana,Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-size: 10pt;
+}
+
+A {
+ text-decoration: underline;
+}
+
+.bgbox {
+ left-border-width: 1px;
+ border-color: black;
+}
+
+.menulink {
+ color: #f0f0f0;
+# text-decoration: none;
+}