Default theme updates. fixes #1941
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
421007958a
commit
3c161f06ef
|
@ -5,21 +5,21 @@
|
|||
<?php if (have_posts()) : ?>
|
||||
|
||||
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
|
||||
<?php /* If this is a category archive */ if (is_category()) { ?>
|
||||
<?php /* If this is a category archive */ if (is_category()) { ?>
|
||||
<h2 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h2>
|
||||
|
||||
|
||||
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
|
||||
<h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
|
||||
|
||||
|
||||
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
|
||||
<h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>
|
||||
|
||||
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
|
||||
<h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
|
||||
|
||||
|
||||
<?php /* If this is a search */ } elseif (is_search()) { ?>
|
||||
<h2 class="pagetitle">Search Results</h2>
|
||||
|
||||
|
||||
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
|
||||
<h2 class="pagetitle">Author Archive</h2>
|
||||
|
||||
|
@ -38,29 +38,29 @@
|
|||
<div class="post">
|
||||
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
|
||||
<small><?php the_time('l, F jS, Y') ?></small>
|
||||
|
||||
|
||||
<div class="entry">
|
||||
<?php the_content() ?>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<h2 class="center">Not Found</h2>
|
||||
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
|
|
@ -20,6 +20,6 @@ Template Name: Archives
|
|||
<?php wp_list_cats(); ?>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php get_header(); ?>
|
||||
|
||||
<div id="content" class="widecolumn">
|
||||
|
||||
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"> </div>
|
||||
<div class="alignright"> </div>
|
||||
|
@ -16,9 +16,9 @@
|
|||
<p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p>
|
||||
|
||||
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
|
||||
|
||||
|
||||
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
|
||||
|
||||
|
||||
<p class="postmetadata alt">
|
||||
<small>
|
||||
This entry was posted
|
||||
|
@ -29,39 +29,39 @@
|
|||
on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
|
||||
and is filed under <?php the_category(', ') ?>.
|
||||
You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
|
||||
|
||||
|
||||
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
||||
// Both Comments and Pings are open ?>
|
||||
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
|
||||
|
||||
|
||||
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
||||
// Only Pings are Open ?>
|
||||
Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
|
||||
|
||||
|
||||
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
||||
// Comments are open, Pings are not ?>
|
||||
You can skip to the end and leave a response. Pinging is currently not allowed.
|
||||
|
||||
|
||||
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
||||
// Neither Comments, nor Pings are open ?>
|
||||
Both comments and pings are currently closed.
|
||||
|
||||
Both comments and pings are currently closed.
|
||||
|
||||
<?php } edit_post_link('Edit this entry.','',''); ?>
|
||||
|
||||
|
||||
</small>
|
||||
</p>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php comments_template(); ?>
|
||||
|
||||
|
||||
<?php endwhile; else: ?>
|
||||
|
||||
|
||||
<p>Sorry, no attachments matched your criteria.</p>
|
||||
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
@ -102,7 +102,7 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos
|
|||
<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
document.onkeypress = function esc(e) {
|
||||
document.onkeypress = function esc(e) {
|
||||
if(typeof(e) == "undefined") { e=event; }
|
||||
if (e.keyCode == 27) { self.close(); }
|
||||
}
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
if (!empty($post->post_password)) { // if there's a password
|
||||
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
|
||||
?>
|
||||
|
||||
|
||||
<p class="nocomments">This post is password protected. Enter the password to view comments.<p>
|
||||
|
||||
|
||||
<?php
|
||||
return;
|
||||
}
|
||||
|
@ -39,7 +39,7 @@
|
|||
|
||||
</li>
|
||||
|
||||
<?php /* Changes every other comment to a different class */
|
||||
<?php /* Changes every other comment to a different class */
|
||||
if ('alt' == $oddcomment) $oddcomment = '';
|
||||
else $oddcomment = 'alt';
|
||||
?>
|
||||
|
@ -52,11 +52,11 @@
|
|||
|
||||
<?php if ('open' == $post->comment_status) : ?>
|
||||
<!-- If comments are open, but there are no comments. -->
|
||||
|
||||
|
||||
<?php else : // comments are closed ?>
|
||||
<!-- If comments are closed. -->
|
||||
<p class="nocomments">Comments are closed.</p>
|
||||
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
<hr />
|
||||
<div id="footer">
|
||||
<!-- If you'd like to support WordPress, having the "powered by" link someone on your blog is the best way, it's our only promotion or advertising. -->
|
||||
<p>
|
||||
<?php bloginfo('name'); ?> is proudly powered by
|
||||
<a href="http://wordpress.org/">WordPress</a>
|
||||
|
|
|
@ -57,7 +57,7 @@ function kubrick_header_color_string() {
|
|||
$color = kubrick_header_color();
|
||||
if ( false === $color )
|
||||
return 'white';
|
||||
|
||||
|
||||
return $color;
|
||||
}
|
||||
|
||||
|
@ -100,21 +100,21 @@ function kubrick_add_theme_page() {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
|
||||
if ( isset($_REQUEST['headerimage']) ) {
|
||||
if ( '' == $_REQUEST['headerimage'] )
|
||||
delete_option('kubrick_header_image');
|
||||
else
|
||||
update_option('kubrick_header_image', $_REQUEST['headerimage']);
|
||||
}
|
||||
|
||||
|
||||
if ( isset($_REQUEST['fontcolor']) ) {
|
||||
if ( '' == $_REQUEST['fontcolor'] )
|
||||
delete_option('kubrick_header_color');
|
||||
else
|
||||
update_option('kubrick_header_color', $_REQUEST['fontcolor']);
|
||||
}
|
||||
|
||||
|
||||
if ( isset($_REQUEST['fontdisplay']) ) {
|
||||
if ( '' == $_REQUEST['fontdisplay'] || 'inline' == $_REQUEST['fontdisplay'] )
|
||||
delete_option('kubrick_header_display');
|
||||
|
@ -268,7 +268,7 @@ function kubrick_theme_page_head() {
|
|||
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
font-size: 1.2em;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
#kubrick-header #header {
|
||||
text-decoration: none;
|
||||
color: <?php echo kubrick_header_color_string(); ?>;
|
||||
|
|
|
@ -13,32 +13,16 @@
|
|||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
/* To accomodate differing install paths of WordPress, images are referred only here,
|
||||
and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
|
||||
not, then go right ahead and delete the following lines, and the image files. */
|
||||
|
||||
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())) { ?>
|
||||
|
||||
<?php
|
||||
// Checks to see whether it needs a sidebar or not
|
||||
if ( !$withcomments && !is_single() ) {
|
||||
?>
|
||||
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; }
|
||||
<?php } else { // No sidebar ?>
|
||||
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
|
||||
<?php } ?>
|
||||
#header { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; }
|
||||
#footer { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;}
|
||||
|
||||
/* Because the template is slightly different, size-wise, with images, this needs to be set here
|
||||
If you don't want to use the template's images, you can also delete the following two lines. */
|
||||
|
||||
#header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
|
||||
#headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }
|
||||
|
||||
/* To ease the insertion of a personal header image, I have done it in such a way,
|
||||
that you simply drop in an image called 'personalheader.jpg' into your /images/
|
||||
directory. Dimensions should be at least 760px x 200px. Anything above that will
|
||||
get cropped off of the image. */
|
||||
/*
|
||||
#headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
|
||||
*/
|
||||
</style>
|
||||
|
||||
<?php wp_head(); ?>
|
||||
|
|
|
@ -3,27 +3,27 @@
|
|||
<div id="content" class="narrowcolumn">
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
|
||||
|
||||
<div class="post" id="post-<?php the_ID(); ?>">
|
||||
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
|
||||
|
||||
|
||||
<div class="entry">
|
||||
<?php the_content('Read the rest of this entry »'); ?>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
|
||||
</div>
|
||||
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<h2 class="center">Not Found</h2>
|
||||
|
|
|
@ -13,6 +13,6 @@ Template Name: Links
|
|||
<?php get_links_list(); ?>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
<h2><?php the_title(); ?></h2>
|
||||
<div class="entrytext">
|
||||
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
|
||||
|
||||
|
||||
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; endif; ?>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<?php if (have_posts()) : ?>
|
||||
|
||||
<h2 class="pagetitle">Search Results</h2>
|
||||
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
|
||||
|
@ -13,28 +13,28 @@
|
|||
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
|
||||
|
||||
<div class="post">
|
||||
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
|
||||
<small><?php the_time('l, F jS, Y') ?></small>
|
||||
|
||||
|
||||
<p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
|
||||
</div>
|
||||
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<h2 class="center">No posts found. Try a different search?</h2>
|
||||
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div id="sidebar">
|
||||
<ul>
|
||||
|
||||
|
||||
<li>
|
||||
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
|
||||
</li>
|
||||
|
@ -15,11 +15,11 @@
|
|||
<?php /* If this is a 404 page */ if (is_404()) { ?>
|
||||
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
|
||||
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
|
||||
|
||||
|
||||
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
|
||||
<p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
for the day <?php the_time('l, F jS, Y'); ?>.</p>
|
||||
|
||||
|
||||
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
|
||||
<p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
for <?php the_time('F, Y'); ?>.</p>
|
||||
|
@ -27,7 +27,7 @@
|
|||
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
|
||||
<p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
for the year <?php the_time('Y'); ?>.</p>
|
||||
|
||||
|
||||
<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
|
||||
<p>You have searched the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
|
||||
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>
|
||||
|
@ -52,9 +52,9 @@
|
|||
</ul>
|
||||
</li>
|
||||
|
||||
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
|
||||
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
|
||||
<?php get_links_list(); ?>
|
||||
|
||||
|
||||
<li><h2>Meta</h2>
|
||||
<ul>
|
||||
<?php wp_register(); ?>
|
||||
|
@ -66,7 +66,7 @@
|
|||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
<?php get_header(); ?>
|
||||
|
||||
<div id="content" class="widecolumn">
|
||||
|
||||
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php previous_post_link('« %link') ?></div>
|
||||
<div class="alignright"><?php next_post_link('%link »') ?></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="post" id="post-<?php the_ID(); ?>">
|
||||
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||
|
||||
|
||||
<div class="entrytext">
|
||||
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
|
||||
|
||||
|
||||
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
|
||||
|
||||
|
||||
<p class="postmetadata alt">
|
||||
<small>
|
||||
This entry was posted
|
||||
|
@ -27,39 +27,39 @@
|
|||
on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
|
||||
and is filed under <?php the_category(', ') ?>.
|
||||
You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
|
||||
|
||||
|
||||
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
||||
// Both Comments and Pings are open ?>
|
||||
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
|
||||
|
||||
|
||||
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
||||
// Only Pings are Open ?>
|
||||
Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
|
||||
|
||||
|
||||
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
||||
// Comments are open, Pings are not ?>
|
||||
You can skip to the end and leave a response. Pinging is currently not allowed.
|
||||
|
||||
|
||||
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
||||
// Neither Comments, nor Pings are open ?>
|
||||
Both comments and pings are currently closed.
|
||||
|
||||
Both comments and pings are currently closed.
|
||||
|
||||
<?php } edit_post_link('Edit this entry.','',''); ?>
|
||||
|
||||
|
||||
</small>
|
||||
</p>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php comments_template(); ?>
|
||||
|
||||
|
||||
<?php endwhile; else: ?>
|
||||
|
||||
|
||||
<p>Sorry, no posts matched your criteria.</p>
|
||||
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
Theme Name: WordPress Default
|
||||
Theme URI: http://wordpress.org/
|
||||
Description: The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
|
||||
Version: 1.5
|
||||
Version: 1.6
|
||||
Author: Michael Heilemann
|
||||
Author URI: http://binarybonsai.com/
|
||||
|
||||
|
@ -14,13 +14,7 @@ Author URI: http://binarybonsai.com/
|
|||
|
||||
The CSS, XHTML and design is released under GPL:
|
||||
http://www.opensource.org/licenses/gpl-license.php
|
||||
|
||||
|
||||
*** REGARDING IMAGES ***
|
||||
All CSS that involves the use of images, can be found in the 'index.php' file.
|
||||
This is to ease installation inside subdirectories of a server.
|
||||
|
||||
Have fun, and don't be afraid to contact me if you have questions.
|
||||
*/
|
||||
|
||||
|
||||
|
@ -29,7 +23,7 @@ Author URI: http://binarybonsai.com/
|
|||
body {
|
||||
font-size: 62.5%; /* Resets 1em to 10px */
|
||||
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
background-color: #d5d6d7;
|
||||
background: #d5d6d7 url('images/kubrickbgcolor.jpg');
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -41,9 +35,15 @@ body {
|
|||
}
|
||||
|
||||
#header {
|
||||
background-color: #73a0c5;
|
||||
background: #73a0c5 url('images/kubrickheader.jpg') no-repeat bottom center;
|
||||
}
|
||||
|
||||
#headerimg {
|
||||
margin: 7px 9px 0;
|
||||
height: 192px;
|
||||
width: 740px;
|
||||
}
|
||||
|
||||
#content {
|
||||
font-size: 1.2em
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ body {
|
|||
.widecolumn {
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
|
||||
.narrowcolumn .postmetadata {
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -71,7 +71,8 @@ body {
|
|||
}
|
||||
|
||||
#footer {
|
||||
background-color: #eee;
|
||||
background: #eee url('images/kubrickfooter.jpg') no-repeat top;
|
||||
border: none;
|
||||
}
|
||||
|
||||
small {
|
||||
|
@ -132,7 +133,7 @@ h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar
|
|||
.commentlist li, #commentform input, #commentform textarea {
|
||||
font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
}
|
||||
|
||||
|
||||
.commentlist li {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
@ -164,7 +165,7 @@ h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar
|
|||
small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
|
||||
code {
|
||||
font: 1.1em 'Courier New', Courier, Fixed;
|
||||
}
|
||||
|
@ -184,7 +185,7 @@ a:hover {
|
|||
color: #147;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
#wp-calendar #prev a {
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
@ -208,7 +209,7 @@ a:hover {
|
|||
|
||||
/* Begin Structure */
|
||||
body {
|
||||
margin: 0;
|
||||
margin: 0 0 20px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
@ -219,13 +220,13 @@ body {
|
|||
width: 760px;
|
||||
border: 1px solid #959596;
|
||||
}
|
||||
|
||||
|
||||
#header {
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
height: 200px;
|
||||
width: 100%;
|
||||
background-color: #73a0c5;
|
||||
margin: 0 0 0 1px;
|
||||
padding: 0;
|
||||
height: 200px;
|
||||
width: 758px;
|
||||
}
|
||||
|
||||
#headerimg {
|
||||
|
@ -246,7 +247,7 @@ body {
|
|||
margin: 5px 0 0 150px;
|
||||
width: 450px;
|
||||
}
|
||||
|
||||
|
||||
.post {
|
||||
margin: 0 0 40px;
|
||||
text-align: justify;
|
||||
|
@ -281,7 +282,7 @@ body {
|
|||
}
|
||||
|
||||
#footer {
|
||||
padding: 0 0 0 1px;
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
width: 760px;
|
||||
clear: both;
|
||||
|
@ -339,13 +340,13 @@ p img {
|
|||
thought?!) align the image to the right. And using 'class="centered',
|
||||
will of course center the image. This is much better than using
|
||||
align="center", being much more futureproof (and valid) */
|
||||
|
||||
|
||||
img.centered {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
|
||||
img.alignright {
|
||||
padding: 4px;
|
||||
margin: 0 0 2px 7px;
|
||||
|
@ -361,7 +362,7 @@ img.alignleft {
|
|||
.alignright {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
.alignleft {
|
||||
float: left
|
||||
}
|
||||
|
@ -405,7 +406,7 @@ html>body .entry li {
|
|||
list-style-type: none;
|
||||
list-style-image: none;
|
||||
}
|
||||
|
||||
|
||||
#sidebar ul, #sidebar ul ol {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -449,7 +450,7 @@ ol li, #sidebar ul ol li {
|
|||
}
|
||||
|
||||
#sidebar #searchform #s {
|
||||
width: 115px;
|
||||
width: 108px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue