summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2001-02-28 00:45:38 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2001-02-28 00:45:38 +0000
commitdf8523661e35eb8e7f975f77609b2d55c98d3918 (patch)
tree8605716910bcdb5166e3a2cf75f1f153e57533eb
parentdaaa729cc79b5983924a2e7b55103208ee8ef7e9 (diff)
downloadbrdo-df8523661e35eb8e7f975f77609b2d55c98d3918.tar.gz
brdo-df8523661e35eb8e7f975f77609b2d55c98d3918.tar.bz2
Updated the stupid fonts issue (the conclusion was to use *EVEN* font sizes and not uneven as Dries recommended... bah! :)
I also added a small icon (like marvin.theme) to spice it up a bit.
-rw-r--r--themes/unconed/unconed.theme24
1 files changed, 11 insertions, 13 deletions
diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme
index 7dd19c09a..38d29ec08 100644
--- a/themes/unconed/unconed.theme
+++ b/themes/unconed/unconed.theme
@@ -1,10 +1,10 @@
-<?
+<?PHP
class Theme {
var $link = "#000000";
var $themename = "unconed";
- var $cl80 = "#8B8E95";
+ var $cl80 = "#8f9399";
var $clc0 = "#c8c8d0";
var $cl00 = "#000000";
@@ -18,13 +18,11 @@
// color set #2:
var $bgcolor2 = "#EEEEEE";
var $fgcolor2 = "#000000";
- var $hlcolor2 = "#000000";
// color set #3:
var $bgcolor3 = "#D7D7D7";
var $fgcolor3 = "#000000";
- var $hlcolor3 = "yellow";
-
+
function header() {
global $site_name;
srand((double)microtime()*1000000);
@@ -38,11 +36,11 @@
<STYLE type="text/css">
<!--
TABLE { border-width: 0; }
- TD { border-width: 0; font-size: 9pt; font-family: verdana,helvetica,arial; }
- P,UL,LI,DIV,FORM,EM,BLOCKQUOTE { font-size: 9pt; font-family: verdana,helvetica,arial; }
- BODY { margin: 10px; font-size: 9pt; font-family: verdana,helvetica,arial; }
- SMALL { font-size: 7pt; }
- BIG { font-size: 11pt; }
+ TD { border-width: 0; font-size: 10pt; font-family: verdana,helvetica,arial; }
+ P,UL,LI,DIV,FORM,EM,BLOCKQUOTE { font-size: 10pt; font-family: verdana,helvetica,arial; }
+ BODY { margin: 10px; font-size: 10pt; font-family: verdana,helvetica,arial; }
+ SMALL { font-size: 8pt; }
+ BIG { font-size: 12pt; }
-->
</STYLE>
<BODY TEXT="#000000" BGCOLOR="<? print $this->clc0; ?>" ALINK="#000000" LINK="#404040" VLINK="#404040" MARGINHEIGHT="10" MARGINWIDTH="10">
@@ -79,16 +77,16 @@
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" BGCOLOR="<? echo $this->brcolor1; ?>" WIDTH="100%">
<TR><TD>
<TABLE BORDER="0" CELLPADDING="4" CELLSPACING="1" WIDTH="100%">
- <TR><TD BGCOLOR="<? echo $this->bgcolor1; ?>" COLSPAN="2"><FONT COLOR="<? echo $this->fgcolor1; ?>"><B><? echo "". check_output($story->subject, 1) .""; ?></B></FONT></TD></TR>
+ <TR><TD COLSPAN="2" BGCOLOR="<? echo $this->bgcolor1; ?>" WIDTH="100%"><table width="100%" cellpadding="0" cellspacing="0"><tr><td width="100%"><FONT COLOR="<? echo $this->fgcolor1; ?>"><B><? echo "". check_output($story->subject, 1) .""; ?></B></FONT></td><td valign="middle" align="center"><IMG SRC="themes/<? print $this->themename; ?>/images/icon.gif" valign="middle"></td></tr></table></TD></TR>
<TR BGCOLOR="<? echo $this->bgcolor2; ?>">
<?
- if ($story->section) { print "<TD BGCOLOR=\"$this->bgcolor2\">"; }
+ if ($story->section) { print "<TD WIDTH=\"70%\" BGCOLOR=\"$this->bgcolor2\">"; }
else { print "<TD COLSPAN=\"2\" BGCOLOR=\"$this->bgcolor2\">"; }
if ($story->userid) { print "<SMALL>Posted by " . format_username($story->userid) . " on $timestamp"; }
else { print "<SMALL>Posted by $anonymous on $timestamp"; }
if ($story->department) { print " - from the $story->department dept."; }
print "</SMALL>";
- if ($story->section) { print "</TD><TD BGCOLOR=\"$this->bgcolor2\" ALIGN=\"center\"><B><A HREF=\"index.php?section=" . urlencode($story->section) . "\"><FONT COLOR=\"$this->sectioncolor\">$story->section</FONT></A></B>"; }
+ if ($story->section) { print "</TD><TD WIDTH=\"30%\" BGCOLOR=\"$this->bgcolor2\" ALIGN=\"center\"><B><A HREF=\"index.php?section=" . urlencode($story->section) . "\"><FONT COLOR=\"$this->sectioncolor\">$story->section</FONT></A></B>"; }
?>
</TD>
</TR>