Take initial steps towards having the frontpage make proper use of CSS.

No objections:	doc,www
This commit is contained in:
Ceri Davies 2004-12-18 12:35:25 +00:00
parent ddc7a20da1
commit 24e0c497f2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=23262
3 changed files with 66 additions and 31 deletions

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/en/Makefile,v 1.114 2004/09/27 12:00:03 josef Exp $
# $FreeBSD: www/en/Makefile,v 1.115 2004/12/16 23:09:42 ceri Exp $
.if exists(Makefile.conf)
.include "Makefile.conf"
@ -30,6 +30,7 @@ DOCS+= y2kbug.sgml
DATA= favicon.ico
DATA+= freebsd.css
DATA+= index.css
DATA+= robots.txt
DATA+= vendors.html

50
en/index.css Normal file
View file

@ -0,0 +1,50 @@
/*
* $FreeBSD$
* Copyright (c) 2004 Ceri Davies <ceri@FreeBSD.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
*/
html {
color: #000000;
}
body {
background-color: #ffffff;
}
a:active {color: #0000ff;}
a:link {color: #0000ff;}
a:visited {color: #840084;}
h1, h2, h3 {
color: #990000;
}
table.panel {
background-color: #ffcc66;
border: thin solid black;
width: 100%;
}

View file

@ -1,4 +1,4 @@
<!-- $FreeBSD: www/en/index.xsl,v 1.116 2004/11/06 21:59:50 simon Exp $ -->
<!-- $FreeBSD: www/en/index.xsl,v 1.117 2004/11/10 04:55:46 hrs Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
@ -6,7 +6,7 @@
<xsl:import href="news/includes.xsl"/>
<xsl:variable name="base" select="'.'"/>
<xsl:variable name="date" select="'$FreeBSD: www/en/index.xsl,v 1.116 2004/11/06 21:59:50 simon Exp $'"/>
<xsl:variable name="date" select="'$FreeBSD: www/en/index.xsl,v 1.117 2004/11/10 04:55:46 hrs Exp $'"/>
<xsl:variable name="title" select="'The FreeBSD Project'"/>
<!-- these params should be externally bound. The values
@ -31,6 +31,7 @@
Release, Application, Software, Handbook, FAQ, Tutorials, Bugs,
CVS, CVSup, News, Commercial Vendors, homepage, CTM, Unix"/>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="{$base}/index.css" />
<link rel="icon" href="/favicon.ico" type="image/x-icon"/>
<link rel="alternate" type="application/rss+xml"
title="FreeBSD Project News" href="{$base}/news/news.rdf" />
@ -46,8 +47,7 @@
</xsl:comment>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"
alink="#0000FF">
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
@ -102,12 +102,7 @@
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td valign="top">
<table border="0" cellspacing="0" cellpadding="1"
bgcolor="#000000" width="100%">
<tr>
<td>
<table cellpadding="4" cellspacing="0" border="0"
bgcolor="#ffcc66" width="100%">
<table class="panel" cellpadding="4" cellspacing="0">
<tr>
<td>
<xsl:call-template name="html-index-navigation-link-list">
@ -125,9 +120,6 @@
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td></td>
@ -135,7 +127,7 @@
<!-- Main body column -->
<td align="left" valign="top" rowspan="2">
<h2><font color="#990000">What is FreeBSD?</font></h2>
<h2>What is FreeBSD?</h2>
<p>FreeBSD is an advanced operating system for x86
compatible (including Pentium and Athlon), amd64
@ -150,7 +142,7 @@
href="{$base}/platforms/index.html">platforms</a> are
in various stages of development.</p>
<h2><font color="#990000">Cutting edge features</font></h2>
<h2>Cutting edge features</h2>
<p>FreeBSD offers advanced networking, performance, security
and compatibility
@ -158,7 +150,7 @@
today which are still missing in other operating systems,
even some of the best commercial ones.</p>
<h2><font color="#990000">Powerful Internet solutions</font></h2>
<h2>Powerful Internet solutions</h2>
<p>FreeBSD makes an ideal
<a href="{$base}/internet.html">Internet or Intranet</a>
@ -166,8 +158,8 @@
loads and uses memory efficiently to maintain good response
times for thousands of simultaneous user processes.</p>
<h2><font color="#990000">Run a huge number of
applications</font></h2>
<h2>Run a huge number of
applications</h2>
<p>The quality of FreeBSD combined with today's low-cost,
high-speed PC hardware makes FreeBSD a very economical
@ -176,7 +168,7 @@
for a great number of both desktop and server
<a href="{$base}/applications.html">applications</a>.</p>
<h2><font color="#990000">Easy to install</font></h2>
<h2>Easy to install</h2>
<p>FreeBSD can be installed from a variety of media
including CD-ROM, DVD-ROM, floppy disk, magnetic tape,
@ -187,7 +179,7 @@
href="{$base}/doc/en_US.ISO8859-1/books/handbook/install.html">these
directions</a>.</p>
<h2><font color="#990000">FreeBSD is <i>free</i></font></h2>
<h2>FreeBSD is <i>free</i></h2>
<a href="copyright/daemon.html"><img
src="gifs/dae_up3.gif" alt="The BSD Daemon"
@ -202,7 +194,7 @@
<a href="{$base}/doc/en_US.ISO8859-1/books/handbook/mirrors.html">more
information is available</a>.</p>
<h2><font color="#990000">Contributing to FreeBSD</font></h2>
<h2>Contributing to FreeBSD</h2>
<p>It is easy to contribute to FreeBSD. All you need to do
is find a part of FreeBSD which you think could be
@ -238,12 +230,7 @@
<!-- Right-most column -->
<td valign="top">
<!-- News / release info table -->
<table border="0" cellspacing="0" cellpadding="1"
bgcolor="#000000" width="100%">
<tr>
<td>
<table cellpadding="4" cellspacing="0" border="0"
bgcolor="#ffcc66" width="100%">
<table class="panel" cellpadding="4" cellspacing="0">
<tr>
<td valign="top">
<p><a href="{$u.rel.announce}">
@ -344,9 +331,6 @@
</td>
</tr>
</table>
</td>
</tr>
</table>
<p>&#xa0;</p>