From df8523661e35eb8e7f975f77609b2d55c98d3918 Mon Sep 17 00:00:00 2001 From: Steven Wittens <steven@10.no-reply.drupal.org> Date: Wed, 28 Feb 2001 00:45:38 +0000 Subject: [PATCH] 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. --- themes/unconed/unconed.theme | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index 7dd19c09ac0d..38d29ec0808e 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 @@ class Theme { // 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 @@ function header() { <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 @@ function abstract($story) { <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> -- GitLab