6 * This is an example stylesheet. Sub-themes should NOT include the zen/zen.css
7 * file, but instead copy this CSS to their own stylesheets.
9 * In this stylesheet, we have included all of the classes and IDs from this
10 * theme's tpl.php files. We have also included many of the useful Drupal core
11 * styles to make it easier for theme developers to see them.
13 * Many of these styles are over-riding Drupal's core stylesheets, so if you
14 * remove a declaration from here, the styles may still not be what you want
15 * since Drupal's core stylesheets are still styling the element. See the
16 * drupal6-reference.css file for a list of all Drupal 5.x core styles.
18 * In addition to the style declarations in this file, other Drupal styles that
19 * you might want to override or augment are those for:
21 * Book Navigation See line 74 of Zen's drupal6-reference.css file
22 * Forum See line 197 of Zen's drupal6-reference.css file
23 * Menus See line 667 of Zen's drupal6-reference.css file
24 * News Aggregator See line 20 of Zen's drupal6-reference.css file
25 * Polls See line 287 of Zen's drupal6-reference.css file
26 * Search See line 320 of Zen's drupal6-reference.css file
27 * User Profiles See line 945 of Zen's drupal6-reference.css file
55 #logo-title /* Wrapper for logo, website name, and slogan */
59 #logo /* Wrapper for logo */
65 #logo-image /* The actual logo image */
69 h1#site-name, div#site-name /* The name of the website */
80 text-decoration: none;
85 text-decoration: underline;
88 #site-slogan /* The slogan (or tagline) of a website */
92 #header-blocks /* Wrapper for any blocks placed in the header region */
96 /** main (container for everything else) **/
114 #mission /* The mission statement of the site (displayed on homepage) */
118 #content-top /* Wrapper for any blocks placed in the "content top" region */
122 #content-header /* Wrapper for breadcrumb, title, messages, tabs, and help */
126 .breadcrumb /* The path to the current page in the form of a list of links */
128 padding-bottom: 0; /* Undo system.css */
131 h1.title, /* The title of the page */
132 h2.title, /* Block title or the title of a piece of content when it is given in a list of content */
133 h3.title /* Comment title */
138 div.messages /* Important messages (status, warning, and error) for the user */
142 div.status /* Normal priority messages */
146 div.warning, tr.warning /* Medium priority messages */
148 /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
151 div.error, tr.error /* High priority messages. See also the .error declaration below. */
155 div.tabs /* See also the tabs.css file. */
159 .help /* Help text on a page */
164 .more-help-link /* Link to more help */
170 #content-area /* Wrapper for the actual page content */
174 ul.links /* List of links */
189 list-style-type: none;
193 .pager /* A list of page numbers when more than 1 page of content is available */
200 .pager a, .pager strong.pager-current
205 .feed-icons /* The links to the RSS or Atom feeds for the current list of content */
210 #content-bottom /* Wrapper for any blocks placed in the "content bottom" region */
223 #search-box /* Wrapper for the search form */
227 #edit-search-theme-form-1-wrapper label /* Label that says "Search this site:" */
232 #primary /* Primary links */
236 #secondary /* Secondary links */
249 /** sidebar-right **/
267 #footer-message /* Wrapper for the footer message from Drupal's "Site information"
268 and for any blocks placed in the footer region */
273 #closure-blocks /* Wrapper for any blocks placed in the closure region */
278 .node /* Node wrapper */
282 .node-inner /* Additional wrapper for node */
286 .sticky /* A sticky node (displayed before others in a list) */
290 .node-unpublished /* Unpublished nodes */
292 /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */
295 .node-unpublished div.unpublished, /* The word "Unpublished" displayed beneath the content. */
296 .comment-unpublished div.unpublished
303 font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
305 text-transform: uppercase;
307 word-wrap: break-word; /* A very nice CSS3 property */
310 .node-mine /* A node created by the current user */
314 .node-teaser /* A node displayed as teaser */
318 /* All nodes are given a node-type-FOO class that describes the type of
319 * content that it is. If you create a new content type called
320 * "my-custom-type", it will receive a "node-type-my-custom-type" class.
322 .node-type-page /* Page content node */
326 .node-type-story /* Story content node */
330 .node h2.title /* Node title */
334 .marker /* "New" or "Updated" marker for content that is new or updated for the current user */
339 .node .picture /* The picture of the node author */
343 .node.node-unpublished .picture,
344 .comment.comment-unpublished .picture
346 position: relative; /* Otherwise floated pictures will appear below the "Unpublished" text. */
349 .node .meta /* Wrapper for submitted and terms data */
353 .node .submitted /* The "posted by" information */
357 .node .terms /* Node terms (taxonomy) */
361 .node .content /* Node's content wrapper */
365 .node ul.links /* Node links. See also the ul.links declaration above. */
369 .preview .node /* Preview of the content before submitting new or updated content */
371 /* background-color: #ffffea; */ /* Drupal core uses a #ffffea background */
374 /** Drupal comments **/
375 #comments /* Wrapper for the list of comments and its title */
380 #comments-title /* Heading for the list of comments */
384 .comment /* Wrapper for a single comment */
388 .comment-inner /* Additional wrapper for a single comment */
392 .comment-preview /* Preview of the comment before submitting new or updated comment */
396 .comment.new /* A new comment since the user last viewed the page. */
400 .comment.odd /* An odd-numbered comment in the list of comments */
404 .comment.even /* An even-numbered comment in the list of comments */
408 .comment.first /* The first comment in the list of comments */
412 .comment.last /* The last comment in the list of comments */
416 .comment-unpublished /* Unpublished comments */
418 /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */
421 .comment-unpublished div.unpublished /* The word "Unpublished" displayed beneath the content. See also the div.unpublished declaration in the node section above. */
425 .comment-published /* Published comments */
429 .comment-by-anon /* A comment created by an anonymous user */
433 .comment-by-author /* A comment created by the node's author */
437 .comment-mine /* A comment created by the current user */
441 .comment h3.title /* Comment title */
445 .new /* "New" marker for comments that are new for the current user */
450 .comment .picture /* The picture of the comment author */
454 .comment .submitted /* The "posted by" information */
458 .comment .content /* Comment's content wrapper */
462 .comment .user-signature /* The user's signature */
466 .comment ul.links /* Comment links. See also the ul.links declaration above. */
471 .indented /* Nested comments are indented */
473 /* margin-left: 25px; */ /* Drupal core uses a 25px left margin */
476 .preview .comment /* Preview of the comment before submitting new or updated comment */
478 /* background-color: #ffffea; */ /* Drupal core uses a #ffffea background */
481 /** Drupal blocks **/
482 .block /* Block wrapper */
487 .block.region-odd /* Zebra striping for each block in the region */
491 .block.region-even /* Zebra striping for each block in the region */
495 .block.odd /* Zebra striping independent of each region */
499 .block.even /* Zebra striping independent of each region */
503 .region-count-1 /* Incremental count for each block in the region */
507 .count-1 /* Incremental count independent of each region */
511 .block-inner /* Additional wrapper for block */
515 .block h2.title /* Block title */
519 .block .content /* Block's content wrapper */
523 #block-aggregator-category-1 /* Block for the latest news items in the first category */
527 #block-aggregator-feed-1 /* Block for the latest news items in the first feed */
531 #block-block-1 /* First administrator-defined block */
535 #block-blog-0 /* "Recent blog posts" block */
539 #block-book-0 /* "Book navigation" block for the current book's table of contents */
543 #block-comments-0 /* "Recent comments" block */
547 #block-forum-0 /* "Active forum topics" block */
551 #block-forum-1 /* "New forum topics" block */
555 #block-menu-primary-links /* "Primary links" block */
559 #block-menu-secondary-links /* "Secondary links" block */
563 #block-node-0 /* "Syndicate" block for primary RSS feed */
567 #block-poll-0 /* "Most recent poll" block */
571 #block-profile-0 /* "Author information" block for the profile of the page's author */
575 #block-search-0 /* "Search form" block */
579 #block-statistics-0 /* "Popular content" block */
583 #block-user-0 /* "User login form" block */
587 #block-user-1 /* "Navigation" block for Drupal navigation menu */
591 #block-user-2 /* "Who's new" block for a list of the newest users */
595 #block-user-3 /* "Who's online" block for a list of the online users */
600 /* Wrapper for Comment form, Comment viewing options, Menu admin, and
603 .box /* Wrapper for box */
607 .box-inner /* Additional wrapper for box */
611 .box h2.title /* Box title */
615 .box .content /* Box's content wrapper */
619 /** Miscellaneous Drupal styles **/
620 .error /* Errors that are separate from div.messages status messages (see above.) */
622 /* color: #e55; */ /* Drupal core uses a #e55 background */
625 .warning /* Warnings that are separate from div.messages status messages (see above.) */
627 /* color: #e09010; */ /* Drupal core uses a #e09010 background */
630 .more-link /* Aggregator, blog, and forum more link */
635 #user-login-form /* Drupal's default login form */
640 tr.even /* Some tables have rows marked even or odd. */
642 /* background-color: #eee; */ /* Drupal core uses a #eee background */
647 /* background-color: #eee; */ /* Drupal core uses a #eee background */
650 li a.active /* The active item in a Drupal menu */
657 .form-item, /* Wrapper for a form element (or group of form elements) and its label */
664 .form-item input.error, /* Highlight the form elements that caused a form submission error */
665 .form-item textarea.error,
666 .form-item select.error
668 border: 2px solid #c00;
671 .form-item label /* The label for a form element */
677 .form-item label.option /* The label for a radio button or checkbox */
683 .form-required /* The part of the label that indicates a required field */
688 .form-item .description /* The descriptive help text (separate from the label) */
693 .form-checkboxes .form-item, /* Pack groups of checkboxes and radio buttons closer together */
694 .form-radios .form-item
699 .form-submit /* The submit button */
703 .container-inline div, .container-inline label /* Inline labels and form divs */
708 .tips /* Tips for Drupal's input formats */
716 /* The default styling for the OpenID login link seems to assume Garland's
717 * styling of list items.
719 #user-login-form ul /* OpenID creates a new ul above the login form's links. */
721 margin-bottom: 0; /* Position OpenID's ul next to the rest of the links. */
724 #user-login-form li.openid-link, /* The "Log in using OpenID" links. */
725 #user-login li.openid-link
728 margin-left: -20px; /* Un-do some of the padding on the ul list. */
731 #user-login-form li.user-link /* The "Cancel OpenID login" links. */
741 #user-login li.openid-link, /* The OpenID links on the /user form. */
742 #user-login li.user-link
744 margin-left: -2em; /* Un-do all of the padding on the ul list. */
747 /** Drupal admin tables **/
748 /* We overrode these styles in html-elements.css, but restore them for the
753 border-top: 1px solid #ccc;
760 border-bottom: 3px solid #ccc;
765 border-bottom: 1px solid #ccc;
772 border-bottom: 3px solid #ccc;