mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-10 07:11:43 +00:00
Set the web site back to holiday mode, and make it automatically set up the
christmas tree on 1 Dec and take it down on 1 Jan. :)
This commit is contained in:
parent
7f0548eebf
commit
b7a955cbb3
4 changed files with 54 additions and 15 deletions
|
@ -5,6 +5,9 @@
|
|||
define ('black', "black");
|
||||
define ('white', "white");
|
||||
|
||||
if (!$theme && date ('m') == 12)
|
||||
$theme = "christmas";
|
||||
|
||||
switch ($theme) {
|
||||
case "christmas":
|
||||
define ('bgColor', black);
|
||||
|
@ -13,9 +16,9 @@
|
|||
define ('activeLinkColor', white);
|
||||
define ('visitedLinkColor', '#80ff80');
|
||||
|
||||
define ('tableHeadColor', '#900020');
|
||||
define ('tableBgColor', 'black');
|
||||
define ('menuHeadColor', '#900020');
|
||||
define ('tableHeadColor', '#7f000c');
|
||||
define ('tableBgColor', black);
|
||||
define ('menuHeadColor', '#7f000c');
|
||||
define ('menuBgColor', '#084508');
|
||||
define ('featureHeadColor', tableHeadColor);
|
||||
define ('featureBgColor', '#083008');
|
||||
|
@ -28,11 +31,11 @@
|
|||
define ('visitedLinkColor', '#8080ff');
|
||||
|
||||
define ('tableHeadColor', '#737b9c');
|
||||
define ('tableBgColor', 'black');
|
||||
define ('tableBgColor', black);
|
||||
define ('menuHeadColor', '#737b9c');
|
||||
define ('menuBgColor', '#4b4f66');
|
||||
define ('featureHeadColor', tableHeadColor);
|
||||
define ('featureBgColor', '#252733');
|
||||
define ('featureBgColor', '#262633');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<? // Preamble
|
||||
$siteName = "The QuakeForge Project";
|
||||
$theme = "quakeforge";
|
||||
define ('siteHome', "/project/website/htdocs");
|
||||
|
||||
require siteHome . "/parts/library.php"; // Load function library
|
||||
|
|
|
@ -1,17 +1,54 @@
|
|||
BODY {
|
||||
background: black;
|
||||
background-image: none;
|
||||
color: white;
|
||||
}
|
||||
|
||||
OL,UL,P,BODY,TD,TR,TH,FORM,SPAN {
|
||||
OL,UL,BODY,TD,TR,TH,FORM,SPAN {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: white;
|
||||
}
|
||||
|
||||
TD.featureBox {
|
||||
font-size: small;
|
||||
background: rgb(0,40,0);
|
||||
P {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: white;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
SPAN.smallText {
|
||||
font-size: x-small;
|
||||
}
|
||||
|
||||
P.centered {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
TABLE.featureBox {
|
||||
background: #7f000c;
|
||||
border: solid #7f000c 1px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
TABLE.featureBox TH {
|
||||
border: none;
|
||||
margin: none;
|
||||
padding: none;
|
||||
}
|
||||
|
||||
TABLE.featureBox TD {
|
||||
background: #083008;
|
||||
border: solid #7f000c 1px;
|
||||
margin: 0px;
|
||||
padding: 3pt;
|
||||
}
|
||||
|
||||
TABLE.featureBox TD.inside {
|
||||
background: #083008;
|
||||
border: none;
|
||||
margin: 1pt;
|
||||
padding: 1pt;
|
||||
}
|
||||
|
||||
H1,H2,H3,H4,H5,H6 { font-family: Arial, Helvetica, sans-serif; }
|
||||
|
|
|
@ -33,21 +33,21 @@ TABLE.featureBox {
|
|||
|
||||
TABLE.featureBox TH {
|
||||
border: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
margin: none;
|
||||
padding: none;
|
||||
}
|
||||
|
||||
TABLE.featureBox TD {
|
||||
background: #262633;
|
||||
border: solid #737b9c 1px;
|
||||
margin: 0px;
|
||||
padding: 6pt;
|
||||
padding: 3pt;
|
||||
}
|
||||
|
||||
TABLE.featureBox TD.inside {
|
||||
background: #262633;
|
||||
border: none;
|
||||
margin: 1px;
|
||||
margin: 1pt;
|
||||
padding: 1pt;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue