diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-27 21:03:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-27 21:03:48 +0000 |
commit | 562acf8b6ae69d02b58bdbeec8c5261dccc3d52a (patch) | |
tree | 36c9d408d32003888f3d577d814fd3a50aaecb75 | |
parent | c74f65a9681cffed8b43fbf83888d7f1b8f00d5b (diff) | |
download | brdo-562acf8b6ae69d02b58bdbeec8c5261dccc3d52a.tar.gz brdo-562acf8b6ae69d02b58bdbeec8c5261dccc3d52a.tar.bz2 |
- Theme maintenance: moved CSS to separate stylesheet, updated to use relative
font sizes, etc. Thanks Al.
-rw-r--r-- | themes/marvin/marvin.css | 26 | ||||
-rw-r--r-- | themes/marvin/marvin.theme | 17 | ||||
-rw-r--r-- | themes/unconed/unconed.css | 26 | ||||
-rw-r--r-- | themes/unconed/unconed.theme | 10 |
4 files changed, 54 insertions, 25 deletions
diff --git a/themes/marvin/marvin.css b/themes/marvin/marvin.css new file mode 100644 index 000000000..9757f827c --- /dev/null +++ b/themes/marvin/marvin.css @@ -0,0 +1,26 @@ +body { + margin: 10px; + color: #000000; + background-color: #fff; + font-family: verdana, arial, helvetica, sans-serif; + font-size: 82%; +} +h1 { + font-size: 1.2em; +} +h2 { + font-size: 1.1em; +} +h3, h4, h5, h6 { + font-size: 1em; +} +p { + margin: 0 0 1em 0; + padding: 0; +} +img { + border-width: 0; +} +table { + font-size: 1em; +} diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index 7f2e91fd0..5217d5211 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -46,22 +46,7 @@ ?> </title> <style type="text/css"> - <!-- - <?php - if (eregi("Windows", $_SERVER["HTTP_USER_AGENT"])) { - // Windows / MSIE specific settings: - print "BODY { margin: 10px; font-size: 10pt; font-family: Verdana, Helvetica; }"; - print "SMALL { font-size: 9pt; }"; - print "FONT, P, TH, TD, TR, FORM, OL, UL, LI, INPUT, TEXTAREA, SELECT, A { font-size: 10pt; font-family: Verdana, Helvetica; }"; - } - else { - // Linux specific settings: - print "BODY { margin: 10px; font-size: 12pt; font-family: Verdana, Helvetica; }"; - print "SMALL { font-size: 10pt; }"; - print "FONT, P, TH, TD, TR, FORM, OL, UL, LI, INPUT, TEXTAREA, SELECT, A { font-size: 12pt; font-family: Verdana, Helvetica; }"; - } - ?> - --> + @import "themes/marvin/marvin.css"; </style> </head> <body text="#000000" bgcolor="#ffffff" alink="#cccccc" link="#665566" vlink="#665566"<?php print theme_onload_attribute(); ?>> diff --git a/themes/unconed/unconed.css b/themes/unconed/unconed.css new file mode 100644 index 000000000..5bc68fd1d --- /dev/null +++ b/themes/unconed/unconed.css @@ -0,0 +1,26 @@ +body { + margin: 10px; + color: #000000; + background-color: #c8c8d0; + font-family: verdana, arial, helvetica, sans-serif; + font-size: 82%; +} +h1 { + font-size: 1.2em; +} +h2 { + font-size: 1.1em; +} +h3, h4, h5, h6 { + font-size: 1em; +} +p { + margin: 0 0 1em 0; + padding: 0; +} +img { + border-width: 0; +} +table { + font-size: 1em; +} diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index f1dee7e58..5c8f60865 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -54,15 +54,7 @@ <TITLE><?php echo ($title ? ($title . " - ") : "") . variable_get(site_name, "drupal"); ?></TITLE> <BASE HREF="<?php echo "$base_url/"; ?>" /> <STYLE type="text/css"> - <!-- - TABLE { border-width: 0; } - 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; } - HR { height: 1px; color: #000000; } - --> + @import "themes/unconed/unconed.css"; </STYLE> </HEAD> <BODY TEXT="#000000" BGCOLOR="<?php print $this->clc0; ?>" ALINK="#000000" LINK="#404040" VLINK="#404040" MARGINHEIGHT="10" MARGINWIDTH="10"<?php print theme_onload_attribute(); ?>> |