summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhuong Nguyen2009-03-02 00:11:28 +0000
committerPhuong Nguyen2009-03-02 00:11:28 +0000
commitf9fd30f44eeb8deee0f1eb129dbafd62215cd100 (patch)
tree377ab41bcc5d0d8f3e18071639eb1c76ed17fb31
Initial Release for Drupal 6.10
-rw-r--r--block.tpl.php10
-rw-r--r--box.tpl.php21
-rw-r--r--comment-form.tpl.php24
-rw-r--r--comment-wrapper.tpl.php46
-rw-r--r--comment.tpl.php56
-rw-r--r--favicon.icobin0 -> 15086 bytes
-rw-r--r--ie.css72
-rw-r--r--logo.pngbin0 -> 4781 bytes
-rw-r--r--magazeen.info42
-rw-r--r--node.tpl.php54
-rw-r--r--page.tpl.php129
-rw-r--r--print.css57
-rw-r--r--screenshot.pngbin0 -> 19201 bytes
-rw-r--r--search-result.tpl.php64
-rw-r--r--search-theme-form.tpl.php42
-rw-r--r--style.css1427
-rw-r--r--template.php208
-rw-r--r--theme-settings.php175
18 files changed, 2427 insertions, 0 deletions
diff --git a/block.tpl.php b/block.tpl.php
new file mode 100644
index 0000000..fd7a815
--- /dev/null
+++ b/block.tpl.php
@@ -0,0 +1,10 @@
+<?php
+// $Id:
+?>
+
+<!-- start block.tpl.php -->
+ <div class="block block-<?php print $block->module; ?>" id="block-<?php print $block->module; ?>-<?php print $block->delta; ?>">
+ <h2 class="title"><?php print $block->subject; ?></h2>
+ <div class="content"><?php print $block->content; ?></div>
+ </div>
+<!-- /end block.tpl.php --> \ No newline at end of file
diff --git a/box.tpl.php b/box.tpl.php
new file mode 100644
index 0000000..cbec5dc
--- /dev/null
+++ b/box.tpl.php
@@ -0,0 +1,21 @@
+<?php
+// $Id:
+
+/**
+ * @file box.tpl.php
+ *
+ * Theme implementation to display a box.
+ *
+ * Available variables:
+ * - $title: Box title.
+ * - $content: Box content.
+ *
+ * @see template_preprocess()
+ */
+?>
+<div class="box">
+
+ <div class="content">
+ <?php print $content ?>
+ </div>
+</div>
diff --git a/comment-form.tpl.php b/comment-form.tpl.php
new file mode 100644
index 0000000..04579fc
--- /dev/null
+++ b/comment-form.tpl.php
@@ -0,0 +1,24 @@
+<?php
+// $Id:
+?>
+
+<div class="post-meta clearfix">
+
+ <h3 class="post-title-small left">Leave a Response</h3>
+
+ <p class="post-info">
+ </p>
+
+ </div>
+<div class="comment-form clearfix">
+ <?php print $comment_preview; ?>
+ <?php print $name; ?>
+ <?php print $mail; ?>
+ <?php print $homepage; ?>
+ <?php print $subject; ?>
+ <?php print $comment; ?>
+ <?php print $submit; ?><?php print $preview; ?>
+</div>
+<div class="hide">
+<?php print drupal_render($form); ?>
+</div> \ No newline at end of file
diff --git a/comment-wrapper.tpl.php b/comment-wrapper.tpl.php
new file mode 100644
index 0000000..556e83d
--- /dev/null
+++ b/comment-wrapper.tpl.php
@@ -0,0 +1,46 @@
+<?php
+// $Id:
+
+/**
+ * @file comment-wrapper.tpl.php
+ * Default theme implementation to wrap comments.
+ *
+ * Available variables:
+ * - $content: All comments for a given page. Also contains sorting controls
+ * and comment forms if the site is configured for it.
+ *
+ * The following variables are provided for contextual information.
+ * - $node: Node object the comments are attached to.
+ * The constants below the variables show the possible values and should be
+ * used for comparison.
+ * - $display_mode
+ * - COMMENT_MODE_FLAT_COLLAPSED
+ * - COMMENT_MODE_FLAT_EXPANDED
+ * - COMMENT_MODE_THREADED_COLLAPSED
+ * - COMMENT_MODE_THREADED_EXPANDED
+ * - $display_order
+ * - COMMENT_ORDER_NEWEST_FIRST
+ * - COMMENT_ORDER_OLDEST_FIRST
+ * - $comment_controls_state
+ * - COMMENT_CONTROLS_ABOVE
+ * - COMMENT_CONTROLS_BELOW
+ * - COMMENT_CONTROLS_ABOVE_BELOW
+ * - COMMENT_CONTROLS_HIDDEN
+ *
+ * @see template_preprocess_comment_wrapper()
+ * @see theme_comment_wrapper()
+ */
+?>
+
+
+<div id="comments" class="clearfix">
+<div id="comment-head"></div>
+ <?php if ($node->type != 'forum'): ?>
+ <div class="comment-count">
+ <a href="#comments"><?php print $node->comment_count; if ($node->comment_count > 1) { print ' Comments'; } else { print ' Comment'; } ?></a>
+ </div>
+ <?php endif; ?>
+
+ <?php print $content; ?>
+
+</div>
diff --git a/comment.tpl.php b/comment.tpl.php
new file mode 100644
index 0000000..ded47cf
--- /dev/null
+++ b/comment.tpl.php
@@ -0,0 +1,56 @@
+<?php
+// $Id:
+
+/**
+ * @file comment.tpl.php
+ * Default theme implementation for comments.
+ *
+ * Available variables:
+ * - $author: Comment author. Can be link or plain text.
+ * - $content: Body of the post.
+ * - $date: Date and time of posting.
+ * - $links: Various operational links.
+ * - $new: New comment marker.
+ * - $picture: Authors picture.
+ * - $signature: Authors signature.
+ * - $status: Comment status. Possible values are:
+ * comment-unpublished, comment-published or comment-preview.
+ * - $submitted: By line with date and time.
+ * - $title: Linked title.
+ *
+ * These two variables are provided for context.
+ * - $comment: Full comment object.
+ * - $node: Node object the comments are attached to.
+ *
+ * @see template_preprocess_comment()
+ * @see theme_comment()
+ */
+?>
+<div class="comment<?php print ' '. $zebra; print ($comment->new) ? ' comment-new' : ''; print ' '. $status ?> clear-block">
+
+ <div class="comment-author clearfix">
+ <?php print $picture ?>
+ <div class="author">
+ <strong class="name"><?php print $author; ?></strong>
+ <span class="date">on <?php print $date; ?></span>
+ <?php if ($comment->new): ?>
+ <span class="new"><?php print $new; ?></span>
+ <?php endif; ?>
+ </div>
+ <?php if ($links): ?>
+ <div class="comment-links">
+ <?php print $links; ?>
+ </div>
+ <?php endif; ?>
+ </div>
+
+ <div class="content">
+ <?php print $content ?>
+ <?php if ($signature): ?>
+ <div class="user-signature clear-block">
+ <?php print $signature ?>
+ </div>
+ <?php endif; ?>
+ </div>
+
+</div>
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000..0f9909a
--- /dev/null
+++ b/favicon.ico
Binary files differ
diff --git a/ie.css b/ie.css
new file mode 100644
index 0000000..554d349
--- /dev/null
+++ b/ie.css
@@ -0,0 +1,72 @@
+/**
+ * $Id:
+ *
+ *
+ * IE CSS
+ *
+ * CSS targeted specifically for Internet Explorer for Windows.
+ *
+ * Properties starting with an underscore _ are for IE 5 and 6 only.
+ * Properties starting with head:first-child+body are for IE7 only.
+ * Properties with a child selector (>) or sibling selector (+) are for IE7 only.
+ *
+ */
+
+/*
+ * Layout CSS
+ */
+
+/** body **/
+
+#site-title span {
+ display:none;
+}
+.main {
+ width:95em;
+}
+
+.indicator {
+ margin:0;
+}
+
+/* Prevent fieldsets from shifting when changing collapsed state. */
+ html.js fieldset.collapsible {
+ position: static;
+ top: -1em;
+ }
+ html.js fieldset.collapsed {
+ top: 0;
+ margin-bottom: 1em;
+ }
+
+ tr.menu-disabled {
+ /* Use filter to emulate CSS3 opacity */
+ filter: alpha(opacity=50);
+ }
+
+ tr.taxonomy-term-preview {
+ filter: alpha(opacity=50);
+ }
+
+ #attach-hide label, #uploadprogress div.message {
+ /* Fading elements in IE causes the text to bleed unless they have a background. */
+ background-color: #ffffff;
+ }
+
+ fieldset {
+ /* Don't draw backgrounds on fieldsets in IE, as they look really bad. */
+ background: none;
+ }
+
+ div.admin .left {
+ margin-left:.1em;
+ }
+
+/** Drupal admin tables **/
+ .section-admin #content tr.even th,
+ .section-admin #content tr.even td,
+ .section-admin #content tr.odd th,
+ .section-admin #content tr.odd td
+ {
+ border-bottom: 1px solid #ccc; /* IE doesn't display borders on table rows */
+ } \ No newline at end of file
diff --git a/logo.png b/logo.png
new file mode 100644
index 0000000..d0018aa
--- /dev/null
+++ b/logo.png
Binary files differ
diff --git a/magazeen.info b/magazeen.info
new file mode 100644
index 0000000..4d4b705
--- /dev/null
+++ b/magazeen.info
@@ -0,0 +1,42 @@
+; $Id:
+
+name = Magazeen
+description = A bold magazine theme from Function and Smashing Magazine.
+version = VERSION
+core = 6.x
+engine = phptemplate
+
+stylesheets[all][] = style.css
+stylesheets[print][] = print.css
+
+scripts[] = script/js.js
+
+regions[top] = Top Header
+regions[content] = Content
+regions[dock] = Sidebar
+regions[footerleft] = Footer Left Box
+regions[footerright] = Footer Right Box
+
+features[] = logo
+features[] = name
+features[] = slogan
+features[] = comment_user_picture
+features[] = search
+features[] = favicon
+features[] = primary_links
+
+
+version = 6.10
+project = drupal
+datestamp = 1229018427
+
+
+
+
+
+
+
+
+
+
+
diff --git a/node.tpl.php b/node.tpl.php
new file mode 100644
index 0000000..0fdb14a
--- /dev/null
+++ b/node.tpl.php
@@ -0,0 +1,54 @@
+<?php
+// $Id:
+?>
+
+<div id="post-<?php print $node->nid; ?>" class="post clearfix<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
+
+ <div class="post-meta clearfix">
+ <h3 class="post-title">
+ <a href="<?php print $node_url?>"><?php print $title?></a>
+ </h3>
+ <p class="post-info"><span>By <?php print $name?></span><?php if ($type == page) { print ''; } else { print $date; } ?></p>
+ </div>
+
+ <div class="post-box">
+ <div class="clearfix post-content <?php if ($teaser == 1) { print "teaser"; } else { print "full"; } ?>">
+ <?php if ($teaser == 1): ?>
+ <div class="comment-count">
+ <a title="<?php print $comment_count; if ($comment_count > 1) { print ' Comments'; } else { print ' Comment'; } ?> " href="<?php print $node_url . '#comments' ?>">
+ <?php print $comment_count; if ($comment_count > 1) { print ' Comments'; } else { print ' Comment'; } ?>
+ </a>
+ </div>
+ <div class="post-image">
+ <?php print $field_image_rendered; ?>
+ </div>
+ <?php endif; ?>
+ <div class="post-intro">
+
+ <?php if ($teaser == 0): ?>
+ <?php if ($field_image): ?>
+ <div class="post-image-inner">
+ <?php print $field_image_rendered; ?>
+ </div>
+ <?php endif; ?>
+ <?php endif; ?>
+
+
+ <?php print $content?>
+ </div>
+ </div>
+
+ <?php if ($teaser == 1): ?>
+ <div class="post-footer clearfix">
+ <div class="continue-reading">
+ <a title="Continue reading &#8220;<?php print $title?>&#8220;" rel="bookmark" href="<?php print $node_url?>">Continue Reading</a>
+ </div>
+ <?php if ($terms): ?>
+ <div class="category-menu"><span class="indicator"></span><?php print $terms; ?></div>
+ <?php endif; ?>
+ </div>
+ <?php endif; ?>
+ </div>
+
+</div>
+
diff --git a/page.tpl.php b/page.tpl.php
new file mode 100644
index 0000000..6664853
--- /dev/null
+++ b/page.tpl.php
@@ -0,0 +1,129 @@
+<?php
+// $Id:
+?>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
+
+<head>
+ <title><?php print $head_title ?></title>
+ <?php print $head ?>
+ <?php print $styles ?>
+
+ <!--[if lt IE 7]>
+ <?php print phptemplate_get_ie_styles(); ?>
+ <![endif]-->
+
+</head>
+
+<body>
+
+ <div id="header">
+ <div id="header-inner" class="clearfix">
+ <div id="headerleft">
+ <?php if ($logo): ?>
+ <div id="logo">
+ <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" id="logo-image" /></a>
+ </div>
+ <?php endif; ?>
+ <?php if ($site_name or $site_slogan): ?>
+ <div id="site-title">
+ <h2><?php print $site_slogan; ?></h2>
+ <h1><span></span><a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home"><?php print $site_name; ?></a></h1>
+ </div>
+ <?php endif; ?>
+ </div><!-- /#headerleft -->
+ <?php if ($search_box): ?>
+ <div id="headerright">
+ <div id="search-box"><?php print $search_box; ?></div>
+ <?php endif; ?>
+ </div><!-- /#headerright -->
+ </div><!-- /#header-inner -->
+ </div><!-- /#header -->
+
+ <?php if ($primary_links or $feed_icons): ?>
+ <div id="mainnav">
+ <div id="mainnav-inner" class="clearfix">
+ <?php if ($primary_links): ?>
+ <div id="navlist"><?php print menu_tree($menu_name = 'primary-links'); ?></div>
+ <?php endif; ?>
+ <?php if ($feed_icons): ?>
+ <div id="rss"><?php print $feed_icons ?></div>
+ <?php endif; ?>
+ </div>
+ </div><!-- /#mainnav -->
+ <?php endif; ?>
+
+ <?php if ($docdk): ?>
+ <div id="dock">
+ <div id="dock-inner">
+ <div class="dock-back clearfix">
+ <?php print $docsk; ?>
+ </div>
+ </div>
+ </div><!-- /#latest-dock -->
+ <?php endif; ?>
+
+ <div id="page">
+ <div class="main clearfix">
+ <div class="main-inner <?php print mainwidth_class($dock); print ' '. $body_classes;?>">
+ <?php if ($messages or $help): ?>
+ <?php print $messages; ?>
+ <?php print $help; ?>
+ <?php endif; ?>
+ <?php if ($tabs): ?>
+ <div class="tabs"><?php print $tabs; ?></div>
+ <?php endif; ?>
+ <?php if ($breadcrumb): ?>
+ <?php print $breadcrumb; ?>
+ <?php endif; ?>
+
+ <?php if (($node->type !== 'story') && ($node->type !== 'page')): ?>
+ <?php if ($title): ?>
+ <div class="post-meta clearfix">
+ <h3 class="post-title">
+ <?php print $title; ?>
+ </h3>
+ <p class="post-info"></p>
+ </div><!-- /#title -->
+ <?php endif; ?>
+ <?php endif; ?>
+
+ <?php print $content; ?>
+ </div>
+
+ <?php if ($dock): ?>
+ <div class="sidebar">
+ <?php print $dock; ?>
+ </div>
+ <?php endif; ?>
+ </div><!-- /#main -->
+
+ </div><!-- /#page -->
+
+ <?php if ($footerright or $footerright): ?>
+ <div id="footer">
+ <div class="footer-inner clearfix">
+ <div class="footer-left">
+ <?php print $footerleft; ?>
+ </div>
+ <div class="footer-right">
+ <?php print $footerright; ?>
+ </div>
+ </div>
+ </div>
+ <?php endif; ?>
+
+ <?php if ($footer_message): ?>
+ <div id="link-back">
+ <div class="footer-message clearfix">
+ <?php print $footer_message; ?>
+ </div>
+ </div>
+ <?php endif; ?><!-- /#footer_message -->
+
+ <?php print $scripts ?>
+ <?php print $closure ?>
+
+</body>
+</html>
diff --git a/print.css b/print.css
new file mode 100644
index 0000000..c5e8828
--- /dev/null
+++ b/print.css
@@ -0,0 +1,57 @@
+/**
+ * $Id:
+*/
+
+/* underline all links */
+ a, a:visited
+ {
+ color: #000 !important;
+ text-decoration: underline !important;
+ }
+
+ /* Don't underline header */
+ #site-title a:link,
+ #site-title a:visited
+ {
+ text-decoration: none !important;
+ }
+
+/* CSS2 selector to add visible href after links */
+ #main a:link:after,
+ #main a:visited:after
+ {
+ content: " (" attr(href) ") ";
+ font-size: 0.8em;
+ font-weight: normal;
+ }
+
+/* Un-float the content */
+ #main,
+ #main-inner
+ {
+ float: none;
+ width: 100%;
+ margin: 0 !important;
+ padding: 0 !important;
+ }
+
+/* Turn off any background colors or images */
+ *
+ {
+ color: #000 !important;;
+ font-family:"Times New Roman",Tahoma,Verdana,serif;
+ background-color: transparent !important;
+ background-image: none !important;
+ border: none !important;
+ }
+
+/* Hide sidebars and nav elements */
+ .sidebar,
+ #mainnav,
+ #headerright,
+ #footer,
+ #dock,
+ #site-title span {
+ visibility: hidden !important;
+ display: none !important;
+ }
diff --git a/screenshot.png b/screenshot.png
new file mode 100644
index 0000000..cd99671
--- /dev/null
+++ b/screenshot.png
Binary files differ
diff --git a/search-result.tpl.php b/search-result.tpl.php
new file mode 100644
index 0000000..99293a7
--- /dev/null
+++ b/search-result.tpl.php
@@ -0,0 +1,64 @@
+<?php
+// $Id:
+
+/**
+ * @file search-result.tpl.php
+ * Default theme implementation for displaying a single search result.
+ *
+ * This template renders a single search result and is collected into
+ * search-results.tpl.php. This and the parent template are
+ * dependent to one another sharing the markup for definition lists.
+ *
+ * Available variables:
+ * - $url: URL of the result.
+ * - $title: Title of the result.
+ * - $snippet: A small preview of the result. Does not apply to user searches.
+ * - $info: String of all the meta information ready for print. Does not apply
+ * to user searches.
+ * - $info_split: Contains same data as $info, split into a keyed array.
+ * - $type: The type of search, e.g., "node" or "user".
+ *
+ * Default keys within $info_split:
+ * - $info_split['type']: Node type.
+ * - $info_split['user']: Author of the node linked to users profile. Depends
+ * on permission.
+ * - $info_split['date']: Last update of the node. Short formatted.
+ * - $info_split['comment']: Number of comments output as "% comments", %
+ * being the count. Depends on comment.module.
+ * - $info_split['upload']: Number of attachments output as "% attachments", %
+ * being the count. Depends on upload.module.
+ *
+ * Since $info_split is keyed, a direct print of the item is possible.
+ * This array does not apply to user searches so it is recommended to check
+ * for their existance before printing. The default keys of 'type', 'user' and
+ * 'date' always exist for node searches. Modules may provide other data.
+ *
+ * <?php if (isset($info_split['comment'])) : ?>
+ * <span class="info-comment">
+ * <?php print $info_split['comment']; ?>
+ * </span>
+ * <?php endif; ?>
+ *
+ * To check for all available data within $info_split, use the code below.
+ *
+ * <?php print '<pre>'. check_plain(print_r($info_split, 1)) .'</pre>'; ?>
+ *
+ * @see template_preprocess_search_result()
+ */
+?>
+<dt class="search-title">
+ <a href="<?php print $url; ?>"><?php print $title; ?></a>
+</dt>
+<dd>
+ <?php if ($snippet) : ?>
+ <p class="search-snippet"><?php print $snippet; ?></p>
+ <?php endif; ?>
+ <?php if ($info) : ?>
+ <p class="search-info">
+ <?php print $info_split['user']; ?> -
+ <?php print $info_split['date']; ?> -
+ <?php print $info_split[0]; ?>
+ </p>
+ <?php endif; ?>
+</dd>
+
diff --git a/search-theme-form.tpl.php b/search-theme-form.tpl.php
new file mode 100644
index 0000000..374412b
--- /dev/null
+++ b/search-theme-form.tpl.php
@@ -0,0 +1,42 @@
+<?php
+// $Id:
+
+/**
+ * @file search-theme-form.tpl.php
+ * Default theme implementation for displaying a search form directly into the
+ * theme layout. Not to be confused with the search block or the search page.
+ *
+ * Available variables:
+ * - $search_form: The complete search form ready for print.
+ * - $search: Array of keyed search elements. Can be used to print each form
+ * element separately.
+ *
+ * Default keys within $search:
+ * - $search['search_theme_form']: Text input area wrapped in a div.
+ * - $search['submit']: Form submit button.
+ * - $search['hidden']: Hidden form elements. Used to validate forms when submitted.
+ *
+ * Since $search is keyed, a direct print of the form element is possible.
+ * Modules can add to the search form so it is recommended to check for their
+ * existance before printing. The default keys will always exist.
+ *
+ * <?php if (isset($search['extra_field'])):
+ * <div class="extra-field">
+ * <?php print $search['extra_field'];
+ * </div>
+ * <?php endif;
+ *
+ * To check for all available data within $search, use the code below.
+ *
+ * <?php print '<pre>'. check_plain(print_r($search, 1)) .'</pre>';
+ *
+ * @see template_preprocess_search_theme_form()
+ */
+?>
+
+
+<div id="search">
+ <input type="text" maxlength="128" name="search_theme_form" id="search-input" size="15" value="Search" title="Enter the terms you wish to search for." class="form-text" onfocus="if (this.value == 'Search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search';}" />
+ <input type="image" name="op" src="http://localhost/theme/<?php print $directory; ?>/images/search.gif" id="search-submit-1" value="Search" class="form-submit" />
+ <?php print $search['hidden']; ?>
+</div>
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..5a6a684
--- /dev/null
+++ b/style.css
@@ -0,0 +1,1427 @@
+/**
+ * $Id:
+ * magazeen theme
+ */
+
+/** body **/
+body{
+ font: 62.5% Arial,Helvetica,Tahoma,Verdana,Sans-Serif;
+ line-height:1.9em;
+ color:#202020;
+ background:#e0edf3;
+}
+
+*{
+ border: 0;
+ margin: 0;
+ padding: 0;
+}
+
+/** width **/
+.width340 {
+ width:34em;
+}
+
+.width580 {
+ width:58em;
+}
+
+.width940 {
+ width:94em;
+}
+
+/** Left **/
+.left, .alignleft {
+ float:left;
+}
+
+/** block-level elements **/
+code {
+ width:80%;
+ height:auto;
+ font:1.17em Georgia, "Times New Roman", Times, serif;
+ color:#0f8eb3;
+ margin:1em 0;
+}
+
+pre {
+ margin:1em auto;
+ padding:.5em 0;
+ background:#f4f1ec url(images/code.gif) repeat;
+ border:.1em solid #bbced7;
+ font:0.92em Georgia, "Times New Roman", Times, serif;
+ color:#3e3e3e;
+ line-height:200%;
+}
+
+p, ul, ol, table, fieldset, blockquote {
+ margin: 1em 0;
+}
+
+blockquote {
+ margin:1em auto;
+ padding:.5em 2em;
+ width:80%;
+ height:auto;
+ background:#f8fbfc url(images/blockquote.gif) no-repeat top left;
+ border:.1em solid #edeff0;
+}
+
+/** Heading **/
+h1 {
+ font-size: 2.5em;
+ line-height: 1.3em;
+ margin:0.5em 0;
+ color:#53798B;
+}
+
+h2 {
+ font-size: 2em;
+ line-height: 1.3em;
+ margin:0.5em 0;
+ color:#53798B;
+}
+
+h3 {
+ font-size: 1.8em;
+ line-height: 1.3em;
+ margin:0.5em 0;
+ color:#53798B;
+}
+
+h4, h5, h6 {
+ font-size: 1.6em;
+ line-height: 1.3em;
+ margin:0.4em 0;
+ color:#53798B;
+}
+
+/** Links **/
+
+a:link, a:active {
+ color:#f23183;
+ text-decoration:none;
+}
+
+a:hover {
+ color:#000;
+}
+
+a:visited {
+ color:#f05898;
+ text-decoration:none;
+}
+
+/** lists **/
+/* Drupal overrides */
+ul, ol {
+ margin-left: 0;
+ padding-left: 2em;
+}
+
+.block ul,
+.item-list ul {
+ margin: 1em 0;
+ padding: 0 0 0 2em;
+}
+
+ul ul, ul ol,
+ol ol, ol ul,
+.block ul ul, .block ul ol,
+.block ol ol, .block ol ul,
+.item-list ul ul, .item-list ul ol,
+.item-list ol ol, .item-list ol ul {
+ margin: 0;
+}
+
+li {
+ margin: 0;
+ padding: 0;
+}
+
+.item-list ul li {
+ margin: 0;
+ padding: 0;
+ list-style: inherit;
+}
+
+ul.menu li, li.leaf,
+li.active-trail,
+li.collapsed,
+li.expanded {
+ list-style-image:none;
+}
+
+ul { list-style-type: disc; }
+ul ul { list-style-type: circle; }
+ul ul ul { list-style-type: square; }
+ul ul ul ul { list-style-type: circle; }
+ol { list-style-type: decimal; }
+ol ol { list-style-type: lower-alpha; }
+ol ol ol { list-style-type: decimal; }
+
+dt {
+ margin: 0;
+ padding: 0;
+}
+
+dd {
+ margin: .3em 0 0 1.5em;
+ padding: 0;
+}
+
+/** Inputs **/
+input,textarea,select {
+ padding:.5em;
+ background:#fdfefe url( images/post-box-top.gif) repeat-x top center;
+ border:.1em solid #dce7ed;
+ font:1em Arial, Helvetica, sans-serif;
+ color:#76716c;
+}
+
+input:focus,textarea:focus,select:hover {
+ border:.1em solid #91EAF2;
+ color:#000;
+}
+
+/** Header **/
+#header {
+ background:#171615 url( images/header.gif) repeat-x top center;
+ border-bottom:.1em solid #4A4D4C;
+}
+
+#header-inner{
+ margin: auto;
+ width: 94em;
+}
+
+#header-inner h2{
+ color:#B9B9B9;
+ font:1em Verdana, Arial, Helvetica, sans-serif;
+ margin:0;
+}
+
+#header-inner h1{
+ font:bold 4.2em Verdana, Arial, Helvetica, sans-serif;
+ margin:-.24em 0 0;
+}
+
+#header-inner h1 a{
+ color:#FEFEFE;
+}
+
+#header-inner h1 a:hover{
+ color:#d7d7d7;
+}
+
+#site-title span {
+ background:url( images/gradient.png) repeat-x;
+ width:100%;
+ height:0.3em;
+ margin:0.2em 0 0;
+ position:absolute;
+ display:block;
+ width:10em;
+}
+
+#logo,
+#site-title {
+ float:left;
+}
+
+#headerleft {
+ float:left;
+ padding:6em 0;
+}
+
+#headerright {
+ float:right;
+ padding:6em 0;
+}
+/** Search box **/
+
+#search-box {
+ float:right;
+}
+
+#search-theme-form {
+ background:none;
+}
+
+#search {
+ padding:1.8em 0 0;
+ margin:0 2em 0 0;
+}
+
+#search-input {
+ background:url( images/searchform-back.gif) no-repeat center left;
+ color:#AEA592;
+ font-size:1.1em;
+ padding:.6em 1em .6em 2.5em;
+ width:14.6em;
+ height:1.3em;
+ border:none;
+}
+
+#search input:focus {
+ color:#000;
+}
+
+#search .form-submit {
+ vertical-align:top;
+ border:none;
+ background:none;
+ padding:0;
+}
+
+#contact-mail-page,
+#search-form {
+ font-size:1.2em;
+}
+
+.search-results p {
+ margin:0;
+}
+
+/** Main Navigation **/
+#mainnav {
+ background:#FFF url( images/navigation.gif) repeat-x bottom center;
+ border-bottom:.1em solid #FFFFFF;
+ border-top:.2em solid #393B3B;
+}
+
+#mainnav-inner{
+ margin:auto;
+ width:94em;
+}
+
+#navlist {
+ float:left;
+}
+
+#navlist ul.menu {
+ margin:0 auto;
+ padding:0;
+ width:90em;
+ height:auto;
+ list-style:none;
+ float:left;
+}
+
+#navlist ul li {
+ margin:0 .3em;
+ padding:0;
+ float:left;
+ overflow:visible;
+ list-style:none;
+ }
+
+#rss {
+ margin:1.3em 1.5em 0 0;
+ width:1.6em;
+ height:1.7em;
+ float:right;
+}
+
+#navlist a {
+ padding:1em;
+ font:bold 1.3em Arial, Helvetica, sans-serif;
+ color:#34393e;
+ display:block;
+}
+
+#navlist a:hover {
+ font-weight:bold;
+ text-decoration:underline;
+}
+
+#navlist .active {
+ margin:-.3em 0 0 0;
+ padding:1.2em 1em 1em;
+ background:#171615 url( images/navigation-hover.gif) repeat-x bottom center;
+ color:#f1f8ff;
+ position:relative
+}
+
+/** Dock **/
+#dock {
+ background:#f4f6f8 url( images/dock.gif) repeat-x bottom center;
+ border-bottom:.1em solid #fbf9fa;
+}
+
+#dock-inner {
+ margin:auto;
+ width:94em;
+}
+
+.dock-back {
+ padding:2em 0;
+ background:url( images/dock-back.gif) no-repeat bottom center;
+}
+
+.dock-back .item-list ul{
+ margin:0 auto;
+ padding:0;
+ width:94em;
+ list-style:none;
+ position:relative;
+ text-align:center;
+}
+
+.dock-back .item-list li {
+ margin:0;
+ padding:0 0 1.8em 0;
+ display:inline;
+}
+
+.dock-back .item-list li.dock-active {
+ background:url( images/dock-shadow.png) no-repeat bottom center;
+}
+
+.dock-back .item-list li a:link,
+.dock-back .item-list li a:active,
+.dock-back .item-list li a:visited {
+ margin:3em .7em 0;
+ padding:.16em 0 0 0;
+ width:7.5em;
+ height:5.8em;
+ background:url( images/dock-preview-back.png) no-repeat top center;
+ display:inline-block;
+ position:relative;
+ top:0;
+}
+
+.dock-back .item-list li span {
+ width:70em;
+ height:auto;
+ position:absolute;
+ display:none;
+ top:0;
+ left:0;
+ text-align:center;
+ font:bold 1.35em Arial, Helvetica, sans-serif;
+ color:#31393d;
+}
+
+.latest {
+ width:71em;
+ text-align:center;
+ font:bold 1.35em Arial, Helvetica, sans-serif;
+ color:#31393d;
+ position:absolute;
+}
+
+/* Breadcrumb - The path to the current page in the form of a list of links */
+.breadcrumb {
+ border-bottom:.1em dotted #C0C0C0;
+ margin:0.9em 0 0.3em;
+}
+
+/* Message - Important messages (status, warning, and error) for the user */
+div.messages,
+div.status,
+div.warning,
+div.error {
+ border:.2em solid #ff7;
+ padding:1.2em .5em 1.2em 3.5em;
+ margin:0 0 1em;
+ color: #000;
+ background-color: #ffc;
+ background-image: url(images/messages-status.png);
+ background-repeat: no-repeat;
+ background-position:.5em center;
+ font-style: italic;
+}
+
+.page-node .messages,
+.page-comment .messages {
+ font-size:1.2em;
+}
+/* Normal priority messages */
+div.status {
+ background-color: #ffc;
+ border-color: #ff7;
+}
+
+/* Medium priority messages */
+div.warning {
+ border-color: #fc0;
+ background-image: url(images/messages-warning.png);
+}
+
+div.warning,
+tr.warning,
+body.section-admin tr.warning{
+ color: #000; /* Drupal core uses #220 */
+ background-color: #ffc;
+}
+
+/* High priority messages. See also the .error declaration below. */
+div.error {
+ /* border: .1em solid #d77; */ /* Drupal core uses: .1em solid #d77 */
+ border-color: #c00;
+ background-image: url(images/messages-error.png);
+}
+
+div.error,
+tr.error,
+body.section-admin tr.error{
+ color: #900; /* Drupal core uses #200 */
+ background-color: #fee;
+}
+
+div.messages ul {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+/* Help text on a page */
+.help
+ {
+ margin:0 0 2em;
+ padding:.8em;
+ background:#FFFFDD;
+ border: .1em #F0C020 solid;
+}
+
+/* Tabs */
+div.tabs
+ {
+ font-size:1.2em;
+}
+
+.tabs ul{
+ margin:0;
+}
+
+ul.secondary{
+ background:#fff;
+ padding:0.8em 1em;
+}
+
+ul.secondary li{
+ padding:0;
+}
+
+.secondary li a{
+ background:#FFF;
+ padding:0.3em;
+}
+
+.secondary li a:hover{
+ background:#F0EEE8;
+}
+
+/** Main Content **/
+#page {
+ padding:2em 0;
+ background:url(images/main-content.gif) no-repeat top center;
+ border-top:.1em solid #c6dee7;
+ border-bottom:1em solid #d0dce2;
+}
+
+.main {
+ width:94em;
+ margin:0 auto;
+}
+
+.main-inner {
+ float:left;
+}
+
+.post {
+ border-bottom:2.5em #E0EDF3 solid;
+}
+
+.post-meta {
+ margin:0 0 2.3em 0;
+ border-bottom:.1em solid #FFF;
+ position:relative;
+}
+
+.post-meta h3 {
+ font:bold 3.4em Arial, Helvetica, sans-serif;
+ color:#30393d;
+}
+
+h3 a:link,
+h3 a:active,
+h3 a:visited {
+ color:#30393d;
+}
+
+h3 a:hover {
+ color:#54798b;
+}
+
+h3.post-title {
+ margin:0;
+ width:12em;
+ height:auto;
+ border-bottom:.12em solid #30393d;
+ padding:.13em 0;
+}
+
+.post-info {
+ text-align:right;
+ font:1.1em Georgia, "Times New Roman", Times, serif;
+ color:#81888d;
+ margin:0;
+ padding:1em .5em;
+ width:19em;
+ height:auto;
+ bottom:0;
+ right:0;
+ position:absolute;
+ border-bottom:0.4em solid #889398;
+}
+
+.post-info span {
+ font-size:1.4em;
+ display:block;
+}
+
+.post-info span a:link,
+.post-info span a:active,
+.post-info span a:visited {
+ color:#1e1c1a;
+ text-decoration:none;
+}
+
+.post-info span a:hover {
+ color:#f23183;
+}
+
+.post-box {
+ background:#fdfefe url( images/post-box-top.gif) repeat-x top center;
+ border-top:0;
+ font-size:1.1em;
+}
+
+.post-content {
+ border:.1em solid #FFF;
+ border-bottom:.1em solid #e8ebec;
+ padding:2.2em 2.2em 1.1em;
+ position:relative;
+}
+
+.comment-count {
+ width:auto;
+ height:auto;
+ background:#f23183;
+ position:absolute;
+ display:block;
+ top:-1em;
+ left:-1em;
+}
+
+.comment-count a:link,
+.comment-count a:active,
+.comment-count a:visited {
+ padding:.5em 1em;
+ font:bold 2.1em Arial, Helvetica, sans-serif;
+ color:#FFF;
+ display:block;
+}
+
+.comment-count a:hover {
+ background:#ea2f7e;
+}
+
+.post-image,
+.post-image-inner {
+ margin:0 auto 1em auto;
+ width:auto;
+ height:auto;
+ display:block;
+}
+
+.post-image-inner {
+ margin:0 auto 1em 1.5em;
+ float:right;
+}
+
+.post-image images,
+.post-image-inner images {
+ margin:0 auto;
+ padding:.3em;
+ border-left:.1em solid #e8e8e8;
+ border-right:.1em solid #e8e8e8;
+ border-bottom:.1em solid #e7e8e8;
+ text-align:center;
+ display:block;
+}
+
+.post-intro {
+ color:#5E6568;
+ font-size: 1.2em;
+ line-height: 1.55em;
+ margin:1.5em 0;
+}
+
+.post-intro strong {
+ font:bold 1.33em Arial, Helvetica, sans-serif;
+ color:#30393d;
+ line-height:2.1em;
+}
+
+.teaser {
+ padding:2.2em 2.2em 1.1em;
+}
+
+.full {
+ padding:1.5em 2.2em 1.1em;
+}
+
+.post-footer {
+ padding:2.3em;
+ background:#fcfdfe;
+ border-top:.1em solid #FFF;
+ position:relative;
+ z-index:100;
+}
+
+.continue-reading {
+ width:18em;
+ height:auto;
+ float:left;
+}
+
+.continue-reading a:link,
+.continue-reading a:active,
+.continue-reading a:visited {
+ font:bold italic 1.4em Georgia, "Times New Roman", Times, serif;
+ color:#bd4478;
+}
+
+.continue-reading a:hover {
+ color:#f2307f;
+}
+
+.category-menu {
+ width:35em;
+ height:auto;
+ float:right;
+ text-align:right;
+ position:absolute;
+ right:1em;
+}
+
+.category-menu a {
+ display:inline-block;
+ height:2.5em;
+ outline:0;
+ font:1.2em Georgia, "Times New Roman", Times, serif;
+ color:#7f7d7e;
+}
+
+.indicator {
+ width:.7em;
+ height:.5em;
+ background:url( images/expand.gif) no-repeat center left;
+ display:inline-block;
+ vertical-align:top;
+ margin:.6em 0 0 0;
+}
+
+/* Pager - A list of page numbers when more than 1 page of content is available */
+.item-list .pager {
+ padding:.7em 5.3em 1em 0;
+ font-size:1.1em;
+}
+
+.item-list .pager li {
+ margin:.2em 0;
+ padding:0;
+}
+
+.item-list .pager a {
+ color:#F2307F;
+ background:#fff;
+ border:.1em solid #CECECE;
+ padding:.5em .7em;
+}
+
+.item-list .pager .pager-current {
+ background:#EA2F7E;
+ border:.1em solid #EA2F7E;
+ color:#fff;
+ margin:.2em;
+ padding:0.5em .7em;
+}
+
+.pager a:hover,
+.pager a:active,
+.pager a:focus {
+ color:#fff;
+ background:#EA2F7E;
+ border-color:#BD4478;
+}
+
+/** Comment **/
+
+#comments {
+ margin:4.5em 0 0;
+ position:relative;
+}
+
+#comment-head {
+ background:#F3F8FA;
+ height:1.6em;
+ border-color:#FFFFFF #FFFFFF #F3F8FA;
+ border-style:solid;
+ border-width:.1em;
+}
+
+#comments .box {
+ padding:1.5em;
+ margin:3em 0;
+ background:#E0EDF3;
+}
+
+.comment {
+ padding:3em;
+ border-color:#F3F8FA #FFFFFF #d9e1e6;
+ border-style:solid;
+ border-width:.1em;
+}
+
+.comment-links {
+ float:right;
+}
+
+.comment-links a {
+ font-size:1.1em;
+ color:#F9FCFD;
+}
+
+#comments .odd {
+ background:#F3F8FA;
+}
+
+#comments .even {
+ background:#F9FCFD url( images/white.gif) repeat-x scroll center bottom;
+}
+
+#comments p {
+ font-size:1.2em;
+}
+
+#comment-form .post-info {
+ font-size:1em;
+}
+
+.comment .comment-author {
+ width:auto;
+ height:auto;
+ margin:1em 0;
+}
+
+.picture {
+ margin:0 1em 0 0;
+ padding:.1em 0 0 .2em;
+ width:4.1em;
+ height:4em;
+ background:url( images/avatar.gif) no-repeat top center;
+ float:left;
+}
+
+.author {
+ font:1.8em Arial, Helvetica, sans-serif;
+ color:#3c4d54;
+ margin:.2em 0 0 0;
+ width:auto;
+ height:auto;
+ float:left;
+}
+
+.author a:link,
+.author a:active,
+.author a:visited {
+ color:#3c4d54;
+}
+
+.author strong span,
+.author strong span a:link,
+.author strong span a:active,
+.author strong span a:visited {
+ color:#6b8894;
+ display:inline;
+}
+
+.author span {
+ font:.6em Georgia, "Times New Roman", Times, serif;
+ color:#a3aeb2;
+ display:block;
+}
+
+h3.post-title-small {
+ font-size:1.8em;
+ margin:0;
+ padding:.5em 0;
+ width:20em;
+ height:auto;
+ border-bottom:.23em solid #30393d;
+}
+
+.comment-form {
+ background:#fdfefe url( images/post-box-top.gif) repeat-x top center;
+ border:.1em solid #dce7ed;
+ border-bottom:.1em solid #cfdbe1;
+ border-top:0;
+ padding:1.5em 2.2em;
+ position:relative;
+}
+
+.box .comment-form .form-submit {
+ margin:0 0 1.5em 0;
+ width:9.7em;
+ background:url( images/submit-comment.gif) no-repeat top center;
+ display:inline-block;
+ outline:0;
+ border:0;
+}
+
+.comment-form input{
+ width:18.7em;
+}
+
+.comment-form label{
+ position:absolute;
+ color:#5E6568;
+ font-size:0.8em;
+ font-weight:normal !important;
+ left:28.1em;
+ margin:0.4em 0;
+}
+
+#edit-comment-wrapper label {
+ display:none;
+}
+
+.comment-content {
+ background:#f3f8fa;
+ border-bottom:0;
+ padding:0;
+}
+
+.box .post {
+ font-size:.9em;
+}
+
+.box .post-intro {
+ font-size:1.1em;
+}
+
+/** Side Bar **/
+.sidebar {
+ float:right;
+ margin-right:2em;
+ width:32em;
+}
+
+.sidebar .block {
+ background:#f5fbfe url( images/sidebar-bottom.gif) no-repeat bottom center;
+ margin:0 0 2em 1.5em;
+ padding:0 0 5.6em;
+}
+
+.sidebar .block h2 {
+ padding:1.2em 0 0 1em;
+ width:12.5em;
+ height:2em;
+ background:#f5fbfe url( images/sidebar-top.gif) no-repeat top center;
+ font:bold 2.25em Arial, Helvetica, sans-serif;
+ color:#587682;
+ margin:0;
+}
+
+.sidebar .block .content {
+ margin:auto;
+ width:24.5em;
+}
+
+.sidebar ul{
+ line-height:1.6em;
+ padding:0;
+ margin:0;
+ list-style:none;
+}
+
+.sidebar a.active {
+ color:#34393E;
+ background: #F3F8FA;
+}
+
+.sidebar li a {
+ display:block;
+ padding:.5em;
+ color:#5A656A;
+ font:bold 1.4em Arial, Helvetica, sans-serif;
+ border-bottom:.1em solid #D9E1E6;
+ height: 1%;
+}
+
+.sidebar li a:hover{
+ background: #F3F8FA;
+ color:#34393E;
+}
+
+.sidebar ul li{
+ padding:0;
+ list-style:none;
+ margin:0;
+}
+
+.sidebar ul li ul{
+ padding-left:2em;
+ list-style:none;
+}
+
+.sidebar-post{
+ margin:0 0 1.5em;
+ width:auto;
+}
+
+.sidebar-preview {
+ height:6.5em;
+ padding:0.3em 0 0 0.4em;
+ width:11em;
+ background:#FFF url( images/sidebar-preview-back.gif) no-repeat top center;
+ float:left;
+}
+
+.sidebar-content {
+ width:12em;
+ height:auto;
+ float:right;
+}
+
+.sidebar-content a {
+ color:#5A656A;
+ font:bold 1.4em Arial, Helvetica, sans-serif;
+ display:block;
+}
+.sidebar-content span {
+ margin:.5em 0 0 0;
+ font:normal 1em Arial, Helvetica, sans-serif;
+ color:#709cb0;
+ display:block;
+}
+
+.more-link {
+ margin:1.3em 0 0;
+ position:absolute;
+}
+
+.more-link a{
+ color:#A6B5BC;
+ font:bold 1.4em Arial, Helvetica, sans-serif;
+}
+.more-link a:hover{
+ color:#5A656A;
+}
+
+/** Footer **/
+#footer {
+ margin:0;
+ padding:2.7em 0;
+ width:auto;
+ height:auto;
+ background:#171615 url( images/footer-stroke.gif) repeat-x top center;
+ border-top:.1em solid #171615;
+ border-bottom:.1em solid #1e1d1d;
+}
+
+.footer-inner {
+ background:url( images/footer-divider.gif) repeat-y top left;
+ margin:auto;
+ width:94em;
+}
+
+.footer-left {
+ float:left;
+ width:34em;
+}
+
+.footer-right {
+ float:right;
+ width:58em;
+}
+
+#footer .block {
+ background:none;
+}
+
+#footer .block .content {
+ margin:0;
+ width:100%;
+}
+
+#footer h2 {
+ background:none;
+ font:bold 2.1em Arial, Helvetica, sans-serif;
+ color:#fefefe;
+ margin:0 0 1em;
+}
+
+#footer ul {
+ padding:0;
+}
+
+#footer li {
+ background:transparent url(images/footer-cat-left.gif) no-repeat scroll left top;
+ float:left;
+ height:auto;
+ margin:.5em 0;
+ padding:0 0 0 .7em;
+ width:11.5em;
+ font-size:1.3em;
+ list-style:none;
+}
+
+#footer li a {
+ background:transparent url(images/footer-cat-right.gif) no-repeat scroll right top;
+ display:block;
+ float:left;
+ height:1.75em;
+ line-height:1.75em;
+ margin:0;
+ padding:0 .9em 0 0;
+ width:auto;
+}
+
+#footer li a:link,
+#footer li a:active,
+#footer li a:visited {
+ font-family:Georgia, "Times New Roman", Times, serif;
+ color:#a7a7a7;
+}
+
+#footer li a:link span,
+#footer li a:active span,
+#footer li a:visited span {
+ color:#FF00FF;
+}
+
+#footer li:hover,
+#footer li:hover a {
+ background-position:0% -1.75em;
+ color:#171615;
+ cursor:pointer;
+}
+
+#footer li:hover a {
+background-position:100% -1.75em;
+}
+
+.footer-right{
+ width:58em;
+ height:auto;
+ float:right;
+}
+
+.footer-right p{
+ margin:0 0 1em 0;
+ font:1.1em Arial, Helvetica, sans-serif;
+ color:#b2b2b2;
+ line-height:1.5em;
+}
+
+p.copyright {
+ margin:1em 0 0 0;
+ font:.9em Arial, Helvetica, sans-serif;
+ color:#404040;
+}
+
+#link-back {
+ padding:1.5em 0;
+ background:#0c0b0b;
+}
+
+.footer-message {
+ height:auto;
+ color:#B2B2B2;
+ width:94em;
+ margin:auto;
+}
+
+/** Clearfix **/
+.clearfix:after {
+ content: " ";
+ display: block;
+ clear: both;
+ visibility: hidden;
+ line-height: 0;
+ height: 0;
+}
+
+.clearfix {
+ display: inline-block;
+}
+
+html[xmlns] .clearfix {
+ display: block;
+}
+
+* html .clearfix {
+ height: 1%;
+}
+
+/** Admin **/
+.node-form,
+.node-type-list,
+#forum,
+#contact-mail-page,
+#node-delete-confirm,
+#search-form,
+#user-profile-form,
+.profile,
+#contact-mail-user,
+.box,
+.page-admin {
+ padding:1.5em 2.2em 1.1em;
+ background:#FDFEFE url(images/post-box-top.gif) repeat-x scroll center top;
+ border-top:0 none;
+ font-size:1.2em;
+ width:44em;
+}
+
+.page-admin .post-info {
+ font-size:1em;
+}
+
+.block-region {
+ background:none;
+ border:.2em dashed #F23183;
+ font-size:1.3em;
+ padding:1em;
+ text-align:center;
+}
+
+/** Drupal forms **/
+/* Wrapper for a form element (or group of form elements) and its label */
+.form-item,
+.form-checkboxes,
+.form-radios {
+ margin: 1em 0;
+}
+
+select {
+ padding:0;
+}
+/* Highlight the form elements that caused a form submission error */
+.form-item input.error,
+.form-item textarea.error,
+.form-item select.error{
+ border: .2em solid #c00;
+}
+
+/* The label for a form element */
+.form-item label {
+ display: block;
+ font-weight: bold;
+ color:#000;
+}
+
+/* The label for a radio button or checkbox */
+.form-item label.option {
+ display: inline;
+ font-weight: normal;
+}
+
+/* The part of the label that indicates a required field */
+.form-required {
+ color: #c00;
+}
+
+/* The descriptive help text (separate from the label) */
+.form-item .description {
+ font-size: 0.85em;
+}
+/* Pack groups of checkboxes and radio buttons closer together */
+.form-checkboxes .form-item,
+.form-radios .form-item {
+ margin: 0.4em 0;
+}
+
+/* The submit button */
+.form-submit
+ {
+ background:#202020;
+ color:#fff;
+ font-size:1.2em;
+ padding:.3em;
+}
+
+.form-submit:hover,
+.form-submit:active,
+.form-submit:focus {
+ cursor: pointer;
+ background:#EA2F7E;
+ color:#fff;
+ border:.1em solid #EA2F7E;
+}
+
+/* Focus */
+.focus {
+ background:#F5FBFE;
+}
+
+.form-item:hover input,
+.form-item:hover textarea,
+.form-item:hover select {
+ color:#000;
+}
+
+.form-item:hover {
+ background:#F5FBFE;
+ color:#000 !important;
+}
+
+/* Inline labels and form divs */
+.container-inline div,
+.container-inline label {
+ display: inline;
+}
+
+/* Tips for Drupal's input formats */
+.tips {
+ margin:0 0 0 1em;
+ padding: 0;
+ font-size: 0.9em;
+}
+
+/** Tables **/
+table {
+ margin: 1em 0;
+ width: 100%;
+}
+
+thead th {
+ border-bottom: .2em solid #d3e7f4;
+ color: #494949;
+ font-weight: bold;
+}
+
+th a:link, th a:visited {
+ color:#30393D;
+}
+
+td, th {
+ padding: .3em .5em;
+}
+
+tr.odd, tr.info {
+ background-color: #edf5fa;
+ border-bottom:.1em #D3E7F4 solid;
+}
+
+tr.even {
+ background-color: #fff;
+ border-bottom:.1em #D3E7F4 solid;
+}
+
+tr.drag {
+ background-color: #fffff0;
+}
+
+tr.drag-previous {
+ background-color: #ffd;
+}
+
+tr.odd td.active {
+ background-color: #ddecf5;
+}
+
+tr.even td.active {
+ background-color: #e6f1f7;
+}
+
+td.region, td.module,
+td.container, td.category {
+ border-top: 1.5em solid #fff;
+ background-color: #d4e7f3;
+ color: #455067;
+ font-weight: bold;
+}
+
+tr:first-child td.region,
+tr:first-child td.module,
+tr:first-child td.container,
+tr:first-child td.category {
+ border-top-width: 0;
+}
+
+td.block {
+ background:none;
+ border:none;
+ padding:0;
+}
+/* View Admin Link */
+.views-admin-links .links{
+ width:100%;
+ margin:0;
+ padding:0;
+}
+
+div.view div.views-admin-links a{
+ display:inline;
+ padding:0;
+}
+
+/* Animated throbber */
+html.js input.form-autocomplete {
+ background-image: url(images/throbber.gif);
+ background-repeat: no-repeat;
+ background-position: 100% .6em; /* LTR */
+}
+html.js input.throbbing {
+ background-position: 100% -1.1em; /* LTR */
+}
+
+fieldset,
+html.js fieldset.collapsible {
+ border: .1em #D9EAF5 solid;
+}
+
+html.js fieldset.collapsed {
+ border-bottom-width:0;
+ border-left-width:0;
+ border-right-width:0;
+ height:1em;
+ margin-bottom:0;
+}
+div.teaser-button-wrapper input{
+ padding:0;
+}
+
+/* Profile */
+#user-profile-form .picture {
+ width:3.4em;
+}
+
+.profile .picture {
+ float:right;
+ margin:0 1em 1em 0;
+ width:3.4em;
+}
+
+fieldset legend {
+ color:#F23183;
+}
+/* Hide Display */
+.hide {
+ display:none;
+}
+
+/* Ads */
+.sponsored-ad {
+ margin:0 0 0 1.7em;
+}
+
+.sponsored-ad .ad {
+ margin:auto auto .8em .5em;
+ font:0.92em Arial, Helvetica, sans-serif;
+ color:#9caab1;
+}
diff --git a/template.php b/template.php
new file mode 100644
index 0000000..ebddb2e
--- /dev/null
+++ b/template.php
@@ -0,0 +1,208 @@
+<?php
+// $Id:
+
+/*
+* Initialize theme settings
+*/
+if (is_null(theme_get_setting('user_notverified_display'))) {
+ global $theme_key;
+
+ /**
+ * The default values for the theme variables. Make sure $defaults exactly
+ * matches the $defaults in the theme-settings.php file.
+ */
+ $defaults = array(
+ 'breadcrumb_display' => 0,
+ 'user_notverified_display' => 1,
+ 'front_page_title_display' => 'title_slogan',
+ 'page_title_display_custom' => '',
+ 'other_page_title_display' => 'ptitle_slogan',
+ 'other_page_title_display_custom' => '',
+ 'configurable_separator' => ' | ',
+ 'meta_keywords' => '',
+ 'meta_description' => '',
+ );
+
+ // Get default theme settings.
+ $settings = theme_get_settings($theme_key);
+
+
+ // Don't save the toggle_node_info_ variables
+ if (module_exists('node')) {
+ foreach (node_get_types() as $type => $name) {
+ unset($settings['toggle_node_info_'. $type]);
+ }
+ }
+ // Save default theme settings
+ variable_set(
+ str_replace('/', '_', 'theme_'. $theme_key .'_settings'),
+ array_merge($defaults, $settings)
+ );
+ // Force refresh of Drupal internals
+ theme_get_setting('', TRUE);
+}
+
+/**
+ * Modify theme variables
+ */
+
+function phptemplate_preprocess_page(&$vars) {
+
+ // Hide breadcrumb on all pages
+ if (theme_get_setting('breadcrumb_display') == 0) {
+ $vars['breadcrumb'] = '';
+ }
+
+ // Set site title, slogan, mission, page title & separator
+ $title = t(variable_get('site_name', ''));
+ $slogan = t(variable_get('site_slogan', ''));
+ $mission = t(variable_get('site_mission', ''));
+ $page_title = t(drupal_get_title());
+ $title_separator = theme_get_setting('configurable_separator');
+ if (drupal_is_front_page()) { // Front page title settings
+ switch (theme_get_setting('front_page_title_display')) {
+ case 'title_slogan':
+ $vars['head_title'] = drupal_set_title($title . $title_separator . $slogan);
+ break;
+ case 'slogan_title':
+ $vars['head_title'] = drupal_set_title($slogan . $title_separator . $title);
+ break;
+ case 'title_mission':
+ $vars['head_title'] = drupal_set_title($title . $title_separator . $mission);
+ break;
+ case 'custom':
+ if (theme_get_setting('page_title_display_custom') !== '') {
+ $vars['head_title'] = drupal_set_title(t(theme_get_setting('page_title_display_custom')));
+ }
+ }
+ }
+ else { // Non-front page title settings
+ switch (theme_get_setting('other_page_title_display')) {
+ case 'ptitle_slogan':
+ $vars['head_title'] = drupal_set_title($page_title . $title_separator . $slogan);
+ break;
+ case 'ptitle_stitle':
+ $vars['head_title'] = drupal_set_title($page_title . $title_separator . $title);
+ break;
+ case 'ptitle_smission':
+ $vars['head_title'] = drupal_set_title($page_title . $title_separator . $mission);
+ break;
+ case 'ptitle_custom':
+ if (theme_get_setting('other_page_title_display_custom') !== '') {
+ $vars['head_title'] = drupal_set_title($page_title . $title_separator . t(theme_get_setting('other_page_title_display_custom')));
+ }
+ break;
+ case 'custom':
+ if (theme_get_setting('other_page_title_display_custom') !== '') {
+ $vars['head_title'] = drupal_set_title(t(theme_get_setting('other_page_title_display_custom')));
+ }
+ }
+ }
+ $vars['head_title'] = strip_tags($vars['head_title']); // Remove any potential html tags
+
+ // Add meta tag on all pages
+ if (!module_exists('nodewords')) {
+ if (theme_get_setting('meta_keywords') !== '') {
+ $keywords = '<meta name="keywords" content="'. theme_get_setting('meta_keywords') .'" />';
+ $vars['head'] .= $keywords ."\n";
+ }
+ if (theme_get_setting('meta_description') !== '') {
+ $keywords = '<meta name="description" content="'. theme_get_setting('meta_description') .'" />';
+ $vars['head'] .= $keywords ."\n";
+ }
+ }
+
+}
+
+/**
+ * Override username theming to display/hide 'not verified' text
+ */
+function phptemplate_username($object) {
+ if ($object->uid && $object->name) {
+ // Shorten the name when it is too long or it will break many tables.
+ if (drupal_strlen($object->name) > 20) {
+ $name = drupal_substr($object->name, 0, 15) .'...';
+ }
+ else {
+ $name = $object->name;
+ }
+ if (user_access('access user profiles')) {
+ $output = l($name, 'user/'. $object->uid, array('attributes' => array('title' => t('View user profile.'))));
+ }
+ else {
+ $output = check_plain($name);
+ }
+ }
+ else if ($object->name) {
+ // Sometimes modules display content composed by people who are
+ // not registered members of the site (e.g. mailing list or news
+ // aggregator modules). This clause enables modules to display
+ // the true author of the content.
+ if (!empty($object->homepage)) {
+ $output = l($object->name, $object->homepage, array('attributes' => array('rel' => 'nofollow')));
+ }
+ else {
+ $output = check_plain($object->name);
+ }
+ // Display or hide 'not verified' text
+ if (theme_get_setting('user_notverified_display') == 1) {
+ $output .= ' ('. t('not verified') .')';
+ }
+ }
+ else {
+ $output = variable_get('anonymous', t('Anonymous'));
+ }
+ return $output;
+}
+
+/**
+ * Adds 'width940' or 'width580' classes to the main content as needed.
+ */
+
+function mainwidth_class( $dock ) {
+
+ $mainwidth = 'width940';
+ if ( $dock ) {$mainwidth = 'width580';}
+ print $mainwidth;
+}
+
+
+/**
+ * Generates IE CSS links for .
+ */
+
+function phptemplate_get_ie_styles() {
+ global $language;
+
+ $iecss = '<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . path_to_theme() .'/ie.css" />';
+
+ return $iecss;
+}
+
+/**
+ * Theme FORM.
+ */
+function magazeen_theme(){
+ return array(
+ 'comment_form' => array(
+ 'arguments' => array('form' => NULL),
+ 'template' => 'comment-form',
+ ),
+ );
+}
+
+ function magazeen_preprocess_comment_form(&$vars) {
+ $vars['submit'] = drupal_render($vars['form']['submit']);
+ $vars['preview'] = drupal_render($vars['form']['preview']);
+
+ $vars['subject'] = drupal_render($vars['form']['subject']);
+ $vars['comment'] = drupal_render($vars['form']['comment_filter']['comment']);
+ $vars['form']['name']['#title'] = t('Name (required)');
+ $vars['name'] = drupal_render($vars['form']['name']);
+ $vars['form']['mail']['#title'] = t('Mail (will not be published) (required)');
+ $vars['mail'] = drupal_render($vars['form']['mail']);
+ $vars['form']['homepage']['#title'] = t('Website');
+ $vars['homepage'] = drupal_render($vars['form']['homepage']);
+ $vars['comment_preview'] = drupal_render($vars['form']['comment_preview']);
+ }
+//dsm($vars['form']); \ No newline at end of file
diff --git a/theme-settings.php b/theme-settings.php
new file mode 100644
index 0000000..9a8b5b1
--- /dev/null
+++ b/theme-settings.php
@@ -0,0 +1,175 @@
+<?php
+// $Id:
+
+/**
+* Implementation of THEMEHOOK_settings() function.
+*
+* @param $saved_settings
+* array An array of saved settings for this theme.
+* @return
+* array A form array.
+*/
+function phptemplate_settings($saved_settings) {
+
+ /**
+ * The default values for the theme variables. Make sure $defaults exactly
+ * matches the $defaults in the template.php file.
+ */
+ $defaults = array(
+ 'breadcrumb_display' => 0,
+ 'user_notverified_display' => 1,
+ 'front_page_title_display' => 'title_slogan',
+ 'page_title_display_custom' => '',
+ 'other_page_title_display' => 'ptitle_slogan',
+ 'other_page_title_display_custom' => '',
+ 'configurable_separator' => ' | ',
+ 'meta_keywords' => '',
+ 'meta_description' => '',
+ );
+
+ // Merge the saved variables and their default values
+ $settings = array_merge($defaults, $saved_settings);
+
+
+ // Create theme settings form widgets using Forms API
+
+ // Breadcrumb
+ $form['tnt_container']['general_settings']['breadcrumb'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Breadcrumb'),
+ '#collapsible' => TRUE,
+ '#collapsed' => FALSE,
+ );
+ $form['tnt_container']['general_settings']['breadcrumb']['breadcrumb_display'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Display breadcrumb'),
+ '#default_value' => $settings['breadcrumb_display'],
+ );
+
+ // Username
+ $form['tnt_container']['general_settings']['username'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Username'),
+ '#collapsible' => TRUE,
+ '#collapsed' => FALSE,
+ );
+ $form['tnt_container']['general_settings']['username']['user_notverified_display'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Display "not verified" for unregistered usernames'),
+ '#default_value' => $settings['user_notverified_display'],
+ );
+
+ // SEO settings
+ $form['tnt_container']['seo'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Search engine optimization (SEO) settings'),
+ '#collapsible' => TRUE,
+ '#collapsed' => FALSE,
+ );
+ // Page titles
+ $form['tnt_container']['seo']['page_format_titles'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Page titles'),
+ '#description' => t('This is the title that displays in the title bar of your web browser. Your site title, slogan, and mission can all be set on your Site Information page'),
+ '#collapsible' => TRUE,
+ '#collapsed' => FALSE,
+ );
+ // front page title
+ $form['tnt_container']['seo']['page_format_titles']['front_page_format_titles'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Front page title'),
+ '#description' => t('Your front page in particular should have important keywords for your site in the page title'),
+ '#collapsible' => TRUE,
+ '#collapsed' => TRUE,
+ );
+ $form['tnt_container']['seo']['page_format_titles']['front_page_format_titles']['front_page_title_display'] = array(
+ '#type' => 'select',
+ '#title' => t('Set text of front page title'),
+ '#collapsible' => TRUE,
+ '#collapsed' => FALSE,
+ '#default_value' => $settings['front_page_title_display'],
+ '#options' => array(
+ 'title_slogan' => t('Site title | Site slogan'),
+ 'slogan_title' => t('Site slogan | Site title'),
+ 'title_mission' => t('Site title | Site mission'),
+ 'custom' => t('Custom (below)'),
+ ),
+ );
+ $form['tnt_container']['seo']['page_format_titles']['front_page_format_titles']['page_title_display_custom'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Custom'),
+ '#size' => 60,
+ '#default_value' => $settings['page_title_display_custom'],
+ '#description' => t('Enter a custom page title for your front page'),
+ );
+ // other pages title
+ $form['tnt_container']['seo']['page_format_titles']['other_page_format_titles'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Other page titles'),
+ '#collapsible' => TRUE,
+ '#collapsed' => TRUE,
+ );
+ $form['tnt_container']['seo']['page_format_titles']['other_page_format_titles']['other_page_title_display'] = array(
+ '#type' => 'select',
+ '#title' => t('Set text of other page titles'),
+ '#collapsible' => TRUE,
+ '#collapsed' => FALSE,
+ '#default_value' => $settings['other_page_title_display'],
+ '#options' => array(
+ 'ptitle_slogan' => t('Page title | Site slogan'),
+ 'ptitle_stitle' => t('Page title | Site title'),
+ 'ptitle_smission' => t('Page title | Site mission'),
+ 'ptitle_custom' => t('Page title | Custom (below)'),
+ 'custom' => t('Custom (below)'),
+ ),
+ );
+ $form['tnt_container']['seo']['page_format_titles']['other_page_format_titles']['other_page_title_display_custom'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Custom'),
+ '#size' => 60,
+ '#default_value' => $settings['other_page_title_display_custom'],
+ '#description' => t('Enter a custom page title for all other pages'),
+ );
+
+ // SEO configurable separator
+ $form['tnt_container']['seo']['page_format_titles']['configurable_separator'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Title separator'),
+ '#description' => t('Customize the separator character used in the page title'),
+ '#size' => 60,
+ '#default_value' => $settings['configurable_separator'],
+ );
+
+ // Metadata
+ $form['tnt_container']['seo']['meta'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Meta tags'),
+ '#description' => t('Meta tags aren\'t used much by search engines anymore, but the meta description is important -- this is what will be shown as the description of your link in search engine results. NOTE: For more advanced meta tag functionality, check out the Meta Tags (aka. Node Words) module. These theme settings do not work in conjunction with this module and will not appear if you have it enabled.'),
+ '#collapsible' => TRUE,
+ '#collapsed' => FALSE,
+ );
+ if (module_exists('nodewords') == FALSE) {
+ $form['tnt_container']['seo']['meta']['meta_keywords'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Meta keywords'),
+ '#description' => t('Enter a comma-separated list of keywords'),
+ '#size' => 60,
+ '#default_value' => $settings['meta_keywords'],
+ );
+ $form['tnt_container']['seo']['meta']['meta_description'] = array(
+ '#type' => 'textarea',
+ '#title' => t('Meta description'),
+ '#cols' => 60,
+ '#rows' => 6,
+ '#default_value' => $settings['meta_description'],
+ );
+ } else {
+ $form['tnt_container']['seo']['meta']['#description'] = 'NOTICE: You currently have the "nodewords" module installed and enabled, so the meta tag theme settings have been disabled to prevent conflicts. If you later wish to re-enable the meta tag theme settings, you must first disable the "nodewords" module.';
+ $form['tnt_container']['seo']['meta']['meta_keywords']['#disabled'] = 'disabled';
+ $form['tnt_container']['seo']['meta']['meta_description']['#disabled'] = 'disabled';
+ }
+
+ // Return theme settings form
+ return $form;
+}
+