The CSS:
Code:
body{
margin-left: 5;
margin-right: 5;
margin-top: 5;
margin-bottom: 5;
background-color: #a4595c;
font-family: arial, "arial";
font-color: #d17c80;
}
font{
font-size: medium;
color: #d17c80;
style: normal;
variant: normal;
weight: normal;
}
font.form{
font-size: medium;
color: #d17c80;
style: normal;
variant: normal;
weight: normal;
}
h1{
size: x-large;
color: #fffff0;
font-color: #fffff0;
weight: bold;
background-color: #d17c80;
}
h2{
size: large;
color: #a4595c;
weight: bold;
background-color: #d17c80;
}
h3{
size: medium;
color: #a4595c;
weight: bold;
background-color: #d17c80;
}
hr{
width: 100%;
color: #fffff0;
}
p{
text-align: justify;
color: #d17c80;
font-size: medium;
}
a:link{
color: #fffff0;
font-size: small;
font-weight: bold;
text-decoration: underline;
}
a:visited{
color: #fffff0;
font-size: small;
font-weight: bold;
text-decoration: underline;
}
a:active{
color: #fffff0;
font-size: small;
font-weight: bold;
text-decoration: underline;
}
a:hover{
color: #aa0000;
background-color: #fffff0;
font-size: small;
font-weight: bold;
text-decoration: none;
}
a.menu:link{
color: #ee0000;
font-size: medium;
font-weight: bold;
text-decoration: underline;
}
a.menu:visited{
color: #ee0000;
font-size: medium;
font-weight: bold;
text-decoration: underline;
}
a.menu:active{
color: #ee0000;
font-size: medium;
font-weight: bold;
text-decoration: underline;
}
a.menu:hover{
color: #fffff0;
background-color: #ee0000;
font-size: medium;
font-weight: bold;
text-decoration: none;
}
table{
border-width: 1;
border-style: solid;
border-color: #fffff0;
spacing: 0;
padding: 0;
background-color: #aa0000;
}
tr{
vertical-align: top;
}
td{
vertical-align: top;
}
table.form{
border: 0;
spacing: 0;
padding: 0;
background-color: #aa0000;
}
tr.form{
vertical-align: top;
}
td.form{
vertical-align: top;
}
table.menu{
border-width: 1;
border-style: solid;
border-color: #fffff0;
spacing: 0;
padding: 0;
background-color: #aa0000;
}
tr.menu{
vertical-align: top;
}
td.menu{
vertical-align: top;
}
th{
color: #ee0000;
background-color: #aa0000;
}
.buttons{
color: #aa0000;
font-weight: bold;
background-color: #fffff0;
}
input:focus, textarea:focus{
background-color: #fffff0;
}
The file using it:
Code:
<?php
include("files/configuration.php");
include("files/top.php");
if($online == 1) // This variable set to 0 makes the site offline, 1 makes it online.
{
include("files/menu.php");
include("files/login.php");
}
else
{
echo '<center><h1>Coming soon!</h1></center>';
}
include("files/bottom.php");
?>