commit 14858ce5448055e13bac4bb69adc515acf78cdee Author: Andrew Date: Mon May 4 17:59:14 2009 -0700 Initial import. Most code is still very original, the majority of changes from Minimalism is in the CSS file. Some changes have also been made to remove old comments and unused code diff --git a/404.php b/404.php new file mode 100644 index 0000000..b2cdc01 --- /dev/null +++ b/404.php @@ -0,0 +1,11 @@ + + +
+ +

+ +
+ + + + \ No newline at end of file diff --git a/archive.php b/archive.php new file mode 100644 index 0000000..faaa370 --- /dev/null +++ b/archive.php @@ -0,0 +1,61 @@ + + +
+ + + + + +

+ +

+ +

+ +

+ +

+ +

+ +

+ + + + + + +
+

+ + +
+ +
+ + + +
+ + + + + + + +

+ + + + +
+ + + + diff --git a/archives.php b/archives.php new file mode 100644 index 0000000..2740e10 --- /dev/null +++ b/archives.php @@ -0,0 +1,25 @@ + + + + +
+ + + +

+ + +

+ + +
+ + diff --git a/comments-popup.php b/comments-popup.php new file mode 100644 index 0000000..4fc15af --- /dev/null +++ b/comments-popup.php @@ -0,0 +1,116 @@ + + + + + <?php printf(__('%1$s - Comments on %2$s', 'minimalism'), get_option('blogname'), the_title('','',false)); ?> + + + + + + + +

+ +

+ +

RSS feed for comments on this post.', 'minimalism'); ?>

+ +ping_status) { ?> +

URL to TrackBack this entry is: %s', 'minimalism'), get_trackback_url()); ?>

+ + +post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie + echo(get_the_password_form()); +} else { ?> + + +
    + +
  1. + +

    %4$s', 'minimalism'), get_comment_author_link(), get_comment_date(), get_comment_ID(), get_comment_time()); ?>

    +
  2. + + +
+ +

+ + +comment_status) { ?> +

+

HTML allowed: %s', 'minimalism'), allowed_tags()); ?>

+ +
+ +

%2$s. Log out »', 'minimalism'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity, get_option('siteurl') . '/wp-login.php?action=logout'); ?>

+ +

+ + + + " /> +

+ +

+ + +

+ +

+ + +

+ + +

+ +
+ +

+ +

+ +

+ ID); ?> +
+ +

+ + +
+ + + + + +

WordPress', 'minimalism'), 'http://wordpress.org/'); ?>

+ + + + diff --git a/comments.php b/comments.php new file mode 100644 index 0000000..fa6221e --- /dev/null +++ b/comments.php @@ -0,0 +1,105 @@ +post_password)) { // if there's a password + if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie + ?> + +

+ + + + + + +

+ +
    + + + +
  1. id="comment-"> + + %s Says:', 'minimalism'), get_comment_author_link()); ?> + comment_approved == '0') : ?> + + +
    + + + + + +
  2. + + + + + +
+ + + + comment_status) : ?> + + + + +

+ + + + + +comment_status) : ?> + +

+ + +

logged in to post a comment.', 'minimalism'), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink())); ?>

+ + +
+ + + +

%2$s.', 'minimalism'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?>

+ + + +

/> +

+ +

/> +

+ +

+

+ + + + + +

+ +

+ +

+ID); ?> + +
+ + + + diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..50755d7 --- /dev/null +++ b/footer.php @@ -0,0 +1,13 @@ + +
+ + + + + \ No newline at end of file diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..08754d6 --- /dev/null +++ b/functions.php @@ -0,0 +1,418 @@ + '
  • ', + 'after_widget' => '
  • ', + 'before_title' => '

    ', + 'after_title' => '

    ', + )); + +load_theme_textdomain('minimalism'); + +function kubrick_head() { + $head = "\n"; + if ( '' != $output ) + echo $head . $output . $foot; +} + +add_action('wp_head', 'kubrick_head'); + +function kubrick_header_image() { + return apply_filters('kubrick_header_image', get_option('kubrick_header_image')); +} + +function kubrick_upper_color() { + if (strpos($url = kubrick_header_image_url(), 'header-img.php?') !== false) { + parse_str(substr($url, strpos($url, '?') + 1), $q); + return $q['upper']; + } else + return '69aee7'; +} + +function kubrick_lower_color() { + if (strpos($url = kubrick_header_image_url(), 'header-img.php?') !== false) { + parse_str(substr($url, strpos($url, '?') + 1), $q); + return $q['lower']; + } else + return '4180b6'; +} + +function kubrick_header_image_url() { + if ( $image = kubrick_header_image() ) + $url = get_template_directory_uri() . '/images/' . $image; + else + $url = get_template_directory_uri() . '/images/kubrickheader.jpg'; + + return $url; +} + +function kubrick_header_color() { + return apply_filters('kubrick_header_color', get_option('kubrick_header_color')); +} + +function kubrick_header_color_string() { + $color = kubrick_header_color(); + if ( false === $color ) + return 'white'; + + return $color; +} + +function kubrick_header_display() { + return apply_filters('kubrick_header_display', get_option('kubrick_header_display')); +} + +function kubrick_header_display_string() { + $display = kubrick_header_display(); + return $display ? $display : 'inline'; +} + +add_action('admin_menu', 'kubrick_add_theme_page'); + +function kubrick_add_theme_page() { + if ( isset( $_GET['page'] ) && $_GET['page'] == basename(__FILE__) ) { + if ( isset( $_REQUEST['action'] ) && 'save' == $_REQUEST['action'] ) { + check_admin_referer('kubrick-header'); + if ( isset($_REQUEST['njform']) ) { + if ( isset($_REQUEST['defaults']) ) { + delete_option('kubrick_header_image'); + delete_option('kubrick_header_color'); + delete_option('kubrick_header_display'); + } else { + if ( '' == $_REQUEST['njfontcolor'] ) + delete_option('kubrick_header_color'); + else { + $fontcolor = preg_replace('/^.*(#[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['njfontcolor']); + update_option('kubrick_header_color', $fontcolor); + } + if ( preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njuppercolor'], $uc) && preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njlowercolor'], $lc) ) { + $uc = ( strlen($uc[0]) == 3 ) ? $uc[0]{0}.$uc[0]{0}.$uc[0]{1}.$uc[0]{1}.$uc[0]{2}.$uc[0]{2} : $uc[0]; + $lc = ( strlen($lc[0]) == 3 ) ? $lc[0]{0}.$lc[0]{0}.$lc[0]{1}.$lc[0]{1}.$lc[0]{2}.$lc[0]{2} : $lc[0]; + update_option('kubrick_header_image', "header-img.php?upper=$uc&lower=$lc"); + } + + if ( isset($_REQUEST['toggledisplay']) ) { + if ( false === get_option('kubrick_header_display') ) + update_option('kubrick_header_display', 'none'); + else + delete_option('kubrick_header_display'); + } + } + } else { + + if ( isset($_REQUEST['headerimage']) ) { + check_admin_referer('kubrick-header'); + if ( '' == $_REQUEST['headerimage'] ) + delete_option('kubrick_header_image'); + else { + $headerimage = preg_replace('/^.*?(header-img.php\?upper=[0-9a-fA-F]{6}&lower=[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['headerimage']); + update_option('kubrick_header_image', $headerimage); + } + } + + if ( isset($_REQUEST['fontcolor']) ) { + check_admin_referer('kubrick-header'); + if ( '' == $_REQUEST['fontcolor'] ) + delete_option('kubrick_header_color'); + else { + $fontcolor = preg_replace('/^.*?(#[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['fontcolor']); + update_option('kubrick_header_color', $fontcolor); + } + } + + if ( isset($_REQUEST['fontdisplay']) ) { + check_admin_referer('kubrick-header'); + if ( '' == $_REQUEST['fontdisplay'] || 'inline' == $_REQUEST['fontdisplay'] ) + delete_option('kubrick_header_display'); + else + update_option('kubrick_header_display', 'none'); + } + } + //print_r($_REQUEST); + wp_redirect("themes.php?page=functions.php&saved=true"); + die; + } + add_action('admin_head', 'kubrick_theme_page_head'); + } + add_theme_page(__('Customize Header', 'minimalism'), __('Header Image and Color', 'minimalism'), 'edit_themes', basename(__FILE__), 'kubrick_theme_page'); +} + +function kubrick_theme_page_head() { +?> + + + +

    '.__('Options saved.', 'minimalism').'

    '; +?> +
    +
    +

    +
    + +
    +
    +
    +
    + +
    + red', '#FF0000', 'rgb(255, 0, 0)'); ?>
    + #FF0000', '#F00'); ?>
    + #FF0000', '#F00'); ?>
    + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + +

    +
    + +
    + +
    +
    +
    +
    + diff --git a/header.php b/header.php new file mode 100644 index 0000000..fac12a1 --- /dev/null +++ b/header.php @@ -0,0 +1,27 @@ + +> + + + + +<?php bloginfo('name'); +if ( is_single() ) { + _e('» Blog Archive', 'minimalism'); +} +wp_title(); ?> + + + + + + + + + +
    + + + +
    diff --git a/image.php b/image.php new file mode 100644 index 0000000..f7b902b --- /dev/null +++ b/image.php @@ -0,0 +1,64 @@ + + +
    + + + +
    +

    post_parent); ?> »

    +
    +

    ID, 'medium' ); ?>

    +
    post_excerpt) ) the_excerpt(); // this is the "caption" ?>
    + + ' . __('Read the rest of this entry »', 'minimalism') . '

    '); ?> + + '

    ' . __('Pages:', 'minimalism') . ' ', 'after' => '

    ', 'next_or_number' => 'number')); ?> + + +
    + + + +
    + +
    + + + + + +

    + + + +
    + + diff --git a/images/andr3w-logo-300.png b/images/andr3w-logo-300.png new file mode 100644 index 0000000..8f73b7c Binary files /dev/null and b/images/andr3w-logo-300.png differ diff --git a/images/andr3w-logo-500.png b/images/andr3w-logo-500.png new file mode 100644 index 0000000..5c6961f Binary files /dev/null and b/images/andr3w-logo-500.png differ diff --git a/images/andr3w-logo-750.png b/images/andr3w-logo-750.png new file mode 100644 index 0000000..8436731 Binary files /dev/null and b/images/andr3w-logo-750.png differ diff --git a/images/header-img.php b/images/header-img.php new file mode 100644 index 0000000..65a9e87 --- /dev/null +++ b/images/header-img.php @@ -0,0 +1,77 @@ +array('r1', 'g1', 'b1'), 'lower'=>array('r2', 'g2', 'b2')); +foreach ( $vars as $var => $subvars ) { + if ( isset($_GET[$var]) ) { + foreach ( $subvars as $index => $subvar ) { + $length = strlen($_GET[$var]) / 3; + $v = substr($_GET[$var], $index * $length, $length); + if ( $length == 1 ) $v = '' . $v . $v; + $$subvar = hexdec( $v ); + if ( $$subvar < 0 || $$subvar > 255 ) + $default = true; + } + } else { + $default = true; + } +} + +if ( $default ) + list ( $r1, $g1, $b1, $r2, $g2, $b2 ) = array ( 105, 174, 231, 65, 128, 182 ); + +// Create the image +$im = imagecreatefromjpeg($img); + +// Get the background color, define the rectangle height +$white = imagecolorat( $im, 15, 15 ); +$h = 182; + +// Define the boundaries of the rounded edges ( y => array ( x1, x2 ) ) +$corners = array( + 0 => array ( 25, 734 ), + 1 => array ( 23, 736 ), + 2 => array ( 22, 737 ), + 3 => array ( 21, 738 ), + 4 => array ( 21, 738 ), + 177 => array ( 21, 738 ), + 178 => array ( 21, 738 ), + 179 => array ( 22, 737 ), + 180 => array ( 23, 736 ), + 181 => array ( 25, 734 ), + ); + +// Blank out the blue thing +for ( $i = 0; $i < $h; $i++ ) { + $x1 = 19; + $x2 = 740; + imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $white ); +} + +// Draw a new color thing +for ( $i = 0; $i < $h; $i++ ) { + $x1 = 20; + $x2 = 739; + $r = ( $r2 - $r1 != 0 ) ? $r1 + ( $r2 - $r1 ) * ( $i / $h ) : $r1; + $g = ( $g2 - $g1 != 0 ) ? $g1 + ( $g2 - $g1 ) * ( $i / $h ) : $g1; + $b = ( $b2 - $b1 != 0 ) ? $b1 + ( $b2 - $b1 ) * ( $i / $h ) : $b1; + $color = imagecolorallocate( $im, $r, $g, $b ); + if ( array_key_exists($i, $corners) ) { + imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $white ); + list ( $x1, $x2 ) = $corners[$i]; + } + imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $color ); +} + +//die; +header("Content-Type: image/jpeg"); +imagejpeg($im, '', 92); +imagedestroy($im); +?> diff --git a/index.php b/index.php new file mode 100644 index 0000000..db3b60c --- /dev/null +++ b/index.php @@ -0,0 +1,39 @@ + + +
    + + + + + +
    +

    + + +
    + +
    + + +
    + + + + + + + +

    +

    + + + + +
    + + + + diff --git a/links.php b/links.php new file mode 100644 index 0000000..8a3c43b --- /dev/null +++ b/links.php @@ -0,0 +1,18 @@ + + + + +
    + +

    +
      + +
    + +
    + + diff --git a/page.php b/page.php new file mode 100644 index 0000000..b31d3eb --- /dev/null +++ b/page.php @@ -0,0 +1,21 @@ + + +
    + + +
    +

    +
    + ' . __('Read the rest of this page »', 'minimalism') . '

    '); ?> + + '

    ' . __('Pages:', 'minimalism') . ' ', 'after' => '

    ', 'next_or_number' => 'number')); ?> + +
    +
    + + ', '

    '); ?> +
    + + + + diff --git a/rtl.css b/rtl.css new file mode 100644 index 0000000..e69bc81 --- /dev/null +++ b/rtl.css @@ -0,0 +1,110 @@ +/* +Theme Name: minimalism revisited +Theme URI: http://andr3w.net/minimalism-revisited/ +Description: A very simple and minimal theme that was based originally on the familiar Kubrick theme. +Author: Andrew Davidson +Author URI: http://www.andr3w.net +Tags: white, fixed width, two columns, widgets, minimalism +*/ + +body, .commentlist li, #commentform input, #commentform textarea, #commentform p, #sidebar, #wp-calendar caption { + font-family:tahoma, arial; +} +#page { + text-align:right; + direction:rtl; +} +h1, h2, h3, #sidebar h2 { + font-family:arial, tahoma; +} +.commentlist li .avatar { + float:left; +} +#header { + margin:0 1px 0 0; +} +.narrowcolumn { + float:right; + padding: 0 45px 20px 0; +} +.widecolumn { + margin: 5px 150px 0 0; +} +.widecolumn .smallattachment { + margin: 5px 0 5px 5px; +} +.postmetadata { + clear:right; +} +#sidebar { + margin-left: 0; + margin-right: 545px; +} +img.alignright { + margin: 0 7px 2px 0; +} + +img.alignleft { + margin: 0 0 2px 7px; +} + +.alignright { + float: left; +} + +.alignleft { + float: right; +} +code { + display:block; + direction:ltr; + text-align:left; +} +acronym, abbr, span.caps { + letter-spacing:0; /* fix opera bug */ +} +html>body .entry ul { + padding:0 10px 0 0; + text-indent:10px; +} +html>body .entry li { + margin: 7px 10px 8px 0; +} +.entry ol { + padding: 0 35px 0 0; +} +#sidebar ul ul, #sidebar ul ol { + margin: 5px 10px 0 0; +} +#sidebar ul ul ul, #sidebar ul ol { + margin: 0 10px 0 0; +} +#commentform input { + margin: 5px 0 1px 5px; +} +#commentform #submit { + float:left; +} +.commentlist p { + margin: 10px 0 10px 5px; +} +#wp-calendar #next a { + padding-right:0; + padding-left:10px; + text-align:left; +} +#wp-calendar #prev a { + padding-left:0; + padding-right:10px; + text-align:right; +} +blockquote { + margin: 15px 10px 0 30px; + padding-left: 0; + padding-right: 20px; + border-left: 0 none; + border-right: 5px solid #ddd; +} +#email, #url { + direction:ltr; +} \ No newline at end of file diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..50b4107 Binary files /dev/null and b/screenshot.png differ diff --git a/search.php b/search.php new file mode 100644 index 0000000..3906307 --- /dev/null +++ b/search.php @@ -0,0 +1,42 @@ + + +
    + + + +

    + + + + + + +
    +

    + + + +
    + + + + + + + +

    + + + + +
    + + + + diff --git a/searchform.php b/searchform.php new file mode 100644 index 0000000..cb3be03 --- /dev/null +++ b/searchform.php @@ -0,0 +1,6 @@ +
    + +
    + +
    +
    diff --git a/sidebar.php b/sidebar.php new file mode 100644 index 0000000..d276e81 --- /dev/null +++ b/sidebar.php @@ -0,0 +1,64 @@ + + diff --git a/single.php b/single.php new file mode 100644 index 0000000..60686c1 --- /dev/null +++ b/single.php @@ -0,0 +1,65 @@ + + +
    + + + + + +
    +

    +
    + ' . __('Read the rest of this entry »', 'minimalism') . '

    '); ?> + + '

    ' . __('Pages:', 'minimalism') . ' ', 'after' => '

    ', 'next_or_number' => 'number')); ?> + ' . __('Tags:', 'minimalism') . ' ', ', ', '

    '); ?> + + + +
    +
    + + + + + +

    + + + +
    + + + + diff --git a/style.css b/style.css new file mode 100644 index 0000000..934acbf --- /dev/null +++ b/style.css @@ -0,0 +1,709 @@ +/* +Theme Name: minimalism revisited +Theme URI: http://andr3w.net/minimalism-revisited/ +Description: A very simple and minimal theme that was based originally on the familiar Kubrick theme. +Version: 0.1 +Author: Andrew Davidson +Author URI: http://www.andr3w.net +Tags: white, fixed width, two columns, widgets, minimalism +*/ + + + +/* Begin Typography & Colors */ +body { + font-size: 62.5%; /* Resets 1em to 10px */ + font-family: Arial, Helvetica, Sans-Serif; + background: #fff; + color: #333; + text-align: center; + } + +#page { + background-color: #fff; + text-align: left; + } + +#header { + background: #fff; + } + +#headerimg { + margin: 7px 9px 0; + height: 175px; + } + +#content { + font-size: 1.2em + } + +.widecolumn .entry p { + font-size: 1.05em; + } + +.narrowcolumn .entry, .widecolumn .entry { + line-height: 1.4em; + } + +.widecolumn { + line-height: 1.6em; + } + +.narrowcolumn .postmetadata { + font-size: 0.9em; + } + +.alt { + background-color: #fff; + border-top: 1px solid #eee; + border-bottom: 1px solid #eee; + } + +#footer { + background: #fff; + border: none; + } + +small { + font-family: Arial, Helvetica, Sans-Serif; + font-size: 0.9em; + line-height: 1.5em; + } + +h1, h2, h3 { + font-family: Arial, Helvetica, Sans-Serif; + font-weight: bold; + } + +#headerimg h1 { + font-size: 4em; + } + +#headerimg .description { + font-size: 1.2em; + } + +h1, h2 { + font-size: 1.6em; + color: #000; + } + +h2.pagetitle { + font-size: 2.25em; + } + +#sidebar h2 { + font-family: Arial, Helvetica, Sans-Serif; + font-size: 1.2em; + } + +h3 { + font-size: 1.3em; + color: #000; + } + +h1, h1 a, h1 a:hover, h1 a:visited { + text-decoration: none; + color: #000; + } + +h2 a, h2 a:visited, h3, h3 a, h3 a:visited { + color: #000; + } + +h2 a, h2 a:visited, h3, h3 a, h3 a:visited, #sidebar h2, #wp-calendar caption, cite { + text-decoration: none; + color: #000; + } + +#sidebar h2 { + color: #000; + } + +h2 a:hover, h3 a:hover { + text-decoration: none; + color: #000; + } + +.entry p a { + text-decoration: underline; + } + +.entry p a:hover { + text-decoration: none; + color: #09C; + } + +.commentlist li, #commentform input, #commentform textarea { + font-family: Arial, Helvetica, Sans-Serif; + font-size: 1em; + line-height: 1.4em; + } + +.commentlist li { + font-weight: bold; + } + +.commentlist li .avatar { + float: right; + border: 1px solid #eee; + padding: 2px; + background: #fff; + } + +.commentlist cite, .commentlist cite a { + font-weight: bold; + font-style: normal; + font-size: 1.1em; + } + +.commentlist p { + font-weight: normal; + line-height: 1.5em; + text-transform: none; + } + +#commentform p { + font-family: Arial, Helvetica, Sans-Serif; + } + +.commentmetadata { + font-weight: normal; + } + +#sidebar { + font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif; + } + +small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike { + color: #333; + } + +code { + font: 1.1em 'Courier New', Courier, Fixed; + } + +acronym, abbr, span.caps +{ + font-size: 0.9em; + letter-spacing: .07em; + } + +a { + color: #036; + text-decoration: underline; + } + +a:hover { + color: #09C; + text-decoration: none; + } + +#wp-calendar #prev a, #wp-calendar #next a { + font-size: 9pt; + } + +#wp-calendar a { + text-decoration: underline; + } + +#wp-calendar a:hover { + text-decoration: none; + } + +#wp-calendar caption { + font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif; + } + +#wp-calendar th { + font-style: normal; + text-transform: capitalize; + } +/* End Typography & Colors */ + + + +/* Begin Structure */ +body { + margin: 0 0 20px 0; + padding: 0; + font-family: helvetica, verdana, sans-serif; + } + +#page { + background-color: #fff; + margin: 20px auto; + padding: 0; + width: 760px; + } + +#header { + background-color: #fff; + margin: 0 0 0 1px; + padding: 0; + height: 150px; + } + +#headerimg { + margin: 0; + height: 175px; + padding: 0 0 0 45px; + } + +.narrowcolumn { + float: left; + padding: 0 0 20px 45px; + margin: 0px 0 0; + width: 450px; + } + +.widecolumn { + padding: 10px 0 20px 0; + margin: 5px 0 0 150px; + width: 450px; + } + +.post { + margin: 0 0 40px; + text-align: justify; + } + +.post hr { + display: block; + } + +.widecolumn .post { + margin: 0; + } + +.narrowcolumn .postmetadata { + padding-top: 5px; + } + +.widecolumn .postmetadata { + margin: 30px 0; + } + +.widecolumn .smallattachment { + float: left; + width: 128px; + margin: 5px 5px 5px 0px; +} + +.widecolumn .attachment { + margin: 5px 0px; +} + +.postmetadata { + clear: both; +} + +.clear { + clear: both; +} + +#footer { + padding: 0 0 0 45px; + margin: 0 auto; + clear: both; + } + +#footer p { + margin: 0; + padding: 20px 0; + } +/* End Structure */ + + + +/* Begin Headers */ +h1 { + padding-top: 70px; + margin: 0; + } + +h2 { + font-family: "Times New Roman", "Times", serif; + font-size: 225%; + margin: 30px 0 0; + } + +h2.pagetitle { + margin-top: 30px; +} + +#sidebar h2 { + margin: 5px 0 0; + padding: 0; + } + +h3 { + padding: 0; + margin: 30px 0 0; + } + +h3.comments { + padding: 0; + margin: 40px auto 20px ; + } +/* End Headers */ + + + +/* Begin Images */ +p img { + padding: 0; + max-width: 100%; + } + +/* Using 'class="alignright"' on an image will (who would've + 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; + display: inline; + } + +img.alignleft { + padding: 4px; + margin: 0 7px 2px 0; + display: inline; + } + +.alignright { + float: right; + } + +.alignleft { + float: left + } +/* End Images */ + + + +/* Begin Lists + + Special stylized non-IE bullets + Do not work in Internet Explorer, which merely default to normal bullets. */ + +html>body .entry ul { + margin-left: 0px; + padding: 0 0 0 30px; + list-style: none; + padding-left: 10px; + text-indent: -10px; + line-height: 1em; + } + +html>body .entry li { + margin: 7px 0 8px 10px; + } + +.entry ul li:before, #sidebar ul ul li:before { + content: "\00BB \0020"; + } + +.entry ol { + padding: 0 0 0 35px; + margin: 0; + } + +.entry ol li { + margin: 0; + padding: 0; + } + +.postmetadata ul, .postmetadata li { + display: inline; + list-style-type: none; + list-style-image: none; + } + +#sidebar ul, #sidebar ul ol { + margin: 0; + padding: 0; + } + +#sidebar ul li { + list-style-type: none; + list-style-image: none; + margin-bottom: 15px; + } + +#sidebar ul p, #sidebar ul select { + margin: 5px 0 8px; + } + +#sidebar ul ul, #sidebar ul ol { + margin: 5px 0 0 10px; + } + +#sidebar ul ul ul, #sidebar ul ol { + margin: 0 0 0 10px; + } + +ol li, #sidebar ul ol li { + list-style: decimal outside; + } + +#sidebar ul ul li, #sidebar ul ol li { + margin: 3px 0 0; + padding: 0; + } + +ul ul li { + margin-left: 0px; + padding-left: 10px; + text-indent: -10px; + } + +/* End Entry Lists */ + + + +/* Begin Form Elements */ +#searchform { + margin: 10px auto; + padding: 5px 3px; + } + +#sidebar #searchform #s { + width: 108px; + padding: 2px; + } + +#sidebar #searchsubmit { + padding: 1px; + cursor: pointer; + } + +.entry form { /* This is mainly for password protected posts, makes them look better. */ + text-align:left; + } + +select { + width: 130px; + } + +#commentform input { + width: 170px; + padding: 2px; + margin: 5px 5px 1px 0; + } + +#commentform textarea { + width: 100%; + padding: 2px; + } + +#commentform #submit { + margin: 0; + float: right; + cursor: pointer; + } + +input, textarea + { + border: #ddd 1px solid; + background-color: #ffffff; + font-family: Arial, Helvetica, Sans-Serif; + font-size:1em; + font-weight: normal; + } + +#searchsubmit + { + cursor: pointer; + text-decoration:none; + } + +/* End Form Elements */ + + + + +/* Begin Comments*/ +.alt { + margin: 0; + padding: 10px; + } + +.commentlist { + padding: 0; + text-align: justify; + } + +.commentlist li { + margin: 15px 0 3px; + padding: 5px 10px 3px; + list-style: none; + } + +.commentlist p { + margin: 10px 5px 10px 0; + } + +#commentform p { + margin: 5px 0; + } + +.nocomments { + margin: 0; + padding: 0; + } + +.commentmetadata { + margin: 0; + display: block; + } +/* End Comments */ + + + +/* Begin Sidebar */ +#sidebar +{ + padding: 20px 0 10px 0; + margin-left: 545px; + width: 190px; + } + +#sidebar form { + margin: 0; + } +/* End Sidebar */ + + + +/* Begin Calendar */ +#wp-calendar_wrap { + + text-align: left; + } +#wp-calendar { + empty-cells: show; + margin: 10px 0 0 0; + width: 155px; + text-align: left; + } + +#wp-calendar #next a { + padding-right: 10px; + text-align: right; + } + +#wp-calendar #prev a { + padding-left: 10px; + text-align: left; + } + +#wp-calendar a { + display: block; + } + +#wp-calendar caption { + width: 100%; + text-align: left; + } + +#wp-calendar td { + padding: 3px 0; + } + +#wp-calendar td.pad:hover { /* Doesn't work in IE */ + background-color: #fff; } +/* End Calendar */ + + + +/* Begin Various Tags & Classes */ +acronym, abbr, span.caps { + cursor: help; + } + +acronym, abbr { + border-bottom: 1px dashed #eee; + } + +blockquote { + font-weight:bold; + margin: 15px 30px 0 10px; + padding-left: 20px; + border-left: 5px solid #eee; + } + +blockquote cite { + margin: 5px 0 0; + display: block; + } + +.center { + } + +.hidden { + display: none; + } + +hr { + display: none; + } + +a img { + border: none; + } + +.navigation { + display: block; + margin-top: 10px; + margin-bottom: 60px; + } +/* End Various Tags & Classes*/ + + + +/* Captions */ +.aligncenter, +div.aligncenter { + display: block; + margin-left: auto; + margin-right: auto; +} + +.wp-caption { + border: 1px solid #eee; + background-color: #fff; + padding-top: 4px; + margin: 10px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} + +.wp-caption img { + margin: 0px 5px; + padding: 0; + border: 0 none; +} + +.wp-caption p.wp-caption-text { + font-size: 11px; + line-height: 17px; + padding: 0 4px 5px; + margin: 0; +} +/* End captions */ + + +/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you. + It won't be a stylish marriage, I can't afford a carriage. + But you'll look sweet upon the seat of a bicycle built for two." */