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
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<div id="footer">
|
<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>
|
<p>
|
||||||
<?php bloginfo('name'); ?> is proudly powered by
|
<?php bloginfo('name'); ?> is proudly powered by
|
||||||
<a href="http://wordpress.org/">WordPress</a>
|
<a href="http://wordpress.org/">WordPress</a>
|
||||||
|
|
|
@ -13,32 +13,16 @@
|
||||||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
||||||
|
|
||||||
<style type="text/css" media="screen">
|
<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
|
||||||
<?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
|
// 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; }
|
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; }
|
||||||
<?php } else { // No sidebar ?>
|
<?php } else { // No sidebar ?>
|
||||||
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
|
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
|
||||||
<?php } ?>
|
<?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>
|
</style>
|
||||||
|
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Theme Name: WordPress Default
|
Theme Name: WordPress Default
|
||||||
Theme URI: http://wordpress.org/
|
Theme URI: http://wordpress.org/
|
||||||
Description: The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
|
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: Michael Heilemann
|
||||||
Author URI: http://binarybonsai.com/
|
Author URI: http://binarybonsai.com/
|
||||||
|
|
||||||
|
@ -15,12 +15,6 @@ Author URI: http://binarybonsai.com/
|
||||||
The CSS, XHTML and design is released under GPL:
|
The CSS, XHTML and design is released under GPL:
|
||||||
http://www.opensource.org/licenses/gpl-license.php
|
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 {
|
body {
|
||||||
font-size: 62.5%; /* Resets 1em to 10px */
|
font-size: 62.5%; /* Resets 1em to 10px */
|
||||||
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||||
background-color: #d5d6d7;
|
background: #d5d6d7 url('images/kubrickbgcolor.jpg');
|
||||||
color: #333;
|
color: #333;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
@ -41,7 +35,13 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#header {
|
#header {
|
||||||
background-color: #73a0c5;
|
background: #73a0c5 url('images/kubrickheader.jpg') no-repeat bottom center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#headerimg {
|
||||||
|
margin: 7px 9px 0;
|
||||||
|
height: 192px;
|
||||||
|
width: 740px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
|
@ -71,7 +71,8 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
background-color: #eee;
|
background: #eee url('images/kubrickfooter.jpg') no-repeat top;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
small {
|
small {
|
||||||
|
@ -208,7 +209,7 @@ a:hover {
|
||||||
|
|
||||||
/* Begin Structure */
|
/* Begin Structure */
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0 0 20px 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -221,11 +222,11 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#header {
|
#header {
|
||||||
padding: 0;
|
|
||||||
margin: 0 auto;
|
|
||||||
height: 200px;
|
|
||||||
width: 100%;
|
|
||||||
background-color: #73a0c5;
|
background-color: #73a0c5;
|
||||||
|
margin: 0 0 0 1px;
|
||||||
|
padding: 0;
|
||||||
|
height: 200px;
|
||||||
|
width: 758px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#headerimg {
|
#headerimg {
|
||||||
|
@ -281,7 +282,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
padding: 0 0 0 1px;
|
padding: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 760px;
|
width: 760px;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
@ -449,7 +450,7 @@ ol li, #sidebar ul ol li {
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar #searchform #s {
|
#sidebar #searchform #s {
|
||||||
width: 115px;
|
width: 108px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue