Make WordPress Core

Changeset 3924


Ignore:
Timestamp:
06/26/2006 05:40:18 PM (18 years ago)
Author:
matt
Message:

Minor reorg, and this should also fix the pixel shift problems.

Location:
trunk/wp-content/themes/default
Files:
3 edited

Legend:

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

    r3115 r3924  
    22<hr />
    33<div id="footer">
     4<!-- 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. -->
    45    <p>
    56        <?php bloginfo('name'); ?> is proudly powered by
  • trunk/wp-content/themes/default/header.php

    r3517 r3924  
    1414
    1515<style type="text/css" media="screen">
    16 /*  To accomodate differing install paths of WordPress, images are referred only here,
    17     and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
    18     not, then go right ahead and delete the following lines, and the image files. */
    1916
    20     body { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.jpg"); }
    21 <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
     17<?php
     18// Checks to see whether it needs a sidebar or not
     19if ( !$withcomments && !is_single() ) {
     20?>
    2221    #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; }
    2322<?php } else { // No sidebar ?>
    2423    #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
    2524<?php } ?>
    26     #header { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; }
    27     #footer { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;}
    2825
    29 /*  Because the template is slightly different, size-wise, with images, this needs to be set here
    30     If you don't want to use the template's images, you can also delete the following two lines. */
    31 
    32     #header     { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
    33     #headerimg  { margin: 7px 9px 0; height: 192px; width: 740px; }
    34 
    35 /*  To ease the insertion of a personal header image, I have done it in such a way,
    36     that you simply drop in an image called 'personalheader.jpg' into your /images/
    37     directory. Dimensions should be at least 760px x 200px. Anything above that will
    38     get cropped off of the image. */
    39     /*
    40     #headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
    41     */
    4226</style>
    4327
  • trunk/wp-content/themes/default/style.css

    r3517 r3924  
    33Theme URI: http://wordpress.org/
    44Description: The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
    5 Version: 1.5
     5Version: 1.6
    66Author: Michael Heilemann
    77Author URI: http://binarybonsai.com/
     
    1616    http://www.opensource.org/licenses/gpl-license.php
    1717
    18 
    19     *** REGARDING IMAGES ***
    20     All CSS that involves the use of images, can be found in the 'index.php' file.
    21     This is to ease installation inside subdirectories of a server.
    22 
    23     Have fun, and don't be afraid to contact me if you have questions.
    2418*/
    2519
     
    3024    font-size: 62.5%; /* Resets 1em to 10px */
    3125    font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
    32     background-color: #d5d6d7;
     26    background: #d5d6d7 url('images/kubrickbgcolor.jpg');
    3327    color: #333;
    3428    text-align: center;
     
    4236
    4337#header {
    44     background-color: #73a0c5;
    45     }
     38    background: #73a0c5 url('images/kubrickheader.jpg') no-repeat bottom center;
     39    }
     40
     41#headerimg  {
     42    margin: 7px 9px 0;
     43    height: 192px;
     44    width: 740px;
     45    }
    4646
    4747#content {
     
    7272
    7373#footer {
    74     background-color: #eee;
     74    background: #eee url('images/kubrickfooter.jpg') no-repeat top;
     75    border: none;
    7576    }
    7677
     
    209210/* Begin Structure */
    210211body {
    211     margin: 0;
     212    margin: 0 0 20px 0;
    212213    padding: 0;
    213214    }
     
    222223
    223224#header {
    224     padding: 0;
    225     margin: 0 auto;
    226     height: 200px;
    227     width: 100%;
    228225    background-color: #73a0c5;
     226    margin: 0 0 0 1px;
     227    padding: 0;
     228    height: 200px;
     229    width: 758px;
    229230    }
    230231
     
    282283
    283284#footer {
    284     padding: 0 0 0 1px;
     285    padding: 0;
    285286    margin: 0 auto;
    286287    width: 760px;
     
    450451
    451452#sidebar #searchform #s {
    452     width: 115px;
     453    width: 108px;
    453454    padding: 2px;
    454455    }
Note: See TracChangeset for help on using the changeset viewer.