WordPress.org

Make WordPress Core


Ignore:
Location:
trunk/wp-content/themes/twentyten
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/attachment.php

    r15465 r15262  
    1010get_header(); ?>
    1111
    12         <div id="container" class="single-attachment">
     12        <div id="container">
    1313            <div id="content" role="main">
    1414
    1515<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    1616
    17                 <?php if ( ! empty( $post->post_parent ) ) : ?>
    18                     <p class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php esc_attr( printf( __( 'Return to %s', 'twentyten' ), get_the_title( $post->post_parent ) ) ); ?>" rel="gallery"><?php
    19                         /* translators: %s - title of parent post */
    20                         printf( __( '<span class="meta-nav">&larr;</span> %s', 'twentyten' ), get_the_title( $post->post_parent ) );
    21                     ?></a></p>
    22                 <?php endif; ?>
     17                <p class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php esc_attr( printf( __( 'Return to %s', 'twentyten' ), get_the_title( $post->post_parent ) ) ); ?>" rel="gallery"><?php
     18                    /* translators: %s - title of parent post */
     19                    printf( __( '<span class="meta-nav">&larr;</span> %s', 'twentyten' ), get_the_title( $post->post_parent ) );
     20                ?></a></p>
    2321
    2422                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • trunk/wp-content/themes/twentyten/editor-style.css

    r15465 r15262  
    4040}
    4141hr {
    42     background-color: #e7e7e7;
     42    background-color: #E7E7E7;
    4343    border:0;
    4444    height: 1px;
     
    9696}
    9797ins {
    98     background: #ffffcc;
     98    background: #FFFFCC;
    9999    border: none;
    100100    color: #333;
     
    143143}
    144144a:link {
    145     color:#0066cc;
     145    color:#0066CC;
    146146}
    147147a:visited {
     
    150150a:active,
    151151a:hover {
    152     color: #ff4b33;
     152    color: #FF4B33;
    153153}
    154154p,
  • trunk/wp-content/themes/twentyten/functions.php

    r15465 r15262  
    203203}
    204204endif;
     205
     206/**
     207 * Makes some changes to the <title> tag, by filtering the output of wp_title().
     208 *
     209 * If we have a site description and we're viewing the home page or a blog posts
     210 * page (when using a static front page), then we will add the site description.
     211 *
     212 * If we're viewing a search result, then we're going to recreate the title entirely.
     213 * We're going to add page numbers to all titles as well, to the middle of a search
     214 * result title and the end of all other titles.
     215 *
     216 * The site title also gets added to all titles.
     217 *
     218 * @since Twenty Ten 1.0
     219 *
     220 * @param string $title Title generated by wp_title()
     221 * @param string $separator The separator passed to wp_title(). Twenty Ten uses a
     222 *  vertical bar, "|", as a separator in header.php.
     223 * @return string The new title, ready for the <title> tag.
     224 */
     225function twentyten_filter_wp_title( $title, $separator ) {
     226    // Don't affect wp_title() calls in feeds.
     227    if ( is_feed() )
     228        return $title;
     229
     230    // The $paged global variable contains the page number of a listing of posts.
     231    // The $page global variable contains the page number of a single post that is paged.
     232    // We'll display whichever one applies, if we're not looking at the first page.
     233    global $paged, $page;
     234
     235    if ( is_search() ) {
     236        // If we're a search, let's start over:
     237        $title = sprintf( __( 'Search results for %s', 'twentyten' ), '"' . get_search_query() . '"' );
     238        // Add a page number if we're on page 2 or more:
     239        if ( $paged >= 2 )
     240            $title .= " $separator " . sprintf( __( 'Page %s', 'twentyten' ), $paged );
     241        // Add the site name to the end:
     242        $title .= " $separator " . get_bloginfo( 'name', 'display' );
     243        // We're done. Let's send the new title back to wp_title():
     244        return $title;
     245    }
     246
     247    // Otherwise, let's start by adding the site name to the end:
     248    $title .= get_bloginfo( 'name', 'display' );
     249
     250    // If we have a site description and we're on the home/front page, add the description:
     251    $site_description = get_bloginfo( 'description', 'display' );
     252    if ( $site_description && ( is_home() || is_front_page() ) )
     253        $title .= " $separator " . $site_description;
     254
     255    // Add a page number if necessary:
     256    if ( $paged >= 2 || $page >= 2 )
     257        $title .= " $separator " . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
     258
     259    // Return the new title to wp_title():
     260    return $title;
     261}
     262add_filter( 'wp_title', 'twentyten_filter_wp_title', 10, 2 );
    205263
    206264/**
  • trunk/wp-content/themes/twentyten/header.php

    r15465 r15262  
    1616    /*
    1717     * Print the <title> tag based on what is being viewed.
     18     * We filter the output of wp_title() a bit -- see
     19     * twentyten_filter_wp_title() in functions.php.
    1820     */
    19     global $page, $paged;
    20 
    2121    wp_title( '|', true, 'right' );
    22 
    23     // Add the blog name.
    24     bloginfo( 'name' );
    25 
    26     // Add the blog description for the home/front page.
    27     $site_description = get_bloginfo( 'description', 'display' );
    28     if ( $site_description && ( is_home() || is_front_page() ) )
    29         echo " | $site_description";
    30 
    31     // Add a page number if necessary:
    32     if ( $paged >= 2 || $page >= 2 )
    33         echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
    3422
    3523    ?></title>
  • trunk/wp-content/themes/twentyten/languages/twentyten.pot

    r15465 r15262  
    1 # Translation of the WordPress theme Twenty Ten 1.1 by the WordPress team.
     1# Translation of the WordPress theme Twenty Ten 1.0 by the WordPress team.
    22# Copyright (C) 2010 the WordPress team
    33# This file is distributed under the same license as the Twenty Ten package.
     
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Twenty Ten 1.1\n"
     9"Project-Id-Version: Twenty Ten 1.0\n"
    1010"Report-Msgid-Bugs-To: http://wordpress.org/tag/twentyten\n"
    11 "POT-Creation-Date: 2010-07-14 16:21+0000\n"
     11"POT-Creation-Date: 2010-06-15 16:21+0000\n"
    1212"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    4747msgstr ""
    4848
    49 #: attachment.php:18
     49#: attachment.php:17
    5050#, php-format
    5151msgid "Return to %s"
     
    5353
    5454#. translators: %s - title of parent post
    55 #: attachment.php:20
     55#: attachment.php:19
    5656#, php-format
    5757msgid "<span class=\"meta-nav\">&larr;</span> %s"
    5858msgstr ""
    5959
    60 #: attachment.php:29
     60#: attachment.php:27
    6161#, php-format
    6262msgid "<span class=\"%1$s\">By</span> %2$s"
    6363msgstr ""
    6464
    65 #: attachment.php:33 functions.php:451
     65#: attachment.php:31 functions.php:509
    6666#, php-format
    6767msgid "View all posts by %s"
    6868msgstr ""
    6969
    70 #: attachment.php:40
     70#: attachment.php:38
    7171#, php-format
    7272msgid "<span class=\"%1$s\">Published</span> %2$s"
    7373msgstr ""
    7474
    75 #: attachment.php:50
     75#: attachment.php:48
    7676#, php-format
    7777msgid "Full size is %s pixels"
    7878msgstr ""
    7979
    80 #: attachment.php:53
     80#: attachment.php:51
    8181msgid "Link to full-size image"
    8282msgstr ""
    8383
    84 #: attachment.php:60 attachment.php:107 loop.php:95 loop.php:118 loop.php:160
     84#: attachment.php:58 attachment.php:105 loop.php:94 loop.php:117 loop.php:159
    8585#: onecolumn-page.php:27 page.php:32 single.php:53
    8686msgid "Edit"
    8787msgstr ""
    8888
    89 #: attachment.php:100 functions.php:241 loop.php:110 loop.php:138
     89#: attachment.php:98 functions.php:299 loop.php:109 loop.php:137
    9090msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>"
    9191msgstr ""
    9292
    93 #: attachment.php:101 loop.php:139 onecolumn-page.php:26 page.php:31
     93#: attachment.php:99 loop.php:138 onecolumn-page.php:26 page.php:31
    9494#: single.php:31
    9595msgid "Pages:"
     
    135135msgstr ""
    136136
    137 #. #-#-#-#-#  twentyten.pot (Twenty Ten 1.1)  #-#-#-#-#
     137#. #-#-#-#-#  twentyten.pot (Twenty Ten 1.0)  #-#-#-#-#
    138138#. Theme URI of the plugin/theme
    139139#: footer.php:33
     
    194194msgstr ""
    195195
    196 #: functions.php:308
     196#: functions.php:237
     197#, php-format
     198msgid "Search results for %s"
     199msgstr ""
     200
     201#: functions.php:240 functions.php:257
     202#, php-format
     203msgid "Page %s"
     204msgstr ""
     205
     206#: functions.php:366
    197207#, php-format
    198208msgid "%s <span class=\"says\">says:</span>"
    199209msgstr ""
    200210
    201 #: functions.php:311
     211#: functions.php:369
    202212msgid "Your comment is awaiting moderation."
    203213msgstr ""
    204214
    205215#. translators: 1: date, 2: time
    206 #: functions.php:318
     216#: functions.php:376
    207217#, php-format
    208218msgid "%1$s at %2$s"
    209219msgstr ""
    210220
    211 #: functions.php:318 functions.php:335
     221#: functions.php:376 functions.php:393
    212222msgid "(Edit)"
    213223msgstr ""
    214224
    215 #: functions.php:335
     225#: functions.php:393
    216226msgid "Pingback:"
    217227msgstr ""
    218228
    219 #: functions.php:354
     229#: functions.php:412
    220230msgid "Primary Widget Area"
    221231msgstr ""
    222232
    223 #: functions.php:356
     233#: functions.php:414
    224234msgid "The primary widget area"
    225235msgstr ""
    226236
    227 #: functions.php:365
     237#: functions.php:423
    228238msgid "Secondary Widget Area"
    229239msgstr ""
    230240
    231 #: functions.php:367
     241#: functions.php:425
    232242msgid "The secondary widget area"
    233243msgstr ""
    234244
    235 #: functions.php:376
     245#: functions.php:434
    236246msgid "First Footer Widget Area"
    237247msgstr ""
    238248
    239 #: functions.php:378
     249#: functions.php:436
    240250msgid "The first footer widget area"
    241251msgstr ""
    242252
    243 #: functions.php:387
     253#: functions.php:445
    244254msgid "Second Footer Widget Area"
    245255msgstr ""
    246256
    247 #: functions.php:389
     257#: functions.php:447
    248258msgid "The second footer widget area"
    249259msgstr ""
    250260
    251 #: functions.php:398
     261#: functions.php:456
    252262msgid "Third Footer Widget Area"
    253263msgstr ""
    254264
    255 #: functions.php:400
     265#: functions.php:458
    256266msgid "The third footer widget area"
    257267msgstr ""
    258268
    259 #: functions.php:409
     269#: functions.php:467
    260270msgid "Fourth Footer Widget Area"
    261271msgstr ""
    262272
    263 #: functions.php:411
     273#: functions.php:469
    264274msgid "The fourth footer widget area"
    265275msgstr ""
    266276
    267 #: functions.php:442
     277#: functions.php:500
    268278#, php-format
    269279msgid ""
     
    272282msgstr ""
    273283
    274 #: functions.php:468
     284#: functions.php:526
    275285#, php-format
    276286msgid ""
     
    279289msgstr ""
    280290
    281 #: functions.php:470
     291#: functions.php:528
    282292#, php-format
    283293msgid ""
     
    286296msgstr ""
    287297
    288 #: functions.php:472
     298#: functions.php:530
    289299#, php-format
    290300msgid ""
     
    293303msgstr ""
    294304
    295 #: header.php:33
    296 #, php-format
    297 msgid "Page %s"
    298 msgstr ""
    299 
    300 #: header.php:83
     305#: header.php:71
    301306msgid "Skip to content"
    302307msgstr ""
    303308
    304 #: loop.php:25 loop.php:173
     309#: loop.php:25 loop.php:172
    305310msgid "<span class=\"meta-nav\">&larr;</span> Older posts"
    306311msgstr ""
    307312
    308 #: loop.php:26 loop.php:174
     313#: loop.php:26 loop.php:173
    309314msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>"
    310315msgstr ""
     
    316321msgstr ""
    317322
    318 #: loop.php:60 loop.php:92
     323#: loop.php:60 loop.php:91
    319324msgctxt "gallery category slug"
    320325msgid "gallery"
    321326msgstr ""
    322327
    323 #: loop.php:62 loop.php:83 loop.php:126
     328#: loop.php:62 loop.php:82 loop.php:125
    324329#, php-format
    325330msgid "Permalink to %s"
    326331msgstr ""
    327332
    328 #: loop.php:82
     333#: loop.php:81
    329334#, php-format
    330335msgid "This gallery contains <a %1$s>%2$s photos</a>."
    331336msgstr ""
    332337
    333 #: loop.php:92
     338#: loop.php:91
    334339msgid "View posts in the Gallery category"
    335340msgstr ""
    336341
    337 #: loop.php:92
     342#: loop.php:91
    338343msgid "More Galleries"
    339344msgstr ""
    340345
    341 #: loop.php:94 loop.php:117 loop.php:159
     346#: loop.php:93 loop.php:116 loop.php:158
    342347msgid "Leave a comment"
    343348msgstr ""
    344349
    345 #: loop.php:94 loop.php:117 loop.php:159
     350#: loop.php:93 loop.php:116 loop.php:158
    346351msgid "1 Comment"
    347352msgstr ""
    348353
    349 #: loop.php:94 loop.php:117 loop.php:159
     354#: loop.php:93 loop.php:116 loop.php:158
    350355msgid "% Comments"
    351356msgstr ""
    352357
    353 #: loop.php:101
     358#: loop.php:100
    354359msgctxt "asides category slug"
    355360msgid "asides"
    356361msgstr ""
    357362
    358 #: loop.php:146
     363#: loop.php:145
    359364#, php-format
    360365msgid "<span class=\"%1$s\">Posted in</span> %2$s"
    361366msgstr ""
    362367
    363 #: loop.php:155
     368#: loop.php:154
    364369#, php-format
    365370msgid "<span class=\"%1$s\">Tagged</span> %2$s"
     
    414419
    415420#. Description of the plugin/theme
    416 msgid ""
    417 "The 2010 theme for WordPress is stylish, customizable, simple, and readable "
    418 "-- make it yours with a custom menu, header image, and background. Twenty "
    419 "Ten supports six widgetized areas (two in the sidebar, four in the footer) "
    420 "and featured images (thumbnails for gallery posts and custom header images "
    421 "for posts and pages). It includes stylesheets for print and the admin Visual "
    422 "Editor, special styles for posts in the \"Asides\" and \"Gallery\" "
    423 "categories, and has an optional one-column page template that removes the "
    424 "sidebar."
     421msgid "The 2010 default theme for WordPress."
    425422msgstr ""
    426423
  • trunk/wp-content/themes/twentyten/loop.php

    r15465 r15262  
    6969<?php if ( post_password_required() ) : ?>
    7070                <?php the_content(); ?>
    71 <?php else : ?>         
    72                 <?php
    73                     $images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) );
    74                     if ( $images ) :
    75                         $total_images = count( $images );
    76                         $image = array_shift( $images );
    77                         $image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' );
    78                 ?>
    79                         <div class="gallery-thumb">
    80                             <a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
    81                         </div><!-- .gallery-thumb -->
    82                         <p><em><?php printf( __( 'This gallery contains <a %1$s>%2$s photos</a>.', 'twentyten' ),
    83                                 'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
    84                                 $total_images
    85                             ); ?></em></p>
    86                 <?php endif; ?>
    87                         <?php the_excerpt(); ?>
     71<?php else : ?>
     72                <div class="gallery-thumb">
     73<?php
     74    $images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) );
     75    $total_images = count( $images );
     76    $image = array_shift( $images );
     77    $image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' );
     78?>
     79                    <a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
     80                </div><!-- .gallery-thumb -->
     81                <p><em><?php printf( __( 'This gallery contains <a %1$s>%2$s photos</a>.', 'twentyten' ),
     82                        'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
     83                        $total_images
     84                    ); ?></em></p>
     85
     86                <?php the_excerpt(); ?>
    8887<?php endif; ?>
    8988            </div><!-- .entry-content -->
  • trunk/wp-content/themes/twentyten/page.php

    r15465 r15262  
    44 *
    55 * This is the template that displays all pages by default.
    6  * Please note that this is the WordPress construct of pages
    7  * and that other 'pages' on your WordPress site will use a
     6 * Please note that this is the wordpress construct of pages
     7 * and that other 'pages' on your wordpress site will use a
    88 * different template.
    99 *
     
    2323                    <?php if ( is_front_page() ) { ?>
    2424                        <h2 class="entry-title"><?php the_title(); ?></h2>
    25                     <?php } else { ?>
     25                    <?php } else { ?>   
    2626                        <h1 class="entry-title"><?php the_title(); ?></h1>
    27                     <?php } ?>
     27                    <?php } ?>             
    2828
    2929                    <div class="entry-content">
  • trunk/wp-content/themes/twentyten/style.css

    r15465 r15262  
    22Theme Name: Twenty Ten
    33Theme URI: http://wordpress.org/
    4 Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.
     4Description: The 2010 default theme for WordPress.
    55Author: the WordPress team
    6 Version: 1.1
     6Version: 1.0
    77Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
    88*/
    99
    1010
    11 /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
     11/* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
    1212-------------------------------------------------------------- */
    1313
     
    2121fieldset, form, label, legend,
    2222table, caption, tbody, tfoot, thead, tr, th, td {
    23     background: transparent;
    24     border: 0;
    2523    margin: 0;
    2624    padding: 0;
     25    border: 0;
    2726    vertical-align: baseline;
     27    background: transparent;
    2828}
    2929body {
     
    3131}
    3232h1, h2, h3, h4, h5, h6 {
     33    font-weight: normal;
    3334    clear: both;
    34     font-weight: normal;
    3535}
    3636ol, ul {
     
    5252    border-spacing: 0;
    5353}
    54 a img {
    55     border: none;
    56 }
    57 
    58 /* =Layout
    59 -------------------------------------------------------------- */
     54a img { border: none; }
     55
     56
    6057
    6158/*
     
    116113    font-family: Georgia, "Bitstream Charter", serif;
    117114}
     115
    118116h3#comments-title,
    119117h3#reply-title,
     
    141139.widget-title,
    142140.wp-caption-text,
    143 input[type=submit] {
     141input[type=submit]
     142{
    144143    font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    145144}
     
    150149    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    151150}
     151
    152152
    153153
     
    166166}
    167167#wrapper {
     168    margin-top: 20px;
    168169    background: #fff;
    169     margin-top: 20px;
    170170    padding: 0 20px;
    171171}
     
    185185#site-info {
    186186    float: left;
     187    width: 700px;
     188    font-weight: bold;
    187189    font-size: 14px;
    188     font-weight: bold;
    189     width: 700px;
    190190}
    191191#site-generator {
     
    195195
    196196
     197
    197198/* =Global Elements
    198199-------------------------------------------------------------- */
    199200
    200 /* Main global 'theme' and typographic styles */
     201/* Main global 'theme' and typographic styles  */
    201202body {
    202203    background: #f1f1f1;
    203204}
     205
    204206body,
    205207input,
     
    210212}
    211213hr {
    212     background-color: #e7e7e7;
    213     border: 0;
    214     clear: both;
     214    background-color: #E7E7E7;
     215    border:0;
    215216    height: 1px;
    216217    margin-bottom: 18px;
     218    clear:both;
    217219}
    218220
     
    230232}
    231233ol ol {
    232     list-style: upper-alpha;
     234    list-style:upper-alpha;
    233235}
    234236ol ol ol {
    235     list-style: lower-roman;
     237    list-style:lower-roman;
    236238}
    237239ol ol ol ol {
    238     list-style: lower-alpha;
     240    list-style:lower-alpha;
    239241}
    240242ul ul,
     
    242244ul ol,
    243245ol ul {
    244     margin-bottom: 0;
     246    margin-bottom:0;
    245247}
    246248dl {
    247     margin: 0 0 24px 0;
     249    margin:0 0 24px 0;
    248250}
    249251dt {
     
    289291    cursor: help;
    290292}
     293
    291294sup,
    292295sub {
    293296    height: 0;
    294297    line-height: 1;
     298    vertical-align: baseline;
    295299    position: relative;
    296     vertical-align: baseline;
    297300}
    298301sup {
     
    304307input[type="text"],
    305308textarea {
     309    padding: 2px;
    306310    background: #f9f9f9;
    307311    border: 1px solid #ccc;
     
    309313    -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    310314    -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    311     padding: 2px;
    312315}
    313316a:link {
    314     color: #0066cc;
     317    color:#0066CC;
    315318}
    316319a:visited {
    317     color: #743399;
     320    color:#743399;
    318321}
    319322a:active,
    320323a:hover {
    321     color: #ff4b33;
     324    color: #FF4B33;
    322325}
    323326
     
    329332
    330333
     334
    331335/* =Header
    332336-------------------------------------------------------------- */
     
    337341#site-title {
    338342    float: left;
     343    margin: 0 0 18px 0;
     344    width: 700px;
    339345    font-size: 30px;
    340346    line-height: 36px;
    341     margin: 0 0 18px 0;
    342     width: 700px;
    343347}
    344348#site-title a {
     
    357361/* This is the custom header image */
    358362#branding img {
     363    clear: both;
    359364    border-top: 4px solid #000;
     365    display: block;
    360366    border-bottom: 1px solid #000;
    361     clear: both;
    362     display: block;
    363 }
     367}
     368
    364369
    365370
     
    369374#access {
    370375    background: #000;
    371     display: block;
    372     float: left;
    373376    margin: 0 auto;
    374377    width: 940px;
     378    display:block;
     379    float:left;
    375380}
    376381#access .menu-header,
     
    378383    font-size: 13px;
    379384    margin-left: 12px;
    380     width: 928px;
    381385}
    382386#access .menu-header ul,
     
    387391#access .menu-header li,
    388392div.menu li {
    389     float: left;
     393    float:left;
    390394    position: relative;
    391395}
    392396#access a {
    393     color: #aaa;
    394     display: block;
    395     line-height: 38px;
    396     padding: 0 10px;
    397     text-decoration: none;
     397    display:block;
     398    text-decoration:none;
     399    color:#aaa;
     400    padding:0 10px;
     401    line-height:38px;
    398402}
    399403#access ul ul {
     404    display:none;
     405    position:absolute;
     406    top:38px;
     407    left:0;
     408    float:left;
    400409    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    401410    -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    402411    -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    403     display: none;
    404     position: absolute;
    405     top: 38px;
    406     left: 0;
    407     float: left;
    408412    width: 180px;
    409413    z-index: 99999;
    410414}
    411415#access ul ul li {
    412     min-width: 180px;
     416    min-width: 180px;   
    413417}
    414418#access ul ul ul {
    415     left: 100%;
    416     top: 0;
     419    left:100%;
     420    top:0;
    417421}
    418422#access ul ul a {
    419     background: #333;
    420     line-height: 1em;
    421     padding: 10px;
     423    background:#333;
     424    height:auto;
     425    line-height:1em;
     426    padding:10px;
    422427    width: 160px;
    423     height: auto;
    424428}
    425429#access li:hover > a,
    426430#access ul ul :hover > a {
    427     background: #333;
    428     color: #fff;
     431    color:#fff;
     432    background:#333;
    429433}
    430434#access ul li:hover > ul {
    431     display: block;
     435    display:block;
    432436}
    433437#access ul li.current_page_item > a,
     
    437441    color: #fff;
    438442}
     443
    439444* html #access ul li.current_page_item a,
    440445* html #access ul li.current-menu-ancestor a,
     
    442447* html #access ul li.current-menu-parent a,
    443448* html #access ul li a:hover {
    444     color: #fff;
    445 }
    446 
     449    color:#fff;
     450}
    447451
    448452/* =Content
     
    450454
    451455#main {
    452     clear: both;
    453456    overflow: hidden;
    454457    padding: 40px 0 0 0;
     
    470473#content pre,
    471474#content hr {
    472     margin-bottom: 24px;
     475    margin-bottom:24px;
    473476}
    474477#content ul ul,
     
    476479#content ul ol,
    477480#content ol ul {
    478     margin-bottom: 0;
     481    margin-bottom:0;
    479482}
    480483#content pre,
     
    499502#content h6 {
    500503    color: #000;
     504    margin: 0 0 20px 0;
    501505    line-height: 1.5em;
    502     margin: 0 0 20px 0;
    503506}
    504507#content table {
    505508    border: 1px solid #e7e7e7;
     509    text-align: left;
    506510    margin: 0 -1px 24px 0;
    507     text-align: left;
    508511    width: 100%;
    509512}
     
    521524}
    522525#content tr.odd td {
    523     background: #f2f7fc;
     526    background: #F2F7FC;
    524527}
    525528.hentry {
     
    527530}
    528531.home .sticky {
    529     background: #f2f7fc;
     532    background: #F2F7FC;
    530533    border-top: 4px solid #000;
     534    padding: 18px 20px;
    531535    margin-left: -20px;
    532536    margin-right: -20px;
    533     padding: 18px 20px;
    534537}
    535538.single .hentry {
     
    550553.page-title a:link,
    551554.page-title a:visited {
    552     color: #888;
     555    color:#888;
    553556    text-decoration: none;
    554557}
    555558.page-title a:active,
    556559.page-title a:hover {
    557     color: #ff4b33;
     560    color: #FF4B33;
    558561}
    559562#content .entry-title {
    560563    color: #000;
    561564    font-size: 21px;
     565    line-height: 1.3em;
    562566    font-weight: bold;
    563     line-height: 1.3em;
    564567    margin-bottom: 0;
    565568}
    566569.entry-title a:link,
    567570.entry-title a:visited {
    568     color: #000;
     571    color:#000;
    569572    text-decoration: none;
    570573}
    571574.entry-title a:active,
    572575.entry-title a:hover {
    573     color: #ff4b33;
     576    color: #FF4B33;
    574577}
    575578.entry-meta {
     
    594597}
    595598.entry-content fieldset {
    596     border: 1px solid #e7e7e7;
     599    border: 1px solid #E7E7E7;
    597600    margin: 0 0 24px 0;
    598601    padding: 24px;
     
    638641.page-link {
    639642    color: #000;
    640     font-weight: bold;
    641     margin: 0 0 22px 0;
    642     word-spacing: 0.5em;
     643    font-weight:bold;
     644    margin:0 0 22px 0;
     645    word-spacing:0.5em;
    643646}
    644647.page-link a:link,
    645648.page-link a:visited {
    646649    background: #f1f1f1;
    647     color: #333;
    648     font-weight: normal;
    649     padding: 0.5em 0.75em;
    650     text-decoration: none;
     650    color:#333;
     651    font-weight:normal;
     652    padding:0.5em 0.75em;
     653    text-decoration:none;
    651654}
    652655.home .sticky .page-link a {
    653     background: #d9e8f7;
     656    background: #D9E8F7;
    654657}
    655658.page-link a:active,
    656659.page-link a:hover {
    657     color: #ff4b33;
    658 }
    659 body.page .edit-link {
     660    color: #FF4B33;
     661}
     662.page .edit-link {
    660663    clear: both;
    661664    display: block;
    662665}
    663666#entry-author-info {
    664     background: #f2f7fc;
     667    background: #F2F7FC;
    665668    border-top: 4px solid #000;
     669    padding: 18px 20px;
     670    margin: 24px 0;
     671    overflow: hidden;
    666672    clear: both;
    667673    font-size: 14px;
    668674    line-height: 20px;
    669     margin: 24px 0;
    670     overflow: hidden;
    671     padding: 18px 20px;
    672675}
    673676#entry-author-info #author-avatar {
     
    675678    border: 1px solid #e7e7e7;
    676679    float: left;
    677     height: 60px;
    678680    margin: 0 -104px 0 0;
    679681    padding: 11px;
     682    height: 60px;
    680683}
    681684#entry-author-info #author-description {
     
    685688#entry-author-info h2 {
    686689    color: #000;
     690    font-weight: bold;
    687691    font-size: 100%;
    688     font-weight: bold;
    689692    margin-bottom: 0;
    690693}
    691694.entry-utility {
    692     clear: both;
    693695    color: #888;
    694696    font-size: 12px;
    695697    line-height: 18px;
     698    clear: both;
    696699}
    697700.entry-meta a,
     
    701704.entry-meta a:hover,
    702705.entry-utility a:hover {
    703     color: #ff4b33;
     706    color: #FF4B33;
    704707}
    705708#content .video-player {
     
    708711
    709712
    710 /* =Asides
     713
     714/* Asides
    711715-------------------------------------------------------------- */
    712716
     
    715719    line-height: 20px;
    716720    margin-bottom: 10px;
    717     margin-top: 0;
     721    margin-top:0;
    718722}
    719723.home .hentry.category-asides {
     
    725729
    726730
    727 /* =Gallery listing
    728 -------------------------------------------------------------- */
    729 
     731
     732
     733/* Gallery listing
     734-------------------------------------------------------------- */
     735
     736.category-gallery {
     737    margin-bottom: 48px;
     738}
     739.category-gallery h2 {
     740    margin-top: 10px;
     741}
     742.category-gallery .entry-meta {
     743}
    730744.category-gallery .size-thumbnail img {
    731745    border: 10px solid #f1f1f1;
     
    734748.category-gallery .gallery-thumb {
    735749    float: left;
    736     margin-right: 20px;
     750    margin-right:20px;
    737751    margin-top: -4px;
    738752}
     753.home #content .category-gallery .entry-content p {
     754    display: inline;
     755}
    739756.home #content .category-gallery .entry-utility {
    740     padding-top: 4px;
    741 }
    742 
    743 
    744 /* =Attachment pages
    745 -------------------------------------------------------------- */
    746 
     757    padding-top:4px;
     758}
     759
     760
     761/* Attachment pages
     762-------------------------------------------------------------- */
     763
     764.entry-content .attachment img {
     765    margin-bottom: 0;
     766}
    747767.attachment .entry-content .entry-caption {
    748768    font-size: 140%;
     
    757777
    758778
    759 /* =Images
     779
     780/* Images
    760781-------------------------------------------------------------- */
    761782
    762783#content img {
    763784    margin: 0;
    764     height: auto;
    765785    max-width: 640px;
    766     width: auto;
    767786}
    768787#content .attachment img {
     
    790809    margin-right: auto;
    791810}
    792 #content img.alignleft,
    793 #content img.alignright,
     811#content img.alignleft, 
     812#content img.alignright, 
    794813#content img.aligncenter {
    795814    margin-bottom: 12px;
     
    798817    background: #f1f1f1;
    799818    line-height: 18px;
     819    text-align: center;
    800820    margin-bottom: 20px;
    801821    padding: 4px;
    802     text-align: center;
    803822}
    804823#content .wp-caption img {
     
    806825}
    807826#content .wp-caption p.wp-caption-text {
     827    margin: 5px;
    808828    color: #888;
    809829    font-size: 12px;
    810     margin: 5px;
    811830}
    812831#content .wp-smiley {
    813     margin: 0;
     832    margin:0;
    814833}
    815834#content .gallery {
    816     margin: 0 auto 18px;
     835    margin: auto;
    817836}
    818837#content .gallery .gallery-item {
     
    839858    display: none;
    840859}
    841 #content .attachment img { /* single attachment images should be centered */
    842     display: block;
    843     margin: 0 auto;
    844 }
     860
    845861
    846862
     
    849865
    850866.navigation {
    851     color: #888;
    852     font-size: 12px;
     867    font-size:  12px;
    853868    line-height: 18px;
    854869    overflow: hidden;
     870    color: #888;
    855871}
    856872.navigation a:link,
     
    861877.navigation a:active,
    862878.navigation a:hover {
    863     color: #ff4b33;
     879    color: #FF4B33;
    864880}
    865881.nav-previous {
     
    869885.nav-next {
    870886    float: right;
    871     text-align: right;
    872887    width: 50%;
     888    text-align:right;
    873889}
    874890#nav-above {
     
    887903
    888904
     905
    889906/* =Comments
    890907-------------------------------------------------------------- */
     
    898915h3#reply-title {
    899916    color: #000;
     917    font-weight: bold;
    900918    font-size: 20px;
    901     font-weight: bold;
    902919    margin-bottom: 0;
    903920}
     
    917934}
    918935.commentlist li:last-child {
    919     border-bottom: none;
    920     margin-bottom: 0;
     936    border-bottom:none;
     937    margin-bottom:0;
    921938}
    922939#comments .comment-body ul,
     
    959976.comment-meta a:active,
    960977.comment-meta a:hover {
    961     color: #ff4b33;
     978    color: #FF4B33;
    962979}
    963980.commentlist .even {
     
    975992.reply a:hover,
    976993a.comment-edit-link:hover {
    977     color: #ff4b33;
     994    color: #FF4B33;
    978995}
    979996.commentlist .children {
     
    9901007}
    9911008#comments .pingback {
    992     border-bottom: 1px solid #e7e7e7;
    9931009    margin-bottom: 18px;
    9941010    padding-bottom: 18px;
     1011    border-bottom: 1px solid #e7e7e7;
    9951012}
    9961013.commentlist li.comment+li.pingback {
     
    9991016#comments .pingback p {
    10001017    color: #888;
    1001     display: block;
    10021018    font-size: 12px;
    10031019    line-height: 18px;
     1020    display:block;
    10041021    margin: 0;
    10051022}
    10061023#comments .pingback .url {
     1024    font-style: italic;
    10071025    font-size: 13px;
    1008     font-style: italic;
    1009 }
     1026}
     1027
     1028
    10101029
    10111030/* Comments form */
     
    10141033}
    10151034#respond {
     1035    margin: 24px 0;
    10161036    border-top: 1px solid #e7e7e7;
    1017     margin: 24px 0;
    10181037    overflow: hidden;
    10191038    position: relative;
     
    10421061#cancel-comment-reply-link {
    10431062    font-size: 12px;
     1063    line-height: 18px;
    10441064    font-weight: normal;
    1045     line-height: 18px;
    10461065}
    10471066#respond .required {
    1048     color: #ff4b33;
    1049     font-weight: bold;
     1067    color:#FF4B33;
     1068    font-weight:bold;
    10501069}
    10511070#respond label {
     
    10541073}
    10551074#respond input {
    1056     margin: 0 0 9px;
    1057     width: 98%;
     1075    margin:0 0 9px;
     1076    width:98%;
    10581077}
    10591078#respond textarea {
    1060     width: 98%;
     1079    width:98%;
    10611080}
    10621081#respond .form-allowed-tags {
     
    10721091}
    10731092#respond .form-submit input {
     1093    width: auto;
    10741094    font-size: 14px;
    1075     width: auto;
    10761095}
    10771096
     
    10881107    margin-left: 1.3em;
    10891108}
    1090 .widget_search #s {/* This keeps the search inputs in line */
     1109.widget_search #s { /* This keeps the search inputs in line */
    10911110    width: 60%;
    10921111}
    10931112.widget_search label {
    1094     display: none;
     1113    display:none;
    10951114}
    10961115.widget-container {
     
    11161135}
    11171136#wp-calendar {
    1118     width: 100%;
     1137    width:100%;
    11191138}
    11201139#wp-calendar caption {
     1140    font-weight: bold;
    11211141    color: #222;
    1122     font-size: 14px;
    1123     font-weight: bold;
     1142    text-align: left;
     1143    font-size:14px;
    11241144    padding-bottom: 4px;
    1125     text-align: left;
    11261145}
    11271146#wp-calendar thead {
    1128     font-size: 11px;
     1147    font-size:11px;
    11291148}
    11301149#wp-calendar thead th {
     
    11341153}
    11351154#wp-calendar tbody td {
     1155    padding: 3px 0 2px;
    11361156    background: #f5f5f5;
    1137     border: 1px solid #fff;
    1138     padding: 3px 0 2px;
     1157    border:1px solid #fff;
    11391158    text-align: center;
    11401159}
     
    11491168}
    11501169.widget_rss a.rsswidget:hover {
    1151     color: #ff4b33;
     1170    color: #FF4B33;
    11521171}
    11531172.widget_rss .widget-title img {
     1173    height: 11px;
    11541174    width: 11px;
    1155     height: 11px;
    11561175}
    11571176
     
    11761195
    11771196
     1197
    11781198/* =Footer
    11791199-------------------------------------------------------------- */
     
    11851205    border-top: 4px solid #000;
    11861206    margin-top: -4px;
     1207    padding: 18px 0;
    11871208    overflow: hidden;
    1188     padding: 18px 0;
    11891209}
    11901210#site-info {
     
    11961216}
    11971217#site-generator {
     1218    position: relative;
    11981219    font-style: italic;
    1199     position: relative;
    12001220}
    12011221#site-generator a {
     1222    color: #666;
     1223    display:inline-block;
     1224    text-decoration: none;
    12021225    background: url(images/wordpress.png) center left no-repeat;
    1203     color: #666;
    1204     display: inline-block;
     1226    padding-left: 20px;
    12051227    line-height: 16px;
    1206     padding-left: 20px;
    1207     text-decoration: none;
    12081228}
    12091229#site-generator a:hover {
     
    12111231}
    12121232img#wpstats {
    1213     display: block;
     1233    display:block;
    12141234    margin: 0 auto 10px;
    12151235}
    12161236
    12171237
    1218 /* =Mobile Safari ( iPad, iPhone and iPod Touch )
     1238
     1239/* Mobile Safari ( iPad, iPhone and iPod Touch )
    12191240-------------------------------------------------------------- */
    12201241
     
    12371258
    12381259
     1260
    12391261/* =Print Style
    12401262-------------------------------------------------------------- */
     
    12421264@media print {
    12431265    body {
    1244         background: none !important;
     1266        background:none !important;
    12451267    }
    12461268    #wrapper {
     1269        float: none !important;
    12471270        clear: both !important;
    12481271        display: block !important;
    1249         float: none !important;
    12501272        position: relative !important;
    12511273    }
     
    12601282    #site-description {
    12611283        float: none;
     1284        margin: 0;
     1285        padding:0;
    12621286        line-height: 1.4em;
    1263         margin: 0;
    1264         padding: 0;
    12651287    }
    12661288    #site-title {
     
    12871309    #header,
    12881310    #footer {
     1311        width: 100%;
    12891312        margin: 0;
    1290         width: 100%;
    12911313    }
    12921314    #content,
    12931315    .one-column #content {
     1316        width: 100%;
    12941317        margin: 24pt 0 0;
    1295         width: 100%;
    12961318    }
    12971319    .wp-caption p {
     
    13071329    }
    13081330    img#wpstats {
    1309         display: none;
     1331        display:none
    13101332    }
    13111333    #site-generator a {
    1312         margin: 0;
    13131334        padding: 0;
     1335    margin: 0;
    13141336    }
    13151337    #entry-author-info {
     
    13171339    }
    13181340    #main {
    1319         display: inline;
     1341        display:inline;
    13201342    }
    13211343    .home .sticky {
Note: See TracChangeset for help on using the changeset viewer.