diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-20 07:51:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-20 07:51:27 +0000 |
commit | 6ea5c56ded8b1a9c7d7ed78cd035a48b42d6cf19 (patch) | |
tree | d3b2535ef2690b493a31b7832c8508be331d16ef /themes/chameleon | |
parent | 6e14528192f435ad8d78fc076b5732ae5e9acf98 (diff) | |
download | brdo-6ea5c56ded8b1a9c7d7ed78cd035a48b42d6cf19.tar.gz brdo-6ea5c56ded8b1a9c7d7ed78cd035a48b42d6cf19.tar.bz2 |
- Theme system changes. Please consult http://drupal.org/node/view/9576 for details.
Diffstat (limited to 'themes/chameleon')
-rw-r--r-- | themes/chameleon/background.png | bin | 0 -> 200 bytes | |||
-rw-r--r-- | themes/chameleon/chameleon.theme | 306 | ||||
-rw-r--r-- | themes/chameleon/common.css | 271 | ||||
-rw-r--r-- | themes/chameleon/logo.png | bin | 0 -> 1762 bytes | |||
-rw-r--r-- | themes/chameleon/marvin/logo.png | bin | 0 -> 1762 bytes | |||
-rw-r--r-- | themes/chameleon/marvin/screenshot.png | bin | 0 -> 2800 bytes | |||
-rw-r--r-- | themes/chameleon/marvin/style.css (renamed from themes/chameleon/marvin/chameleon.css) | 230 | ||||
-rw-r--r-- | themes/chameleon/pure/background.png | bin | 225 -> 0 bytes | |||
-rw-r--r-- | themes/chameleon/screenshot.png | bin | 0 -> 3450 bytes | |||
-rw-r--r-- | themes/chameleon/style.css (renamed from themes/chameleon/pure/chameleon.css) | 185 |
10 files changed, 512 insertions, 480 deletions
diff --git a/themes/chameleon/background.png b/themes/chameleon/background.png Binary files differnew file mode 100644 index 000000000..194588a3a --- /dev/null +++ b/themes/chameleon/background.png diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index 8af17edf0..955432532 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -1,153 +1,153 @@ -<?php -// $Id$ - -function chameleon_help($section) { - - $output = ''; - - switch ($section) { - case 'admin/themes#description': - $output = t('A fast PHP theme with different stylesheets.'); - break; - } - - return $output; -} - -function chameleon_settings() { - - /* - ** Compile a list of the available style sheets: - */ - - $fd = opendir('themes/chameleon'); - while ($file = readdir($fd)) { - if (is_dir("themes/chameleon/$file") && !in_array($file, array('.', '..', 'CVS'))) { - $files["themes/chameleon/$file/chameleon.css"] = "themes/chameleon/$file/chameleon.css"; - } - } - closedir($fd); - - $output = form_select(t('CSS stylesheet'), 'chameleon_stylesheet', variable_get('chameleon_stylesheet', 'themes/chameleon/pure/chameleon.css'), $files, t('Selecting a different stylesheet will change the look and feel of your site.')); - - return $output; -} - -function chameleon_page($content, $title = NULL, $breadcrumb = NULL) { - if (isset($title)) { - drupal_set_title($title); - } - - if (isset($breadcrumb)) { - drupal_set_breadcrumb($breadcrumb); - } - - $output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"; - $output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\" xml:lang=\"en\">\n"; - $output .= "<head>\n"; - $output .= " <title>". ($title ? $title ." | ". variable_get("site_name", "drupal") : variable_get("site_name", "drupal") ." | ". variable_get("site_slogan", "")) ."</title>\n"; - $output .= drupal_get_html_head(); - $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\"themes/chameleon/common.css\" />\n"; - $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\"". variable_get("chameleon_stylesheet", "themes/chameleon/pure/chameleon.css") ."\" />\n"; - $output .= "</head>"; - $output .= "<body". theme_onload_attribute() .">\n"; - $output .= " <div id=\"header\">"; - $output .= " <h1 class=\"title\">". l(variable_get("site_name", "drupal"), ""). "</h1>"; - $output .= " </div>\n"; - - $output .= " <table>\n"; - $output .= " <tr>\n"; - - if ($blocks = theme_blocks("left")) { - $output .= " <td id=\"sidebar-left\">$blocks</td>\n"; - } - - $output .= " <td id=\"main\">\n"; - - if ($title = drupal_get_title()) { - $output .= theme("breadcrumb", drupal_get_breadcrumb()); - $output .= "<h2>$title</h2>"; - } - - if ($tabs = theme('menu_local_tasks')) { - $output .= $tabs; - } - - if ($help = menu_get_active_help()) { - $output .= "<div id=\"help\">$help</div><hr />"; - } - - $output .= theme_status_messages(); - - $output .= "\n<!-- begin content -->\n"; - $output .= $content; - $output .= "\n<!-- end content -->\n"; - - if ($footer = variable_get('site_footer', '')) { - $output .= " <div id=\"footer\">$footer</div>\n"; - } - - $output .= " </td>\n"; - - if ($blocks = theme_blocks("right")) { - $output .= " <td id=\"sidebar-right\">$blocks</td>\n"; - } - - $output .= " </tr>\n"; - $output .= " </table>\n"; - - $output .= theme_closure(); - $output .= " </body>\n"; - $output .= "</html>\n"; - - return $output; -} - -function chameleon_node($node, $main = 0, $page = 0) { - - $output = "<div class=\"node\">\n"; - - if (!$page) { - $output .= " <h2 class=\"title\">". ($main ? l($node->title, "node/$node->nid") : $node->title) ."</h2>\n"; - } - - $output .= " <div class=\"content\">\n"; - - if ($main && $node->teaser) { - $output .= $node->teaser; - } - else { - $output .= $node->body; - } - - $output .= " </div>\n"; - - $submitted = array(t("By %author at %date", array('%author' => format_name($node), '%date' => format_date($node->created, 'small')))); - - if (module_exist('taxonomy')) { - $terms = taxonomy_link("taxonomy terms", $node); - } - - if ($links = link_node($node, $main)) { - $output .= " <div class=\"links\">". theme('links', array_merge($submitted, $terms, $links)) ."</div>\n"; - } - - $output .= "</div>\n"; - - return $output; -} - -function chameleon_comment($comment, $link = "") { - - $submitted = array(t('By %author at %date', array('%author' => format_name($comment), '%date' => format_date($comment->timestamp. 'small')))); - $links = array($link); - - $output = "<div class=\"comment\">\n"; - $output .= " <h3 class=\"title\">". l($comment->subject, $_GET['q'], NULL, NULL, "comment-$comment->cid") ."</h3>\n"; - $output .= " <div class=\"content\">". $comment->comment ."</div>\n"; - $output .= " <div class=\"links\">". theme('links', array_merge($submitted, $links)) ."</div>\n"; - $output .= "</div>\n"; - - return $output; -} -?> +<?php
+// $Id$
+
+function chameleon_features() {
+ return array(
+ 'logo',
+ 'toggle_name',
+ 'toggle_search',
+ 'toggle_slogan',
+ 'toggle_primary_links',
+ 'toggle_secondary_links');
+}
+
+function chameleon_page($content, $title = NULL, $breadcrumb = NULL) {
+ if (isset($title)) {
+ drupal_set_title($title);
+ }
+
+ if (isset($breadcrumb)) {
+ drupal_set_breadcrumb($breadcrumb);
+ }
+
+ $output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
+ $output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\" xml:lang=\"en\">\n";
+ $output .= "<head>\n";
+ $output .= " <title>". ($title ? $title ." | ". variable_get("site_name", "drupal") : variable_get("site_name", "drupal") ." | ". variable_get("site_slogan", "")) ."</title>\n";
+ $output .= drupal_get_html_head();
+ $output .= " <link rel=\"stylesheet\" type=\"text/css\" href=\"themes/chameleon/common.css\" />\n";
+ $output .= "</head>";
+ $output .= "<body". theme_onload_attribute() .">\n";
+ $output .= " <div id=\"header\">";
+
+ if ($logo = drupal_get_theme_setting('logo')) {
+ $output .= " <a href=\"./\" title=\"Home\"><img src=\"$logo\" alt=\"Home\" /></a>";
+ }
+ if (drupal_get_theme_setting('toggle_name')) {
+ $output .= " <h1 class=\"site-name title\">". l(variable_get('site_name', 'drupal'), ""). "</h1>";
+ }
+ if (drupal_get_theme_setting('toggle_slogan')) {
+ $output .= " <div class=\"site-slogan\">". variable_get('site_slogan', '') ."</div>";
+ }
+
+ $output .= "</div>\n";
+
+ $primary_links = drupal_get_theme_setting('primary_links');
+ $secondary_links = drupal_get_theme_setting('secondary_links');
+ if ($primary_links || $secondary_links) {
+ $output .= ' <div class="navlinks">';
+ if ($primary_links) {
+ $output .= '<div class="primary">'. $primary_links .'</div>';
+ }
+ if ($secondary_links) {
+ $output .= '<div class="secondary">'. $secondary_links .'</div>';
+ }
+ $output .= " </div>\n";
+ }
+
+ $output .= " <table>\n";
+ $output .= " <tr>\n";
+
+ if ($blocks = theme_blocks("left")) {
+ $output .= " <td id=\"sidebar-left\">$blocks</td>\n";
+ }
+
+ $output .= " <td id=\"main\">\n";
+
+ if ($title = drupal_get_title()) {
+ $output .= theme("breadcrumb", drupal_get_breadcrumb());
+ $output .= "<h2>$title</h2>";
+ }
+
+ if ($tabs = theme('menu_local_tasks')) {
+ $output .= $tabs;
+ }
+
+ if ($help = menu_get_active_help()) {
+ $output .= "<div id=\"help\">$help</div><hr />";
+ }
+
+ $output .= theme_status_messages();
+
+ $output .= "\n<!-- begin content -->\n";
+ $output .= $content;
+ $output .= "\n<!-- end content -->\n";
+
+ if ($footer = variable_get('site_footer', '')) {
+ $output .= " <div id=\"footer\">$footer</div>\n";
+ }
+
+ $output .= " </td>\n";
+
+ if ($blocks = theme_blocks("right")) {
+ $output .= " <td id=\"sidebar-right\">$blocks</td>\n";
+ }
+
+ $output .= " </tr>\n";
+ $output .= " </table>\n";
+
+ $output .= theme_closure();
+ $output .= " </body>\n";
+ $output .= "</html>\n";
+
+ return $output;
+}
+
+function chameleon_node($node, $main = 0, $page = 0) {
+
+ $output = "<div class=\"node\">\n";
+
+ if (!$page) {
+ $output .= " <h2 class=\"title\">". ($main ? l($node->title, "node/$node->nid") : $node->title) ."</h2>\n";
+ }
+
+ $output .= " <div class=\"content\">\n";
+
+ if ($main && $node->teaser) {
+ $output .= $node->teaser;
+ }
+ else {
+ $output .= $node->body;
+ }
+
+ $output .= " </div>\n";
+
+ $submitted = drupal_get_theme_setting("toggle_node_info_$node->type") ? array(t("By %author at %date", array('%author' => format_name($node), '%date' => format_date($node->created, 'small')))) : array();
+
+ if (module_exist('taxonomy')) {
+ $terms = taxonomy_link("taxonomy terms", $node);
+ }
+
+ if ($links = link_node($node, $main)) {
+ $output .= " <div class=\"links\">". theme('links', array_merge($submitted, $terms, $links)) ."</div>\n";
+ }
+
+ $output .= "</div>\n";
+
+ return $output;
+}
+
+function chameleon_comment($comment, $link = "") {
+
+ $submitted = array(t('By %author at %date', array('%author' => format_name($comment), '%date' => format_date($comment->timestamp. 'small'))));
+ $links = array($link);
+
+ $output = "<div class=\"comment\">\n";
+ $output .= " <h3 class=\"title\">". l($comment->subject, $_GET['q'], NULL, NULL, "comment-$comment->cid") ."</h3>\n";
+ $output .= " <div class=\"content\">". $comment->comment ."</div>\n";
+ $output .= " <div class=\"links\">". theme('links', array_merge($submitted, $links)) ."</div>\n";
+ $output .= "</div>\n";
+
+ return $output;
+}
+?>
diff --git a/themes/chameleon/common.css b/themes/chameleon/common.css index 7ed4e4ff8..057a0c15b 100644 --- a/themes/chameleon/common.css +++ b/themes/chameleon/common.css @@ -1,124 +1,147 @@ -/* $Id$ */ - -/* -** HTML elements -*/ -a, a:link, a:active { - font-weight: bold; - text-decoration: none; -} -a:hover { - text-decoration: underline; -} -body { - margin: 0; - padding: 3em; - font-family: arial, helvetica, sans-serif; - font-size: .9em; - line-height: 1.3em; -} -blockquote { - font-style: italic; -} -table { - margin: 0; - padding: .5em; - border-collapse: collapse; -} -code, pre { - font-size: 1em; -} -pre { - font-size: 0.8em; - padding: 1em; - background: #eee; -} -li { - padding-bottom: .3em; -} -h1, h2, h3, h4, h5, h6 { - margin-bottom: .25em; -} -h1 { - font-size: 1.3em; -} -h2 { - font-size: 1.2em; -} -h3 { - font-size: 1.1em; -} -h4, h5, h6 { - font-size: 1em; -} -p { - margin: 0 0 .5em 0; -} -br { - line-height: 0.6em; -} - -/* -** Page layout blocks / IDs -*/ -#header { - margin-bottom: 2em; -} -#help { - font-size: 0.8em; -} -#sidebar-left, #sidebar-right { - vertical-align: top; - padding: 10px; -} -#main { - padding-left: 1em; - padding-right: 1em; - vertical-align: top; - width: 60%; -} -#footer { - font-size: 0.8em; - padding-top: 2em; - text-align: center; -} - -/* -** Common declarations for child classes of node, comment, block, box etc -*/ -.title { - margin: 0 0 .25em 0; -} -.content { - margin: 0 0 .5em 0; -} -.links { - font-size: 0.8em; - line-height: 1.25em; -} -.block { - width: 180px; -} -.messages { - padding: 0.3em; - margin: 0.5em 0em 0.5em 0em; -} -.status { - border: 1px solid #3a3; - color: #3a3; -} -.error, form-item input.error { - border: 1px solid red; - color: red; -} - -/* -** Module specific styles -*/ -.form-item textarea { - font-size: 1em; -} -#aggregator .feed { - border: 1px solid gray; - padding: 1em; -} +/* $Id$ */
+
+/*
+** HTML elements
+*/
+a, a:link, a:active {
+ font-weight: bold;
+ text-decoration: none;
+}
+a:hover {
+ text-decoration: underline;
+}
+body {
+ margin: 0;
+ padding: 3em;
+ font-size: .9em;
+ line-height: 1.3em;
+}
+blockquote {
+ font-style: italic;
+}
+table {
+ margin: 0;
+ padding: .5em;
+ border-collapse: collapse;
+}
+code, pre {
+ font-size: 1em;
+}
+pre {
+ font-size: 0.8em;
+ padding: 1em;
+ background: #eee;
+}
+li {
+ padding-bottom: .3em;
+}
+h1, h2, h3, h4, h5, h6 {
+ margin-bottom: .25em;
+}
+h1 {
+ font-size: 1.3em;
+}
+h2 {
+ font-size: 1.2em;
+}
+h3 {
+ font-size: 1.1em;
+}
+h4, h5, h6 {
+ font-size: 1em;
+}
+p {
+ margin: 0 0 .5em 0;
+}
+br {
+ line-height: 0.6em;
+}
+
+/*
+** Page layout blocks / IDs
+*/
+#header {
+ margin-bottom: 2em;
+}
+#help {
+ font-size: 0.8em;
+}
+#sidebar-left, #sidebar-right {
+ vertical-align: top;
+ padding: 10px;
+}
+#main {
+ padding-left: 1em;
+ padding-right: 1em;
+ vertical-align: top;
+}
+#footer {
+ font-size: 0.8em;
+ padding-top: 2em;
+ text-align: center;
+}
+
+/*
+** Common declarations for child classes of node, comment, block, box etc
+*/
+.title {
+ margin: 0 0 .25em 0;
+}
+.content {
+ margin: 0 0 .5em 0;
+}
+.links {
+ font-size: 0.8em;
+ line-height: 1.25em;
+}
+.block {
+ width: 180px;
+}
+.messages {
+ padding: 0.3em;
+ margin: 0.5em 0em 0.5em 0em;
+}
+.status {
+ border: 1px solid #3a3;
+ color: #3a3;
+}
+.error, form-item input.error {
+ border: 1px solid red;
+ color: red;
+}
+
+/*
+** Common navigation links added on the admin/themes/settings page
+*/
+.navlinks {
+ padding: 0em 0.5em 1.5em 0em;
+}
+.primary a {
+ font-size: 1.0em;
+ padding: 0em 0.5em 0em 0em;
+}
+.secondary a {
+ font-size: 0.9em;
+ padding: 0em 0.5em 0em 0em;
+}
+
+/*
+** Logo Image Positioning
+*/
+#header img {
+ float: left;
+ padding: 0em 2em 0em 0em;
+}
+#header {
+ clear: both;
+}
+/*
+** Module specific styles
+*/
+.form-item textarea {
+ font-size: 1em;
+}
+#aggregator .feed {
+ border: 1px solid gray;
+ padding: 1em;
+}
diff --git a/themes/chameleon/logo.png b/themes/chameleon/logo.png Binary files differnew file mode 100644 index 000000000..320fa96ce --- /dev/null +++ b/themes/chameleon/logo.png diff --git a/themes/chameleon/marvin/logo.png b/themes/chameleon/marvin/logo.png Binary files differnew file mode 100644 index 000000000..320fa96ce --- /dev/null +++ b/themes/chameleon/marvin/logo.png diff --git a/themes/chameleon/marvin/screenshot.png b/themes/chameleon/marvin/screenshot.png Binary files differnew file mode 100644 index 000000000..b46b21cf5 --- /dev/null +++ b/themes/chameleon/marvin/screenshot.png diff --git a/themes/chameleon/marvin/chameleon.css b/themes/chameleon/marvin/style.css index e0c4a15a5..56587aef8 100644 --- a/themes/chameleon/marvin/chameleon.css +++ b/themes/chameleon/marvin/style.css @@ -1,114 +1,118 @@ -/* $Id$ */ - -/* -** HTML elements -*/ -body { - background: #fff url(druplicon-watermark.png) no-repeat top right; -} -a:link { - color: #656 -} -a:visited { - color: #656 -} -a:active { - color: #ccc -} -h2 { - background-color: #eaeaea; - border: solid 1px #777; - font-size: 1.1em; - margin: 0.5em 0em 0.5em 0em; - padding: 0.5em; -} -h2.title { - background-color: #fff; - border: solid 1px #888; - margin-top: 1em; -} -p { - margin: 0 1em 1em 0; - padding: 0; -} -table { - font-size: 1em; -} - -/* -** Page layout blocks / IDs -*/ -#main { - width: 80%; -} - -/* -** Common declarations for child classes of node, comment, block, box etc -*/ -.node .submitted { - color: #7c7c7c; - font-size: 0.9em; - float: left; - padding: 0.5em 0em 0.5em 1em; -} -.node .taxonomy { - color: #7c7c7c; - font-size: 0.9em; - float: right; -} -.node .content { - clear: both; - padding-left: 1em; -} -.node .links { - padding: 1em; -} -.comment { - border: solid 1px #777; - margin: 0.5em 0 0.5em 0; - padding: 0.5em; -} -.block { - margin-bottom: 10px; - font-size: 0.9em; -} -.block .content { - border: solid 1px #888; - border-top: none; - margin: 0; - padding: 5px; -} -.block h2.title { - margin: 0; -} - -/* -** Module specific styles -*/ -.item-list ul li { - list-style-image: url(bullet.png); -} -.calendar .day-today { - background-color: #ccc; -} -.calendar .day-selected { - background-color: #bbb; -} -.calendar .header-month { - background-color: #ddd; -} -.calendar .header-week { - background-color: #ccc; -} -.calendar .day-blank { - background-color: #ddd; -} -.calendar .day-link a { - color: #000; -} -.calendar .row-week { - color: #aaa; -} -.path, .path a, .path a:visited { - color: #888; +/* $Id$ */
+
+/*
+** HTML elements
+*/
+body {
+ background: #fff url(druplicon-watermark.png) no-repeat top right;
+ font-family: arial, helvetica, sans-serif;
+}
+a:link {
+ color: #656
+}
+a:visited {
+ color: #656
+}
+a:active {
+ color: #ccc
+}
+h2 {
+ background-color: #eaeaea;
+ border: solid 1px #777;
+ font-size: 1.1em;
+ margin: 0.5em 0em 0.5em 0em;
+ padding: 0.5em;
+}
+h2.title {
+ background-color: #fff;
+ border: solid 1px #888;
+ margin-top: 1em;
+}
+p {
+ margin: 0 1em 1em 0;
+ padding: 0;
+}
+table {
+ font-size: 1em;
+}
+
+/*
+** Page layout blocks / IDs
+*/
+#main {
+ width: 80%;
+}
+#header .title {
+ padding-top: .75em;
+}
+
+/*
+** Common declarations for child classes of node, comment, block, box etc
+*/
+.node .submitted {
+ color: #7c7c7c;
+ font-size: 0.9em;
+ float: left;
+ padding: 0.5em 0em 0.5em 1em;
+}
+.node .taxonomy {
+ color: #7c7c7c;
+ font-size: 0.9em;
+ float: right;
+}
+.node .content {
+ clear: both;
+ padding-left: 1em;
+}
+.node .links {
+ padding: 1em;
+}
+.comment {
+ border: solid 1px #777;
+ margin: 0.5em 0 0.5em 0;
+ padding: 0.5em;
+}
+.block {
+ margin-bottom: 10px;
+ font-size: 0.9em;
+}
+.block .content {
+ border: solid 1px #888;
+ border-top: none;
+ margin: 0;
+ padding: 5px;
+}
+.block h2.title {
+ margin: 0;
+}
+
+/*
+** Module specific styles
+*/
+.item-list ul li {
+ list-style-image: url(bullet.png);
+}
+.calendar .day-today {
+ background-color: #ccc;
+}
+.calendar .day-selected {
+ background-color: #bbb;
+}
+.calendar .header-month {
+ background-color: #ddd;
+}
+.calendar .header-week {
+ background-color: #ccc;
+}
+.calendar .day-blank {
+ background-color: #ddd;
+}
+.calendar .day-link a {
+ color: #000;
+}
+.calendar .row-week {
+ color: #aaa;
+}
+.path, .path a, .path a:visited {
+ color: #888;
}
\ No newline at end of file diff --git a/themes/chameleon/pure/background.png b/themes/chameleon/pure/background.png Binary files differdeleted file mode 100644 index da99813fd..000000000 --- a/themes/chameleon/pure/background.png +++ /dev/null diff --git a/themes/chameleon/screenshot.png b/themes/chameleon/screenshot.png Binary files differnew file mode 100644 index 000000000..7c8bdee4f --- /dev/null +++ b/themes/chameleon/screenshot.png diff --git a/themes/chameleon/pure/chameleon.css b/themes/chameleon/style.css index c399944ab..9f65ccc82 100644 --- a/themes/chameleon/pure/chameleon.css +++ b/themes/chameleon/style.css @@ -1,90 +1,95 @@ -/* $Id$ */ - -/* -** HTML elements -*/ -a, a:link, a:active { - color: #930; -} -a:visited { - color: #630; -} -body { - padding: 5em 0 0 3em; - background-image: url(background.png); - background-repeat: repeat-x; - font-family: trebuchet ms, tahoma, verdana, arial, helvetica; - border-top: 10px solid gray; -} -ul { - list-style-type: disc; -} - -/* -** Page layout blocks / IDs -*/ -#main { - width: 500px; -} -#sidebar-left { - border-right: 1px solid gray; -} -#sidebar-right { - border-left: 1px solid gray; -} - -/* -** Common declarations for child classes of node, comment, block, box etc -*/ -#header .title { - font-size: 2em; - font-weight: bold; -} -#header .title a, -#header .title a:link, -#header .title a:visited, -#header .title a:active { - text-decoration: none; - color: #aaa; -} -#header .title a:hover { - color: #930; -} -.node .title { - font-size: 1.2em; -} -.node .title a, -.node .title a:link, -.node .title a:active, -.node .title a:visited { - text-decoration: none; - font-weight: normal; -} -.node .title a:hover { - text-decoration: underline; -} -.links { - margin: 1em 0 3em 0; - text-align: right; - } -.comment .content, .block .content, .menu { - font-size: 0.9em; -} -.block { - padding-bottom: 1em; -} -.block .title { - font-size: 1em; -} - -/* -** Module specific styles -*/ -.item-list ul li { - list-style: square; -} -#aggregator .source { - color: gray; - font-style: italic; - font-size: 0.9em; -} +/* $Id$ */
+
+/*
+** HTML elements
+*/
+a, a:link, a:active {
+ color: #930;
+}
+a:visited {
+ color: #630;
+}
+body {
+ padding: 5em 0 0 3em;
+ background-image: url(background.png);
+ background-repeat: repeat-x;
+ font-family: trebuchet ms, tahoma, verdana, arial, helvetica;
+ border-top: 10px solid gray;
+}
+ul {
+ list-style-type: disc;
+}
+
+/*
+** Page layout blocks / IDs
+*/
+#main {
+ width: 500px;
+}
+#sidebar-left {
+ border-right: 1px solid gray;
+}
+#sidebar-right {
+ border-left: 1px solid gray;
+}
+
+/*
+** Common declarations for child classes of node, comment, block, box etc
+*/
+#header .title {
+ font-size: 2em;
+ font-weight: bold;
+ padding-top: .75em;
+}
+#header .title a,
+#header .title a:link,
+#header .title a:visited,
+#header .title a:active {
+ text-decoration: none;
+ color: #aaa;
+}
+#header .title a:hover {
+ color: #930;
+}
+#header .site-slogan {
+ margin-top: -0.1em;
+ font-size: 0.8em;
+}
+.node .title {
+ font-size: 1.2em;
+}
+.node .title a,
+.node .title a:link,
+.node .title a:active,
+.node .title a:visited {
+ text-decoration: none;
+ font-weight: normal;
+}
+.node .title a:hover {
+ text-decoration: underline;
+}
+.links {
+ margin: 1em 0 3em 0;
+ text-align: right;
+ }
+.comment .content, .block .content, .menu {
+ font-size: 0.9em;
+}
+.block {
+ padding-bottom: 1em;
+}
+.block .title {
+ font-size: 1em;
+}
+
+/*
+** Module specific styles
+*/
+.item-list ul li {
+ list-style: square;
+}
+#aggregator .source {
+ color: gray;
+ font-style: italic;
+ font-size: 0.9em;
+}
|