Make WordPress Core

Changeset 2040


Ignore:
Timestamp:
01/04/2005 05:20:06 AM (19 years ago)
Author:
rboren
Message:

Make Kubrick the new default. The old default is available as the Classic theme.

Location:
trunk/wp-content/themes
Files:
16 added
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/comments.php

    r2032 r2040  
    1 <?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
    2 <p><?php _e('Enter your password to view comments.'); ?></p>
    3 <?php return; endif; ?>
     1<?php // Do not delete these lines
     2    if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
     3        die ('Please do not load this page directly. Thanks!');
    44
    5 <h2 id="comments"><?php comments_number(__('No Comments'), __('1 Comment'), __('% Comments')); ?>
    6 <?php if ( comments_open() ) : ?>
    7     <a href="#postcomment" title="<?php _e("Leave a comment"); ?>">&raquo;</a>
    8 <?php endif; ?>
    9 </h2>
     5        if (!empty($post->post_password)) { // if there's a password
     6            if ($_COOKIE['wp-postpass_'.$cookiehash] != $post->post_password) {  // and it doesn't match the cookie
     7                ?>
     8               
     9                <p class="nocomments"><?php _e("This post is password protected. Enter the password to view comments."); ?><p>
     10               
     11                <?php
     12                return;
     13            }
     14        }
    1015
    11 <?php if ( $comments ) : ?>
    12 <ol id="commentlist">
     16        /* This variable is for alternating comment background */
     17        $oddcomment = 'graybox';
     18?>
    1319
    14 <?php foreach ($comments as $comment) : ?>
    15     <li id="comment-<?php comment_ID() ?>">
    16     <?php comment_text() ?>
    17     <p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php _e('by'); ?> <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p>
    18     </li>
     20<!-- You can start editing here. -->
    1921
    20 <?php endforeach; ?>
     22<?php if ($comments) : ?>
     23    <h3 id="comments"><?php comments_number('No Responses','One Response','% Responses' );?> to '<?php the_title(); ?>'</h3>
    2124
    22 </ol>
     25    <ol class="commentlist">
    2326
    24 <?php else : // If there are no comments yet ?>
    25     <p><?php _e('No comments yet.'); ?></p>
     27    <?php foreach ($comments as $comment) : ?>
     28
     29        <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
     30            <cite><?php comment_author_link() ?></cite> Says:<br />
     31            <!--<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title="<?php comment_date('l, F jS, Y') ?> at <?php comment_time() ?>"><?php /* $entry_datetime = abs(strtotime($post->post_date)); $comment_datetime = abs(strtotime($comment->comment_date)); echo time_since($entry_datetime, $comment_datetime) */ ?></a> after publication. <?php edit_comment_link('e','',''); ?></small>-->
     32            <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
     33           
     34            <?php comment_text() ?>
     35           
     36        </li>
     37       
     38        <?php /* Changes every other comment to a different class */   
     39            if('graybox' == $oddcomment) {$oddcomment="";}
     40            else { $oddcomment = "graybox"; }
     41        ?>
     42
     43    <?php endforeach; /* end for each comment */ ?>
     44
     45    </ol>
     46
     47 <?php else : // this is displayed if there are no comments so far ?>
     48
     49  <?php if ('open' == $post-> comment_status) : ?>
     50        <!-- If comments are open, but there are no comments. -->
     51       
     52     <?php else : // comments are closed ?>
     53        <!-- If comments are closed. -->
     54        <p class="nocomments">Comments are closed.</p>
     55       
     56    <?php endif; ?>
    2657<?php endif; ?>
    2758
    28 <p><?php comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.')); ?>
    29 <?php if ( pings_open() ) : ?>
    30     <a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Uniform Resource Identifier">URI</abbr>'); ?></a>
    31 <?php endif; ?>
    32 </p>
    3359
    34 <?php if ( comments_open() ) : ?>
    35 <h2 id="postcomment"><?php _e('Leave a comment'); ?></h2>
     60<?php if ('open' == $post-> comment_status) : ?>
    3661
    37 <p><?php _e("Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed:"); ?> <code><?php echo allowed_tags(); ?></code></p>
     62<h3 id="respond">Leave a Reply</h3>
     63<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    3864
    39 <form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    40     <p>
    41       <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
    42        <label for="author"><?php _e('Name'); ?></label> <?php if ($req) _e('(required)'); ?>
    43     <input type="hidden" name="comment_post_ID" value="<?php echo $post->ID; ?>" />
    44     <input type="hidden" name="redirect_to" value="<?php echo wp_specialchars($_SERVER['REQUEST_URI']); ?>" />
    45     </p>
     65<p><input type="text" name="author" id="author" class="styled" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
     66<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
     67<label for="author"><small>Name</small></label></p>
    4668
    47     <p>
    48       <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
    49        <label for="email"><?php _e('E-mail'); ?></label> <?php if ($req) _e('(required)'); ?>
    50     </p>
     69<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
     70<label for="email"><small>Mail (will not be published)</small></label></p>
    5171
    52     <p>
    53       <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
    54        <label for="url"><?php _e('<acronym title="Uniform Resource Identifier">URI</acronym>'); ?></label>
    55     </p>
     72<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
     73<label for="url"><small>Website</small></label></p>
    5674
    57     <p>
    58       <label for="comment"><?php _e('Your Comment'); ?></label>
    59     <br />
    60       <textarea name="comment" id="comment" cols="60" rows="4" tabindex="4"></textarea>
    61     </p>
     75<!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>-->
    6276
    63     <p>
    64       <input name="submit" id="submit" type="submit" tabindex="5" value="<?php _e('Say It!'); ?>" />
    65     </p>
    66     <?php do_action('comment_form', $post->ID); ?>
     77<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
     78
     79<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /></p>
     80
     81
    6782</form>
    6883
    69 <?php else : // Comments are closed ?>
    70 <p><?php _e('Sorry, the comment form is closed at this time.'); ?></p>
    71 <?php endif; ?>
     84<?php endif; // if you delete this the sky will fall on your head ?>
  • trunk/wp-content/themes/default/footer.php

    r2032 r2040  
    1 <!-- begin footer -->
     1
     2<hr />
     3<div id="footer">
     4    <p>
     5        <?php bloginfo('name'); ?> is proudly powered by
     6        <a href="http://wordpress.org">WordPress</a>
     7        <br /><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
     8        and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
     9        <!-- <?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. -->
     10    </p>
     11</div>
    212</div>
    313
    4 <?php get_sidebar(); ?>
    5 
    6 <p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></cite></p>
    7 
    8 </div>
     14<!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ -->
     15<?php /* "Just what do you think you're doing Dave?" */ ?>
    916
    1017<?php do_action('wp_footer', ''); ?>
     18
    1119</body>
    1220</html>
  • trunk/wp-content/themes/default/header.php

    r2032 r2040  
    33
    44<head profile="http://gmpg.org/xfn/11">
    5     <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
     5    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    66   
    77    <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
    8     <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
     8    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
     9
     10    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    911
    1012    <style type="text/css" media="screen">
    11         @import url( <?php bloginfo('stylesheet_url'); ?> );
     13
     14        /* BEGIN IMAGE CSS */
     15            /*  To accomodate differing install paths of WordPress, images are referred only here,
     16                and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
     17                not, then go right ahead and delete the following lines, and the image files. */
     18           
     19        body        { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.jpg"); }    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page())) { ?>
     20            #page       { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; } <?php } else { // No sidebar ?>
     21            #page       { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } <?php } ?>
     22            #header     { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; }
     23            #footer     { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;}
     24           
     25           
     26            /*  Because the template is slightly different, size-wise, with images, this needs to be set here
     27                If you don't want to use the template's images, you can also delete the following two lines. */
     28           
     29            #header     { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
     30            #headerimg  { margin: 7px 9px 0; height: 192px; width: 740px; }
     31        /* END IMAGE CSS */
     32       
     33
     34        /*  To ease the insertion of a personal header image, I have done it in such a way,
     35            that you simply drop in an image called 'personalheader.jpg' into your /images/
     36            directory. Dimensions should be at least 760px x 200px. Anything above that will
     37            get cropped off of the image. */
     38       
     39        #headerimg  { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
     40       
    1241    </style>
    13 
     42   
     43    <link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
    1444    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    1545    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    1646    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
     47    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
     48   
     49    <?php wp_get_archives('type=monthly&format=link'); ?>
    1750   
    18     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    19     <?php wp_get_archives('type=monthly&format=link'); ?>
    20     <?php //comments_popup_script(); // off by default ?>
    2151    <?php wp_head(); ?>
    2252</head>
     53<body>
     54<div id="page">
    2355
    24 <body>
    25 <div id="rap">
    26 <h1 id="header"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    2756
    28 <div id="content">
    29 <!-- end header -->
     57<div id="header">
     58    <div id="headerimg">
     59        <h1><a href="<?php echo get_settings('siteurl'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
     60        <div class="description"><?php bloginfo('description'); ?></div>
     61    </div>
     62</div>
     63<hr />
  • trunk/wp-content/themes/default/index.php

    r2032 r2040  
    1 <?php
    2 get_header();
    3 ?>
     1<?php get_header(); ?>
    42
    5 <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
     3    <div id="content" class="narrowcolumn">
    64
    7 <?php the_date('','<h2>','</h2>'); ?>
     5    <?php if (have_posts()) : ?>
     6       
     7        <?php while (have_posts()) : the_post(); ?>
     8               
     9            <div class="post">
     10                <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
     11                <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
     12               
     13                <div class="entry">
     14                    <?php the_content('Read the rest of this entry &raquo;'); ?>
     15                </div>
     16       
     17                <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     18               
     19                <!--
     20                <?php trackback_rdf(); ?>
     21                -->
     22            </div>
    823   
    9 <div class="post">
    10      <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    11     <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
    12    
    13     <div class="storycontent">
    14         <?php the_content(__('(more...)')); ?>
     24        <?php endwhile; ?>
     25
     26        <div class="navigation">
     27            <div class="alignleft"><?php posts_nav_link('','','&laquo; Previous Entries') ?></div>
     28            <div class="alignright"><?php posts_nav_link('','Next Entries &raquo;','') ?></div>
     29        </div>
     30       
     31    <?php else : ?>
     32
     33        <h2 class="center">Not Found</h2>
     34        <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
     35        <?php include (TEMPLATEPATH . "/searchform.php"); ?>
     36
     37    <?php endif; ?>
     38
    1539    </div>
    16    
    17     <div class="feedback">
    18             <?php wp_link_pages(); ?>
    19             <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    20     </div>
    21    
    22     <!--
    23     <?php trackback_rdf(); ?>
    24     -->
    2540
    26 </div>
    27 
    28 <?php comments_template( is_single() ); // Get wp-comments.php template ?>
    29 
    30 <?php endwhile; else: ?>
    31 <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    32 <?php endif; ?>
    33 
    34 <?php posts_nav_link(' &#8212; ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?>
     41<?php get_sidebar(); ?>
    3542
    3643<?php get_footer(); ?>
  • trunk/wp-content/themes/default/sidebar.php

    r2032 r2040  
     1    <div id="sidebar">
     2        <ul>
     3           
     4            <li>
     5                <?php include (TEMPLATEPATH . '/searchform.php'); ?>
     6            </li>
    17
    2 <!-- begin sidebar -->
    3 <div id="menu">
     8            <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
     9            <li><h2><?php _e('Author'); ?></h2>
     10            <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
     11            </li>
     12            -->
    413
    5 <ul>
    6     <?php wp_list_pages(); ?>
    7     <?php get_links_list(); ?>
    8  <li id="categories"><?php _e('Categories:'); ?>
    9     <ul>
    10     <?php wp_list_cats(); ?>
    11     </ul>
    12  </li>
    13  <li id="search">
    14    <label for="s"><?php _e('Search:'); ?></label>   
    15    <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    16     <div>
    17         <input type="text" name="s" id="s" size="15" /><br />
    18         <input type="submit" name="submit" value="<?php _e('Search'); ?>" />
     14            <li>
     15            <?php /* If this is a category archive */ if (is_category()) { ?>               
     16            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     17            for the '<?php echo single_cat_title(); ?>' category.</p>
     18           
     19            <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
     20            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     21            for the day <?php the_time('l, F jS, Y'); ?>.</p>
     22           
     23            <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
     24            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     25            for <?php the_time('F, Y'); ?>.</p>
     26
     27      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
     28            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     29            for the year <?php the_time('Y'); ?>.</p>
     30           
     31         <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
     32            <p>You have searched the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     33            for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
     34
     35            <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
     36            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
     37
     38            <?php } ?>
     39            </li>
     40           
     41       
     42       
     43           
     44            <!-- The Calendar is disabled per default. Uncomment if you want to use it.
     45            <li><h2><?php _e('Calendar'); ?></h2>
     46                <?php get_calendar(); ?>
     47            </li>
     48            -->
     49
     50            <li><h2><?php _e('Archives'); ?></h2>
     51                <ul>
     52                <?php wp_get_archives('type=monthly'); ?>
     53                </ul>
     54            </li>
     55
     56            <li><h2><?php _e('Categories'); ?></h2>
     57                <ul>
     58                <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
     59                </ul>
     60            </li>
     61
     62            <?php /* If this is the frontpage */ if (is_home()) { ?>               
     63                <li><h2><?php _e('Links'); ?></h2>
     64                    <ul>
     65                        <?php get_links('-1', '<li>', '</li>', '<br />'); ?>
     66                    </ul>
     67                </li>
     68               
     69                <li><h2><?php _e('Meta'); ?></h2>
     70                <ul>
     71                    <li><?php wp_register(); ?></li>
     72                    <li><?php wp_loginout(); ?></li>
     73                    <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
     74                    <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
     75                    <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><abbr title="WordPress">WordPress</abbr></a></li>
     76                    <?php wp_meta(); ?>
     77                </ul>
     78                </li>
     79            <?php } ?>
     80           
     81        </ul>
    1982    </div>
    20     </form>
    21  </li>
    22  <li id="archives"><?php _e('Archives:'); ?>
    23     <ul>
    24      <?php wp_get_archives('type=monthly'); ?>
    25     </ul>
    26  </li>
    27  <li id="meta"><?php _e('Meta:'); ?>
    28     <ul>
    29         <li><?php wp_register(); ?></li>
    30         <li><?php wp_loginout(); ?></li>
    31         <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    32         <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    33         <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
    34         <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    35         <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><abbr title="WordPress">WP</abbr></a></li>
    36         <?php wp_meta(); ?>
    37     </ul>
    38  </li>
    3983
    40 </ul>
    41 
    42 </div>
    43 <!-- end sidebar -->
  • trunk/wp-content/themes/default/style.css

    r2032 r2040  
    1 /*
    2 Theme Name: Default
    3 Theme URI: http://wordpress.org/
    4 Description: The default theme included with WordPress.
    5 Version: 1.5
    6 Author: Dave Shea
    7 
    8 Default WordPress by Dave Shea || http://mezzoblue.com
    9 Modifications by Matthew Mullenweg || http://photomatt.net
    10 This is just a basic layout, with only the bare minimum defined.
    11 Please tweak this and make it your own. :)
     1/* 
     2Theme Name: Kubrick
     3Theme URI: http://binarybonsai.com/kubrick/
     4Description: The Kubrick theme.
     5Version: 1.3.0-rc2
     6Author: Michael Heilemann
     7Author URI: http://binarybonsai.com/
     8
     9This version of Kubrick was packaged by Ryan Boren for WordPress 1.3.
     10Anything that does not work is probably his fault. Don't bug Michael.
     11
     12    Kubrick v1.3.0-rc1  for  WordPress 1.3
     13     http://binarybonsai.com/kubrick/
     14
     15    This theme was designed and built by Michael Heilemann,
     16    whose blog you will find at http://binarybonsai.com/
     17
     18    The CSS, XHTML and design is released under GPL:
     19    http://www.opensource.org/licenses/gpl-license.php
     20   
     21
     22    *** REGARDING IMAGES ***
     23    All CSS that involves the use of images, can be found in the 'index.php' file.
     24    This is to ease installation inside subdirectories of a server.
     25
     26    Have fun, and don't be afraid to contact me if you have questions.
    1227*/
    1328
    14 a {
    15     color: #675;
     29
     30
     31/* Begin Typography & Colors */
     32body {
     33    font-size: 62.5%; /* Resets 1em to 10px */
     34    font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
     35    background-color: #d5d6d7;
     36    color: #333;
     37    text-align: center;
     38    }
     39
     40#page {
     41    background-color: white;
     42    border: 1px solid #959596;
     43    text-align: left;
     44    }
     45
     46#header {
     47    background-color: #73a0c5;
     48    }
     49
     50#content {
     51    font-size: 1.2em
     52    }
     53
     54.widecolumn .entry p {
     55    font-size: 1.05em;
     56    }
     57
     58.narrowcolumn .entry, .widecolumn .entry {
     59    line-height: 1.4em;
     60    }
     61
     62.widecolumn {
     63    line-height: 1.6em;
     64    }
     65   
     66.narrowcolumn .postmetadata {
     67    text-align: center;
     68    }
     69
     70.graybox {
     71    background-color: #f8f8f8;
     72    border-top: 1px solid #ddd;
     73    border-bottom: 1px solid #ddd;
     74    }
     75
     76#footer {
     77    background-color: #eee;
     78    }
     79
     80small {
     81    font-family: Arial, Helvetica, Sans-Serif;
     82    font-size: 0.9em;
     83    line-height: 1.5em;
     84    }
     85
     86h1, h2, h3 {
     87    font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
     88    font-weight: bold;
     89    }
     90
     91h1 {
     92    font-size: 4em;
     93    text-align: center;
     94    }
     95
     96.description {
     97    font-size: 1.2em;
     98    text-align: center;
     99    }
     100
     101h2 {
     102    font-size: 1.6em;
     103    }
     104
     105h2.pagetitle {
     106    font-size: 1.6em;
     107    }
     108
     109#sidebar h2 {
     110    font-family: 'Lucida Grande', Verdana, Sans-Serif;
     111    font-size: 1.2em;
     112    }
     113
     114h3 {
     115    font-size: 1.3em;
     116    }
     117
     118h1, h1 a, h1 a:hover, h1 a:visited, .description {
     119    text-decoration: none;
     120    color: white;
     121    }
     122
     123h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
     124    color: #333;
     125    }
     126
     127h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
     128    text-decoration: none;
     129    }
     130
     131.entry p a:visited {
     132    color: #b85b5a;
     133    }
     134
     135.commentlist li, #commentform input, #commentform textarea {
     136    font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
     137    }
     138   
     139.commentlist li {
     140    font-weight: bold;
     141    }
     142
     143.commentlist cite, .commentlist cite a {
     144    font-weight: bold;
     145    font-style: normal;
     146    font-size: 1.1em;
     147    }
     148
     149.commentlist p {
     150    font-weight: normal;
     151    line-height: 1.5em;
     152    text-transform: none;
     153    }
     154
     155#commentform p {
     156    font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
     157    }
     158
     159.commentmetadata {
     160    font-weight: normal;
     161    }
     162
     163#sidebar {
     164    font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
     165    }
     166
     167small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
     168    color: #777;
     169    }
     170   
     171code {
     172    font: 1.1em 'Courier New', Courier, Fixed;
     173    }
     174
     175acronym, abbr, span.caps
     176{
     177    font-size: 0.9em;
     178    letter-spacing: .07em;
     179    }
     180
     181a, h2 a:hover, h3 a:hover {
     182    color: #06c;
     183    text-decoration: none;
     184    }
     185
     186a:hover {
     187    color: #147;
     188    text-decoration: underline;
     189    }
     190   
     191#wp-calendar #prev a {
     192    font-size: 9pt;
     193    }
     194
     195#wp-calendar a {
     196    text-decoration: none;
     197    }
     198
     199#wp-calendar caption {
     200    font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
     201    text-align: center;
     202    }
     203
     204#wp-calendar th {
     205    font-style: normal;
     206    text-transform: capitalize;
     207    }
     208/* End Typography & Colors */
     209
     210
     211
     212/* Begin Structure */
     213body {
     214    margin: 0;
     215    padding: 0;
     216    }
     217
     218#page {
     219    background-color: white;
     220    margin: 20px auto;
     221    padding: 0;
     222    width: 760px;
     223    border: 1px solid #959596;
     224    }
     225   
     226#header {
     227    padding: 0;
     228    margin: 0 auto;
     229    height: 200px;
     230    width: 100%;
     231    background-color: #73a0c5;
     232    }
     233
     234#headerimg {
     235    margin: 0;
     236    height: 200px;
     237    width: 100%;
     238    }
     239
     240.narrowcolumn {
     241    float: left;
     242    padding: 0 0 20px 45px;
     243    margin: 0px 0 0;
     244    width: 450px;
     245    }
     246
     247.widecolumn {
     248    padding: 10px 0 20px 0;
     249    margin: 5px 0 0 150px;
     250    width: 450px;
     251    }
     252   
     253.post {
     254    margin: 0 0 40px;
     255    text-align: justify;
     256    }
     257
     258.widecolumn .post {
     259    margin: 0;
     260    }
     261
     262.narrowcolumn .postmetadata {
     263    padding-top: 5px;
     264    }
     265
     266.widecolumn .postmetadata {
     267    margin: 30px 0;
     268    }
     269   
     270#footer {
     271    padding: 0;
     272    margin: 0 auto;
     273    width: 760px;
     274    clear: both;
     275    }
     276
     277#footer p {
     278    margin: 0;
     279    padding: 20px 0;
     280    text-align: center;
     281    }
     282/* End Structure */
     283
     284
     285
     286/*  Begin Headers */
     287h1 {
     288    padding-top: 70px;
     289    margin: 0;
     290    }
     291
     292.description {
     293    text-align: center;
     294    }
     295
     296h2 {
     297    margin: 30px 0 0;
     298    }
     299
     300h2.pagetitle {
     301    margin-top: 30px;
     302    text-align: center;
    16303}
    17304
    18 a img {
    19     border: none;
    20 }
    21 
    22 a:visited {
    23     color: #342;
    24 }
    25 
    26 a:hover {
    27     color: #9a8;
    28 }
    29 
    30 acronym, abbr {
    31     border-bottom: 1px dashed #333;
    32 }
    33 
    34 acronym, abbr, span.caps {
    35     font-size: 90%;
    36     letter-spacing: .07em;
    37 }
    38 
    39 acronym, abbr {
    40     cursor: help;
    41 }
    42 
    43 blockquote {
    44     border-left: 5px solid #ccc;
    45     margin-left: 1.5em;
    46     padding-left: 5px;
    47 }
    48 
    49 body {
    50     background: #fff;
    51     border: solid 2px #565;
    52     border-bottom: solid 1px #565;
    53     border-top: solid 3px #565;
    54     color: #000;
    55     font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    56     margin: 0;
    57     padding: 0;
    58 }
    59 
    60 cite {
    61     font-size: 90%;
    62     font-style: normal;
    63 }
    64 
    65 h2 {
    66     border-bottom: 1px dotted #ccc;
    67     font: 95% "Times New Roman", Times, serif;
    68     letter-spacing: 0.2em;
    69     margin: 15px 0 2px 0;
    70     padding-bottom: 2px;
    71 }
     305#sidebar h2 {
     306    margin: 5px 0 0;
     307    padding: 0;
     308    }
    72309
    73310h3 {
    74     border-bottom: dotted 1px #eee;
    75     font-family: "Times New Roman", Times, serif;
    76     margin-top: 0;
    77 }
    78 
    79 ol#comments li p {
    80     font-size: 100%;
    81 }
    82 
    83 p, li, .feedback {
    84     font: 90%/175% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    85     letter-spacing: -1px;
    86 }
    87 
    88 /* classes used by the_meta() */
    89 ul.post-meta {
     311    padding: 0;
     312    margin: 30px 0 0;
     313    }
     314
     315h3.comments {
     316    padding: 0;
     317    margin: 40px auto 20px ;
     318    }
     319/* End Headers */
     320
     321
     322
     323/* Begin Images */
     324p img {
     325    padding: 0;
     326    max-width: 100%;
     327    }
     328
     329/*  Using 'class="alignright"' on an image will (who would've
     330    thought?!) align the image to the right. And using 'class="centered',
     331    will of course center the image. This is much better than using
     332    align="center", being much more futureproof (and valid) */
     333   
     334img.centered {
     335    display: block;
     336    margin-left: auto;
     337    margin-right: auto;
     338    }
     339   
     340img.alignright {
     341    padding: 4px;
     342    margin: 0 0 2px 7px;
     343    display: inline;
     344    }
     345
     346img.alignleft {
     347    padding: 4px;
     348    margin: 0 7px 2px 0;
     349    display: inline;
     350    }
     351
     352.alignright {
     353    float: right;
     354    }
     355   
     356.alignleft {
     357    float: left
     358    }
     359/* End Images */
     360
     361
     362
     363/* Begin Lists
     364
     365    Special stylized non-IE bullets
     366    Do not work in Internet Explorer, which merely default to normal bullets. */
     367
     368html>body .entry ul {
     369    margin-left: 0px;
     370    padding: 0 0 0 30px;
    90371    list-style: none;
    91 }
    92 
    93 ul.post-meta span.post-meta-key {
    94     font-weight: bold;
    95 }
    96 
    97 .credit {
    98     background: #90a090;
    99     border-top: double 3px #aba;
    100     color: #fff;
    101     font-size: 11px;
    102     margin: 10px 0 0 0;
    103     padding: 3px;
    104     text-align: center;
    105 }
    106 
    107 .credit a:link, .credit a:hover {
    108     color: #fff;
    109 }
    110 
    111 .feedback {
    112     color: #ccc;
    113     text-align: right;
    114     clear: both;
    115 }
    116 
    117 .meta {
    118     font-size: .75em;
    119 }
    120 
    121 .meta li, ul.post-meta li {
     372    padding-left: 10px;
     373    text-indent: -10px;
     374    }
     375
     376html>body .entry li {
     377    margin: 7px 0 8px 10px;
     378    }
     379
     380.entry ul li:before, #sidebar ul ul li:before {
     381    content: "\00BB \0020";
     382    }
     383
     384.entry ol {
     385    padding: 0 0 0 35px;
     386    margin: 0;
     387    }
     388
     389.entry ol li {
     390    margin: 0;
     391    padding: 0;
     392    }
     393
     394.postmetadata ul, .postmetadata li {
    122395    display: inline;
    123 }
    124 
    125 .meta ul {
    126     display: inline;
    127     list-style: none;
    128     margin: 0;
    129     padding: 0;
    130 }
    131 
    132 .meta, .meta a {
    133     color: #808080;
    134     font-weight: normal;
    135     letter-spacing: 0;
    136 }
    137 
    138 .storytitle {
    139     margin: 0;
    140 }
    141 
    142 .storytitle a {
    143     text-decoration: none;
    144 }
    145 
    146 #commentform #name, #commentform #email, #commentform #url, #commentform textarea {
    147     background: #fff;
    148     border: 1px solid #333;
    149     padding: .2em;
    150 }
     396    list-style-type: none;
     397    list-style-image: none;
     398    }
     399   
     400#sidebar ul, #sidebar ul ol {
     401    margin: 0;
     402    padding: 0;
     403    }
     404
     405#sidebar ul li {
     406    list-style-type: none;
     407    list-style-image: none;
     408    margin-bottom: 15px;
     409    }
     410
     411#sidebar ul p, #sidebar ul select {
     412    margin: 5px 0 8px;
     413    }
     414
     415#sidebar ul ul, #sidebar ul ol {
     416    margin: 5px 0 0 10px;
     417    }
     418
     419#sidebar ul ul ul, #sidebar ul ol {
     420    margin: 0 0 0 10px;
     421    }
     422
     423ol li, #sidebar ul ol li {
     424    list-style: decimal outside;
     425    }
     426
     427#sidebar ul ul li, #sidebar ul ol li {
     428    margin: 3px 0 0;
     429    padding: 0;
     430    }
     431/* End Entry Lists */
     432
     433
     434
     435/* Begin Form Elements */
     436#searchform {
     437    margin: 10px auto;
     438    padding: 5px 3px;
     439    text-align: center;
     440    }
     441
     442#sidebar #searchform #s {
     443    width: 130px;
     444    padding: 2px;
     445    }
     446
     447#sidebar #searchsubmit {
     448    padding: 1px;
     449    }
     450
     451.entry form { /* This is mainly for password protected posts, makes them look better. */
     452    text-align:center;
     453    }
     454
     455select {
     456    width: 130px;
     457    }
     458
     459#commentform input {
     460    width: 170px;
     461    padding: 2px;
     462    margin: 5px 5px 1px 0;
     463    }
    151464
    152465#commentform textarea {
    153466    width: 100%;
    154 }
    155 
    156 #commentlist li ul {
    157     border-left: 1px solid #ddd;
    158     font-size: 110%;
    159     list-style-type: none;
    160 }
    161 
    162 #content {
    163     margin: 30px 13em 0 3em;
    164     padding-right: 60px;
    165 }
    166 
    167 #header {
    168     background: #90a090;
    169     border-bottom: double 3px #aba;
    170     border-left: solid 1px #9a9;
    171     border-right: solid 1px #565;
    172     border-top: solid 1px #9a9;
    173     font: italic normal 230% 'Times New Roman', Times, serif;
    174     letter-spacing: 0.2em;
    175     margin: 0;
    176     padding: 15px 10px 15px 60px;
    177 }
    178 
    179 #header a {
    180     color: #fff;
    181     text-decoration: none;
    182 }
    183 
    184 #header a:hover {
    185     text-decoration: underline;
    186 }
    187 
    188 #menu {
    189     background: #fff;
    190     border-left: 1px dotted #ccc;
    191     border-top: solid 3px #e0e6e0;
    192     padding: 20px 0 10px 30px;
    193     position: absolute;
    194     right: 2px;
    195     top: 0;
    196     width: 11em;
    197 }
    198 
    199 #menu form {
    200     margin: 0 0 0 13px;
    201 }
    202 
    203 #menu input#s {
    204     width: 80%;
    205     background: #eee;
    206     border: 1px solid #999;
    207     color: #000;
    208 }
    209 
    210 #menu ul {
    211     color: #ccc;
    212     font-weight: bold;
    213     list-style-type: none;
    214     margin: 0;
    215     padding-left: 3px;
    216     text-transform: lowercase;
    217 }
    218 
    219 #menu ul li {
    220     font: italic normal 110% 'Times New Roman', Times, serif;
    221     letter-spacing: 0.1em;
    222     margin-top: 10px;
    223     padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/
    224 }
    225 
    226 #menu ul ul {
    227     font-variant: normal;
    228     font-weight: normal;
    229     line-height: 100%;
    230     list-style-type: none;
    231     margin: 0;
    232     padding: 0;
    233     text-align: left;
    234 }
    235 
    236 #menu ul ul li {
    237     border: 0;
    238     font: normal normal 12px/115% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    239     letter-spacing: 0;
    240     margin-top: 0;
    241     padding: 0;
    242     padding-left: 12px;
    243 }
    244 
    245 #menu ul ul li a {
    246     color: #000;
    247     text-decoration: none;
    248 }
    249 
    250 #menu ul ul li a:hover {
    251     border-bottom: 1px solid #809080;
    252 }
    253 
    254 #menu ul ul ul.children {
    255     font-size: 142%;
    256     padding-left: 4px;
    257 }
    258 
     467    padding: 2px;
     468    }
     469
     470#commentform #submit {
     471    margin: 0;
     472    float: right;
     473    }
     474/* End Form Elements */
     475
     476
     477
     478/* Begin Comments*/
     479.graybox {
     480    margin: 0;
     481    padding: 10px;
     482    }
     483
     484.commentlist {
     485    padding: 0;
     486    text-align: justify;
     487    }
     488
     489.commentlist li {
     490    margin: 15px 0 3px;
     491    padding: 5px 10px 3px;
     492    list-style: none;
     493    }
     494
     495.commentlist p {
     496    margin: 10px 5px 10px 0;
     497    }
     498
     499#commentform p {
     500    margin: 5px 0;
     501    }
     502
     503.nocomments {
     504    text-align: center;
     505    margin: 0;
     506    padding: 0;
     507    }
     508
     509.commentmetadata {
     510    margin: 0;
     511    display: block;
     512    }
     513/* End Comments */
     514
     515
     516
     517/* Begin Sidebar */
     518#sidebar
     519{
     520    padding: 20px 0 10px 0;
     521    margin-left: 545px;
     522    width: 190px;
     523    }
     524
     525#sidebar form {
     526    margin: 0;
     527    }
     528/* End Sidebar */
     529
     530
     531
     532/* Begin Calendar */
    259533#wp-calendar {
    260     border: 1px solid #ddd;
    261534    empty-cells: show;
    262     font-size: 14px;
    263     margin: 0;
    264     width: 90%;
    265 }
     535    margin: 10px auto 0;
     536    width: 155px;
     537    }
    266538
    267539#wp-calendar #next a {
    268540    padding-right: 10px;
    269541    text-align: right;
    270 }
     542    }
    271543
    272544#wp-calendar #prev a {
    273545    padding-left: 10px;
    274546    text-align: left;
    275 }
     547    }
    276548
    277549#wp-calendar a {
    278550    display: block;
    279     text-decoration: none;
    280 }
    281 
    282 #wp-calendar a:hover {
    283     background: #e0e6e0;
    284     color: #333;
    285 }
     551    }
    286552
    287553#wp-calendar caption {
    288     color: #999;
    289     font-size: 16px;
    290     text-align: left;
    291 }
     554    text-align: center;
     555    width: 100%;
     556    }
    292557
    293558#wp-calendar td {
    294     color: #ccc;
    295     font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    296     letter-spacing: normal;
    297     padding: 2px 0;
    298     text-align: center;
    299 }
    300 
    301 #wp-calendar td.pad:hover {
    302     background: #fff;
    303 }
    304 
    305 #wp-calendar td:hover, #wp-calendar #today {
    306     background: #eee;
    307     color: #bbb;
    308 }
    309 
    310 #wp-calendar th {
    311     font-style: normal;
    312     text-transform: capitalize;
    313 }
     559    padding: 3px 0;
     560    text-align: center;
     561    }
     562
     563#wp-calendar td.pad:hover { /* Doesn't work in IE */
     564    background-color: #fff; }
     565/* End Calendar */
     566
     567
     568
     569/* Begin Various Tags & Classes */
     570acronym, abbr, span.caps {
     571    cursor: help;
     572    }
     573
     574acronym, abbr {
     575    border-bottom: 1px dashed #999;
     576    }
     577
     578blockquote {
     579    margin: 15px 30px 0 10px;
     580    padding-left: 20px;
     581    border-left: 5px solid #ddd;
     582    }
     583
     584blockquote cite {
     585    margin: 5px 0 0;
     586    display: block;
     587    }
     588
     589.center {
     590    text-align: center;
     591    }
     592
     593hr {
     594    display: none;
     595    }
     596
     597a img {
     598    border: none;
     599    }
     600
     601.navigation {
     602    display: block;
     603    text-align: center;
     604    margin-top: 10px;
     605    margin-bottom: 60px;
     606    }
     607/* End Various Tags & Classes*/
     608
     609
     610
     611/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
     612    It won't be a stylish marriage, I can't afford a carriage.
     613    But you'll look sweet upon the seat of a bicycle built for two." */
Note: See TracChangeset for help on using the changeset viewer.