232 lines
4.8 KiB
PHP
Raw Normal View History

2002-12-09 16:10:57 +00:00
<?PHP // $Id$
/// We use PHP so we can do value substitutions into the styles
require_once("../../config.php");
if (isset($themename)) {
$CFG->theme = $themename;
}
$themeurl = "$CFG->wwwroot/theme/$CFG->theme";
/// From here on it's nearly a normal stylesheet.
/// First are some CSS definitions for normal tags,
/// then custom tags follow.
2002-12-09 16:10:57 +00:00
///
/// Note that colours are all defined in config.php
/// in this directory
2002-12-09 16:10:57 +00:00
?>
body {
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
background-image: url(<?PHP echo "$themeurl"?>/texture1.jpg);
}
2002-12-09 16:10:57 +00:00
td, th {
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}
2002-12-09 16:10:57 +00:00
a:link {
text-decoration: none;
color: blue;
}
2002-12-09 16:10:57 +00:00
a:visited {
text-decoration: none;
color: blue;
}
2002-12-09 16:10:57 +00:00
a:hover {
text-decoration: underline;
color: red;
}
2002-12-09 16:10:57 +00:00
th {
font-weight: bold;
background-color: <?PHP echo $THEME->cellheading?>;
}
2002-12-09 16:10:57 +00:00
ul {
margin-bottom: 5px;
margin-top: 0px;
}
form {
margin-bottom: 0;
}
2002-12-09 16:10:57 +00:00
.highlight {
background-color: <?PHP echo $THEME->highlight?>;
}
.headingblock {
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
2002-12-09 16:10:57 +00:00
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.navbar {
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
}
.generalbox {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.generalboxcontent {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
2002-12-09 16:10:57 +00:00
}
.generaltable {
}
.generaltableheader {
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
2002-12-09 16:10:57 +00:00
}
.generaltablecell {
}
.sideblock {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.sideblockheading {
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
2002-12-09 16:10:57 +00:00
}
.sideblockmain {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
2002-12-09 16:10:57 +00:00
}
.sideblocklinks {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
2002-12-09 16:10:57 +00:00
}
.sideblocklatestnews {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
2002-12-09 16:10:57 +00:00
}
.sideblockrecentactivity {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
2002-12-09 16:10:57 +00:00
}
.siteinfo {
2002-12-09 16:10:57 +00:00
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.siteinfocontent {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
}
.outlineheadingblock {
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
2002-12-10 02:48:05 +00:00
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.weeklyoutline {
}
.weeklyoutlineside {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.weeklyoutlinesidehighlight {
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.weeklyoutlinecontent {
border-width: 0px;
border-top: 1px;
border-bottom: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.weeklyoutlinecontenthighlight {
background: #FDFBF1;
border-width: 0px;
border-top: 1px;
border-bottom: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.topicsoutline {
}
.topicsoutlineside {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.topicsoutlinesidehighlight {
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.topicsoutlinecontent {
border-width: 0px;
border-top: 1px;
border-bottom: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.topicsoutlinecontenthighlight {
border-width: 0px;
border-top: 1px;
border-bottom: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.forumpost {
border-width: 1px;
border-color: <?PHP echo $THEME->borders?>;
border-style: solid;
}
.forumpostheader {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
}
.forumpostheadertopic {
background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);
}
.forumpostpicture {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
}
.forumpostside {
background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);
}
.forumpostmessage {
}