Add a default CSS stylesheet, and add support for individual HTML
files to override this with a custom CSS stylesheet.
This commit is contained in:
parent
5be63bc427
commit
2fa27232b2
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=12493
3 changed files with 41 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $FreeBSD: www/en/Makefile,v 1.78 2002/02/11 17:12:06 sobomax Exp $
|
# $FreeBSD: www/en/Makefile,v 1.79 2002/03/04 06:59:21 murray Exp $
|
||||||
.if exists(Makefile.conf)
|
.if exists(Makefile.conf)
|
||||||
.include "Makefile.conf"
|
.include "Makefile.conf"
|
||||||
.endif
|
.endif
|
||||||
|
@ -27,6 +27,7 @@ DOCS+= y2kbug.sgml
|
||||||
|
|
||||||
DATA= favicon.ico
|
DATA= favicon.ico
|
||||||
DATA+= robots.txt
|
DATA+= robots.txt
|
||||||
|
DATA+= freebsd.css
|
||||||
|
|
||||||
# Subdirectories
|
# Subdirectories
|
||||||
# SGML
|
# SGML
|
||||||
|
|
35
en/freebsd.css
Normal file
35
en/freebsd.css
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 The FreeBSD Documentation Project
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* $FreeBSD$
|
||||||
|
*/
|
||||||
|
|
||||||
|
DIV.EXAMPLE P B {
|
||||||
|
color: #990000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.FILENAME {
|
||||||
|
color: #007a00;
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
<!-- $FreeBSD: www/en/includes.sgml,v 1.47 2002/01/09 18:15:15 phantom Exp $ -->
|
<!-- $FreeBSD: www/en/includes.sgml,v 1.48 2002/01/30 03:53:09 murray Exp $ -->
|
||||||
<!--
|
<!--
|
||||||
Base is the absolute URL for the given page, minus the actual page
|
Base is the absolute URL for the given page, minus the actual page
|
||||||
part. It should either be specified as a fully qualified URL, or
|
part. It should either be specified as a fully qualified URL, or
|
||||||
|
@ -29,12 +29,14 @@
|
||||||
<!ENTITY date ''>
|
<!ENTITY date ''>
|
||||||
<!ENTITY home '<a href="&base;/index.html"><img src="&base;/gifs/home.gif"
|
<!ENTITY home '<a href="&base;/index.html"><img src="&base;/gifs/home.gif"
|
||||||
alt="FreeBSD Home Page" border="0" align="right" width="101" height="33"></a>'>
|
alt="FreeBSD Home Page" border="0" align="right" width="101" height="33"></a>'>
|
||||||
|
<!ENTITY stylesheet './freebsd.css'>
|
||||||
|
|
||||||
<!-- Standard headers and footers -->
|
<!-- Standard headers and footers -->
|
||||||
|
|
||||||
<!ENTITY header '<head><title>&title;</title>
|
<!ENTITY header '<head><title>&title;</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<meta name="MSSmartTagsPreventParsing" content="TRUE"></head><body
|
<meta name="MSSmartTagsPreventParsing" content="TRUE">
|
||||||
|
<link rel="stylesheet" type="text/css" href="&stylesheet;"></head><body
|
||||||
text="#000000" bgcolor="#FFFFFF" alink="#FFCC33"><img
|
text="#000000" bgcolor="#FFFFFF" alink="#FFCC33"><img
|
||||||
src="&base;/gifs/bar.gif" alt="Navigation Bar" width="565" height="33" border="0" usemap="#bar">
|
src="&base;/gifs/bar.gif" alt="Navigation Bar" width="565" height="33" border="0" usemap="#bar">
|
||||||
<h1 align="left"><font color="#660000">&title;</font></h1><br clear="all">
|
<h1 align="left"><font color="#660000">&title;</font></h1><br clear="all">
|
||||||
|
|
Loading…
Reference in a new issue