Changes from trunk/wp-content/themes/twentyten at r15262 to branches/3.0/wp-content/themes/twentyten at r15465
- Location:
- branches/3.0/wp-content/themes/twentyten
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-content/themes/twentyten/attachment.php
r15262 r15465 10 10 get_header(); ?> 11 11 12 <div id="container" >12 <div id="container" class="single-attachment"> 13 13 <div id="content" role="main"> 14 14 15 15 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> 16 16 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">←</span> %s', 'twentyten' ), get_the_title( $post->post_parent ) ); 20 ?></a></p> 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">←</span> %s', 'twentyten' ), get_the_title( $post->post_parent ) ); 21 ?></a></p> 22 <?php endif; ?> 21 23 22 24 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> -
branches/3.0/wp-content/themes/twentyten/editor-style.css
r15262 r15465 40 40 } 41 41 hr { 42 background-color: # E7E7E7;42 background-color: #e7e7e7; 43 43 border:0; 44 44 height: 1px; … … 96 96 } 97 97 ins { 98 background: # FFFFCC;98 background: #ffffcc; 99 99 border: none; 100 100 color: #333; … … 143 143 } 144 144 a:link { 145 color:#0066 CC;145 color:#0066cc; 146 146 } 147 147 a:visited { … … 150 150 a:active, 151 151 a:hover { 152 color: # FF4B33;152 color: #ff4b33; 153 153 } 154 154 p, -
branches/3.0/wp-content/themes/twentyten/functions.php
r15262 r15465 203 203 } 204 204 endif; 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 posts210 * 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 search214 * 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.0219 *220 * @param string $title Title generated by wp_title()221 * @param string $separator The separator passed to wp_title(). Twenty Ten uses a222 * vertical bar, "|", as a separator in header.php.223 * @return string The new title, ready for the <title> tag.224 */225 function 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 }262 add_filter( 'wp_title', 'twentyten_filter_wp_title', 10, 2 );263 205 264 206 /** -
branches/3.0/wp-content/themes/twentyten/header.php
r15262 r15465 16 16 /* 17 17 * Print the <title> tag based on what is being viewed. 18 * We filter the output of wp_title() a bit -- see19 * twentyten_filter_wp_title() in functions.php.20 18 */ 19 global $page, $paged; 20 21 21 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 ) ); 22 34 23 35 ?></title> -
branches/3.0/wp-content/themes/twentyten/languages/twentyten.pot
r15262 r15465 1 # Translation of the WordPress theme Twenty Ten 1. 0by the WordPress team.1 # Translation of the WordPress theme Twenty Ten 1.1 by the WordPress team. 2 2 # Copyright (C) 2010 the WordPress team 3 3 # This file is distributed under the same license as the Twenty Ten package. … … 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: Twenty Ten 1. 0\n"9 "Project-Id-Version: Twenty Ten 1.1\n" 10 10 "Report-Msgid-Bugs-To: http://wordpress.org/tag/twentyten\n" 11 "POT-Creation-Date: 2010-0 6-1516:21+0000\n"11 "POT-Creation-Date: 2010-07-14 16:21+0000\n" 12 12 "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 47 47 msgstr "" 48 48 49 #: attachment.php:1 749 #: attachment.php:18 50 50 #, php-format 51 51 msgid "Return to %s" … … 53 53 54 54 #. translators: %s - title of parent post 55 #: attachment.php: 1955 #: attachment.php:20 56 56 #, php-format 57 57 msgid "<span class=\"meta-nav\">←</span> %s" 58 58 msgstr "" 59 59 60 #: attachment.php:2 760 #: attachment.php:29 61 61 #, php-format 62 62 msgid "<span class=\"%1$s\">By</span> %2$s" 63 63 msgstr "" 64 64 65 #: attachment.php:3 1 functions.php:50965 #: attachment.php:33 functions.php:451 66 66 #, php-format 67 67 msgid "View all posts by %s" 68 68 msgstr "" 69 69 70 #: attachment.php: 3870 #: attachment.php:40 71 71 #, php-format 72 72 msgid "<span class=\"%1$s\">Published</span> %2$s" 73 73 msgstr "" 74 74 75 #: attachment.php: 4875 #: attachment.php:50 76 76 #, php-format 77 77 msgid "Full size is %s pixels" 78 78 msgstr "" 79 79 80 #: attachment.php:5 180 #: attachment.php:53 81 81 msgid "Link to full-size image" 82 82 msgstr "" 83 83 84 #: attachment.php: 58 attachment.php:105 loop.php:94 loop.php:117 loop.php:15984 #: attachment.php:60 attachment.php:107 loop.php:95 loop.php:118 loop.php:160 85 85 #: onecolumn-page.php:27 page.php:32 single.php:53 86 86 msgid "Edit" 87 87 msgstr "" 88 88 89 #: attachment.php: 98 functions.php:299 loop.php:109 loop.php:13789 #: attachment.php:100 functions.php:241 loop.php:110 loop.php:138 90 90 msgid "Continue reading <span class=\"meta-nav\">→</span>" 91 91 msgstr "" 92 92 93 #: attachment.php: 99 loop.php:138onecolumn-page.php:26 page.php:3193 #: attachment.php:101 loop.php:139 onecolumn-page.php:26 page.php:31 94 94 #: single.php:31 95 95 msgid "Pages:" … … 135 135 msgstr "" 136 136 137 #. #-#-#-#-# twentyten.pot (Twenty Ten 1. 0) #-#-#-#-#137 #. #-#-#-#-# twentyten.pot (Twenty Ten 1.1) #-#-#-#-# 138 138 #. Theme URI of the plugin/theme 139 139 #: footer.php:33 … … 194 194 msgstr "" 195 195 196 #: functions.php:237 197 #, php-format 198 msgid "Search results for %s" 199 msgstr "" 200 201 #: functions.php:240 functions.php:257 202 #, php-format 203 msgid "Page %s" 204 msgstr "" 205 206 #: functions.php:366 196 #: functions.php:308 207 197 #, php-format 208 198 msgid "%s <span class=\"says\">says:</span>" 209 199 msgstr "" 210 200 211 #: functions.php:3 69201 #: functions.php:311 212 202 msgid "Your comment is awaiting moderation." 213 203 msgstr "" 214 204 215 205 #. translators: 1: date, 2: time 206 #: functions.php:318 207 #, php-format 208 msgid "%1$s at %2$s" 209 msgstr "" 210 211 #: functions.php:318 functions.php:335 212 msgid "(Edit)" 213 msgstr "" 214 215 #: functions.php:335 216 msgid "Pingback:" 217 msgstr "" 218 219 #: functions.php:354 220 msgid "Primary Widget Area" 221 msgstr "" 222 223 #: functions.php:356 224 msgid "The primary widget area" 225 msgstr "" 226 227 #: functions.php:365 228 msgid "Secondary Widget Area" 229 msgstr "" 230 231 #: functions.php:367 232 msgid "The secondary widget area" 233 msgstr "" 234 216 235 #: functions.php:376 217 #, php-format218 msgid "%1$s at %2$s"219 msgstr ""220 221 #: functions.php:376 functions.php:393222 msgid "(Edit)"223 msgstr ""224 225 #: functions.php:393226 msgid "Pingback:"227 msgstr ""228 229 #: functions.php:412230 msgid "Primary Widget Area"231 msgstr ""232 233 #: functions.php:414234 msgid "The primary widget area"235 msgstr ""236 237 #: functions.php:423238 msgid "Secondary Widget Area"239 msgstr ""240 241 #: functions.php:425242 msgid "The secondary widget area"243 msgstr ""244 245 #: functions.php:434246 236 msgid "First Footer Widget Area" 247 237 msgstr "" 248 238 249 #: functions.php: 436239 #: functions.php:378 250 240 msgid "The first footer widget area" 251 241 msgstr "" 252 242 253 #: functions.php: 445243 #: functions.php:387 254 244 msgid "Second Footer Widget Area" 255 245 msgstr "" 256 246 257 #: functions.php: 447247 #: functions.php:389 258 248 msgid "The second footer widget area" 259 249 msgstr "" 260 250 261 #: functions.php: 456251 #: functions.php:398 262 252 msgid "Third Footer Widget Area" 263 253 msgstr "" 264 254 265 #: functions.php:4 58255 #: functions.php:400 266 256 msgid "The third footer widget area" 267 257 msgstr "" 268 258 269 #: functions.php:4 67259 #: functions.php:409 270 260 msgid "Fourth Footer Widget Area" 271 261 msgstr "" 272 262 273 #: functions.php:4 69263 #: functions.php:411 274 264 msgid "The fourth footer widget area" 275 265 msgstr "" 276 266 277 #: functions.php: 500267 #: functions.php:442 278 268 #, php-format 279 269 msgid "" … … 282 272 msgstr "" 283 273 284 #: functions.php: 526274 #: functions.php:468 285 275 #, php-format 286 276 msgid "" … … 289 279 msgstr "" 290 280 291 #: functions.php: 528281 #: functions.php:470 292 282 #, php-format 293 283 msgid "" … … 296 286 msgstr "" 297 287 298 #: functions.php: 530288 #: functions.php:472 299 289 #, php-format 300 290 msgid "" … … 303 293 msgstr "" 304 294 305 #: header.php:71 295 #: header.php:33 296 #, php-format 297 msgid "Page %s" 298 msgstr "" 299 300 #: header.php:83 306 301 msgid "Skip to content" 307 302 msgstr "" 308 303 309 #: loop.php:25 loop.php:17 2304 #: loop.php:25 loop.php:173 310 305 msgid "<span class=\"meta-nav\">←</span> Older posts" 311 306 msgstr "" 312 307 313 #: loop.php:26 loop.php:17 3308 #: loop.php:26 loop.php:174 314 309 msgid "Newer posts <span class=\"meta-nav\">→</span>" 315 310 msgstr "" … … 321 316 msgstr "" 322 317 323 #: loop.php:60 loop.php:9 1318 #: loop.php:60 loop.php:92 324 319 msgctxt "gallery category slug" 325 320 msgid "gallery" 326 321 msgstr "" 327 322 328 #: loop.php:62 loop.php:8 2 loop.php:125323 #: loop.php:62 loop.php:83 loop.php:126 329 324 #, php-format 330 325 msgid "Permalink to %s" 331 326 msgstr "" 332 327 333 #: loop.php:8 1328 #: loop.php:82 334 329 #, php-format 335 330 msgid "This gallery contains <a %1$s>%2$s photos</a>." 336 331 msgstr "" 337 332 338 #: loop.php:9 1333 #: loop.php:92 339 334 msgid "View posts in the Gallery category" 340 335 msgstr "" 341 336 342 #: loop.php:9 1337 #: loop.php:92 343 338 msgid "More Galleries" 344 339 msgstr "" 345 340 346 #: loop.php:9 3 loop.php:116 loop.php:158341 #: loop.php:94 loop.php:117 loop.php:159 347 342 msgid "Leave a comment" 348 343 msgstr "" 349 344 350 #: loop.php:9 3 loop.php:116 loop.php:158345 #: loop.php:94 loop.php:117 loop.php:159 351 346 msgid "1 Comment" 352 347 msgstr "" 353 348 354 #: loop.php:9 3 loop.php:116 loop.php:158349 #: loop.php:94 loop.php:117 loop.php:159 355 350 msgid "% Comments" 356 351 msgstr "" 357 352 358 #: loop.php:10 0353 #: loop.php:101 359 354 msgctxt "asides category slug" 360 355 msgid "asides" 361 356 msgstr "" 362 357 363 #: loop.php:14 5358 #: loop.php:146 364 359 #, php-format 365 360 msgid "<span class=\"%1$s\">Posted in</span> %2$s" 366 361 msgstr "" 367 362 368 #: loop.php:15 4363 #: loop.php:155 369 364 #, php-format 370 365 msgid "<span class=\"%1$s\">Tagged</span> %2$s" … … 419 414 420 415 #. Description of the plugin/theme 421 msgid "The 2010 default theme for WordPress." 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." 422 425 msgstr "" 423 426 -
branches/3.0/wp-content/themes/twentyten/loop.php
r15262 r15465 69 69 <?php if ( post_password_required() ) : ?> 70 70 <?php the_content(); ?> 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(); ?> 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(); ?> 87 88 <?php endif; ?> 88 89 </div><!-- .entry-content --> -
branches/3.0/wp-content/themes/twentyten/page.php
r15262 r15465 4 4 * 5 5 * This is the template that displays all pages by default. 6 * Please note that this is the wordpress construct of pages7 * and that other 'pages' on your wordpress site will use a6 * Please note that this is the WordPress construct of pages 7 * and that other 'pages' on your WordPress site will use a 8 8 * different template. 9 9 * … … 23 23 <?php if ( is_front_page() ) { ?> 24 24 <h2 class="entry-title"><?php the_title(); ?></h2> 25 <?php } else { ?> 25 <?php } else { ?> 26 26 <h1 class="entry-title"><?php the_title(); ?></h1> 27 <?php } ?> 27 <?php } ?> 28 28 29 29 <div class="entry-content"> -
branches/3.0/wp-content/themes/twentyten/style.css
r15262 r15465 2 2 Theme Name: Twenty Ten 3 3 Theme URI: http://wordpress.org/ 4 Description: The 2010 default theme for WordPress.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. 5 5 Author: the WordPress team 6 Version: 1. 06 Version: 1.1 7 7 Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style 8 8 */ 9 9 10 10 11 /* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html11 /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html 12 12 -------------------------------------------------------------- */ 13 13 … … 21 21 fieldset, form, label, legend, 22 22 table, caption, tbody, tfoot, thead, tr, th, td { 23 background: transparent; 24 border: 0; 23 25 margin: 0; 24 26 padding: 0; 25 border: 0;26 27 vertical-align: baseline; 27 background: transparent;28 28 } 29 29 body { … … 31 31 } 32 32 h1, h2, h3, h4, h5, h6 { 33 clear: both; 33 34 font-weight: normal; 34 clear: both;35 35 } 36 36 ol, ul { … … 52 52 border-spacing: 0; 53 53 } 54 a img { border: none; } 55 56 54 a img { 55 border: none; 56 } 57 58 /* =Layout 59 -------------------------------------------------------------- */ 57 60 58 61 /* … … 113 116 font-family: Georgia, "Bitstream Charter", serif; 114 117 } 115 116 118 h3#comments-title, 117 119 h3#reply-title, … … 139 141 .widget-title, 140 142 .wp-caption-text, 141 input[type=submit] 142 { 143 input[type=submit] { 143 144 font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; 144 145 } … … 149 150 font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 150 151 } 151 152 152 153 153 … … 166 166 } 167 167 #wrapper { 168 background: #fff; 168 169 margin-top: 20px; 169 background: #fff;170 170 padding: 0 20px; 171 171 } … … 185 185 #site-info { 186 186 float: left; 187 font-size: 14px; 188 font-weight: bold; 187 189 width: 700px; 188 font-weight: bold;189 font-size: 14px;190 190 } 191 191 #site-generator { … … 195 195 196 196 197 198 197 /* =Global Elements 199 198 -------------------------------------------------------------- */ 200 199 201 /* Main global 'theme' and typographic styles 200 /* Main global 'theme' and typographic styles */ 202 201 body { 203 202 background: #f1f1f1; 204 203 } 205 206 204 body, 207 205 input, … … 212 210 } 213 211 hr { 214 background-color: #E7E7E7; 215 border:0; 212 background-color: #e7e7e7; 213 border: 0; 214 clear: both; 216 215 height: 1px; 217 216 margin-bottom: 18px; 218 clear:both;219 217 } 220 218 … … 232 230 } 233 231 ol ol { 234 list-style: upper-alpha;232 list-style: upper-alpha; 235 233 } 236 234 ol ol ol { 237 list-style: lower-roman;235 list-style: lower-roman; 238 236 } 239 237 ol ol ol ol { 240 list-style: lower-alpha;238 list-style: lower-alpha; 241 239 } 242 240 ul ul, … … 244 242 ul ol, 245 243 ol ul { 246 margin-bottom: 0;244 margin-bottom: 0; 247 245 } 248 246 dl { 249 margin: 0 0 24px 0;247 margin: 0 0 24px 0; 250 248 } 251 249 dt { … … 291 289 cursor: help; 292 290 } 293 294 291 sup, 295 292 sub { 296 293 height: 0; 297 294 line-height: 1; 295 position: relative; 298 296 vertical-align: baseline; 299 position: relative;300 297 } 301 298 sup { … … 307 304 input[type="text"], 308 305 textarea { 309 padding: 2px;310 306 background: #f9f9f9; 311 307 border: 1px solid #ccc; … … 313 309 -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); 314 310 -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); 311 padding: 2px; 315 312 } 316 313 a:link { 317 color: #0066CC;314 color: #0066cc; 318 315 } 319 316 a:visited { 320 color: #743399;317 color: #743399; 321 318 } 322 319 a:active, 323 320 a:hover { 324 color: # FF4B33;321 color: #ff4b33; 325 322 } 326 323 … … 332 329 333 330 334 335 331 /* =Header 336 332 -------------------------------------------------------------- */ … … 341 337 #site-title { 342 338 float: left; 339 font-size: 30px; 340 line-height: 36px; 343 341 margin: 0 0 18px 0; 344 342 width: 700px; 345 font-size: 30px;346 line-height: 36px;347 343 } 348 344 #site-title a { … … 361 357 /* This is the custom header image */ 362 358 #branding img { 359 border-top: 4px solid #000; 360 border-bottom: 1px solid #000; 363 361 clear: both; 364 border-top: 4px solid #000;365 362 display: block; 366 border-bottom: 1px solid #000; 367 } 368 363 } 369 364 370 365 … … 374 369 #access { 375 370 background: #000; 371 display: block; 372 float: left; 376 373 margin: 0 auto; 377 374 width: 940px; 378 display:block;379 float:left;380 375 } 381 376 #access .menu-header, … … 383 378 font-size: 13px; 384 379 margin-left: 12px; 380 width: 928px; 385 381 } 386 382 #access .menu-header ul, … … 391 387 #access .menu-header li, 392 388 div.menu li { 393 float: left;389 float: left; 394 390 position: relative; 395 391 } 396 392 #access a { 397 display:block;398 text-decoration:none;399 color:#aaa;400 padding: 0 10px;401 line-height:38px;393 color: #aaa; 394 display: block; 395 line-height: 38px; 396 padding: 0 10px; 397 text-decoration: none; 402 398 } 403 399 #access ul ul { 404 display:none;405 position:absolute;406 top:38px;407 left:0;408 float:left;409 400 box-shadow: 0px 3px 3px rgba(0,0,0,0.2); 410 401 -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); 411 402 -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; 412 408 width: 180px; 413 409 z-index: 99999; 414 410 } 415 411 #access ul ul li { 416 min-width: 180px; 412 min-width: 180px; 417 413 } 418 414 #access ul ul ul { 419 left: 100%;420 top: 0;415 left: 100%; 416 top: 0; 421 417 } 422 418 #access ul ul a { 423 background:#333; 424 height:auto; 425 line-height:1em; 426 padding:10px; 419 background: #333; 420 line-height: 1em; 421 padding: 10px; 427 422 width: 160px; 423 height: auto; 428 424 } 429 425 #access li:hover > a, 430 426 #access ul ul :hover > a { 431 color:#fff;432 background:#333;427 background: #333; 428 color: #fff; 433 429 } 434 430 #access ul li:hover > ul { 435 display: block;431 display: block; 436 432 } 437 433 #access ul li.current_page_item > a, … … 441 437 color: #fff; 442 438 } 443 444 439 * html #access ul li.current_page_item a, 445 440 * html #access ul li.current-menu-ancestor a, … … 447 442 * html #access ul li.current-menu-parent a, 448 443 * html #access ul li a:hover { 449 color:#fff; 450 } 444 color: #fff; 445 } 446 451 447 452 448 /* =Content … … 454 450 455 451 #main { 452 clear: both; 456 453 overflow: hidden; 457 454 padding: 40px 0 0 0; … … 473 470 #content pre, 474 471 #content hr { 475 margin-bottom: 24px;472 margin-bottom: 24px; 476 473 } 477 474 #content ul ul, … … 479 476 #content ul ol, 480 477 #content ol ul { 481 margin-bottom: 0;478 margin-bottom: 0; 482 479 } 483 480 #content pre, … … 502 499 #content h6 { 503 500 color: #000; 501 line-height: 1.5em; 504 502 margin: 0 0 20px 0; 505 line-height: 1.5em;506 503 } 507 504 #content table { 508 505 border: 1px solid #e7e7e7; 506 margin: 0 -1px 24px 0; 509 507 text-align: left; 510 margin: 0 -1px 24px 0;511 508 width: 100%; 512 509 } … … 524 521 } 525 522 #content tr.odd td { 526 background: # F2F7FC;523 background: #f2f7fc; 527 524 } 528 525 .hentry { … … 530 527 } 531 528 .home .sticky { 532 background: # F2F7FC;529 background: #f2f7fc; 533 530 border-top: 4px solid #000; 534 padding: 18px 20px;535 531 margin-left: -20px; 536 532 margin-right: -20px; 533 padding: 18px 20px; 537 534 } 538 535 .single .hentry { … … 553 550 .page-title a:link, 554 551 .page-title a:visited { 555 color: #888;552 color: #888; 556 553 text-decoration: none; 557 554 } 558 555 .page-title a:active, 559 556 .page-title a:hover { 560 color: # FF4B33;557 color: #ff4b33; 561 558 } 562 559 #content .entry-title { 563 560 color: #000; 564 561 font-size: 21px; 562 font-weight: bold; 565 563 line-height: 1.3em; 566 font-weight: bold;567 564 margin-bottom: 0; 568 565 } 569 566 .entry-title a:link, 570 567 .entry-title a:visited { 571 color: #000;568 color: #000; 572 569 text-decoration: none; 573 570 } 574 571 .entry-title a:active, 575 572 .entry-title a:hover { 576 color: # FF4B33;573 color: #ff4b33; 577 574 } 578 575 .entry-meta { … … 597 594 } 598 595 .entry-content fieldset { 599 border: 1px solid # E7E7E7;596 border: 1px solid #e7e7e7; 600 597 margin: 0 0 24px 0; 601 598 padding: 24px; … … 641 638 .page-link { 642 639 color: #000; 643 font-weight: bold;644 margin: 0 0 22px 0;645 word-spacing: 0.5em;640 font-weight: bold; 641 margin: 0 0 22px 0; 642 word-spacing: 0.5em; 646 643 } 647 644 .page-link a:link, 648 645 .page-link a:visited { 649 646 background: #f1f1f1; 650 color: #333;651 font-weight: normal;652 padding: 0.5em 0.75em;653 text-decoration: none;647 color: #333; 648 font-weight: normal; 649 padding: 0.5em 0.75em; 650 text-decoration: none; 654 651 } 655 652 .home .sticky .page-link a { 656 background: # D9E8F7;653 background: #d9e8f7; 657 654 } 658 655 .page-link a:active, 659 656 .page-link a:hover { 660 color: # FF4B33;661 } 662 .page .edit-link {657 color: #ff4b33; 658 } 659 body.page .edit-link { 663 660 clear: both; 664 661 display: block; 665 662 } 666 663 #entry-author-info { 667 background: # F2F7FC;664 background: #f2f7fc; 668 665 border-top: 4px solid #000; 669 padding: 18px 20px;670 margin: 24px 0;671 overflow: hidden;672 666 clear: both; 673 667 font-size: 14px; 674 668 line-height: 20px; 669 margin: 24px 0; 670 overflow: hidden; 671 padding: 18px 20px; 675 672 } 676 673 #entry-author-info #author-avatar { … … 678 675 border: 1px solid #e7e7e7; 679 676 float: left; 677 height: 60px; 680 678 margin: 0 -104px 0 0; 681 679 padding: 11px; 682 height: 60px;683 680 } 684 681 #entry-author-info #author-description { … … 688 685 #entry-author-info h2 { 689 686 color: #000; 690 font-weight: bold;691 687 font-size: 100%; 688 font-weight: bold; 692 689 margin-bottom: 0; 693 690 } 694 691 .entry-utility { 692 clear: both; 695 693 color: #888; 696 694 font-size: 12px; 697 695 line-height: 18px; 698 clear: both;699 696 } 700 697 .entry-meta a, … … 704 701 .entry-meta a:hover, 705 702 .entry-utility a:hover { 706 color: # FF4B33;703 color: #ff4b33; 707 704 } 708 705 #content .video-player { … … 711 708 712 709 713 714 /* Asides 710 /* =Asides 715 711 -------------------------------------------------------------- */ 716 712 … … 719 715 line-height: 20px; 720 716 margin-bottom: 10px; 721 margin-top: 0;717 margin-top: 0; 722 718 } 723 719 .home .hentry.category-asides { … … 729 725 730 726 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 } 727 /* =Gallery listing 728 -------------------------------------------------------------- */ 729 744 730 .category-gallery .size-thumbnail img { 745 731 border: 10px solid #f1f1f1; … … 748 734 .category-gallery .gallery-thumb { 749 735 float: left; 750 margin-right: 20px;736 margin-right: 20px; 751 737 margin-top: -4px; 752 738 } 753 .home #content .category-gallery .entry-content p {754 display: inline;755 }756 739 .home #content .category-gallery .entry-utility { 757 padding-top:4px; 758 } 759 760 761 /* Attachment pages 762 -------------------------------------------------------------- */ 763 764 .entry-content .attachment img { 765 margin-bottom: 0; 766 } 740 padding-top: 4px; 741 } 742 743 744 /* =Attachment pages 745 -------------------------------------------------------------- */ 746 767 747 .attachment .entry-content .entry-caption { 768 748 font-size: 140%; … … 777 757 778 758 779 780 /* Images 759 /* =Images 781 760 -------------------------------------------------------------- */ 782 761 783 762 #content img { 784 763 margin: 0; 764 height: auto; 785 765 max-width: 640px; 766 width: auto; 786 767 } 787 768 #content .attachment img { … … 809 790 margin-right: auto; 810 791 } 811 #content img.alignleft, 812 #content img.alignright, 792 #content img.alignleft, 793 #content img.alignright, 813 794 #content img.aligncenter { 814 795 margin-bottom: 12px; … … 817 798 background: #f1f1f1; 818 799 line-height: 18px; 819 text-align: center;820 800 margin-bottom: 20px; 821 801 padding: 4px; 802 text-align: center; 822 803 } 823 804 #content .wp-caption img { … … 825 806 } 826 807 #content .wp-caption p.wp-caption-text { 808 color: #888; 809 font-size: 12px; 827 810 margin: 5px; 828 color: #888;829 font-size: 12px;830 811 } 831 812 #content .wp-smiley { 832 margin: 0;813 margin: 0; 833 814 } 834 815 #content .gallery { 835 margin: auto;816 margin: 0 auto 18px; 836 817 } 837 818 #content .gallery .gallery-item { … … 858 839 display: none; 859 840 } 860 841 #content .attachment img { /* single attachment images should be centered */ 842 display: block; 843 margin: 0 auto; 844 } 861 845 862 846 … … 865 849 866 850 .navigation { 867 font-size: 12px; 851 color: #888; 852 font-size: 12px; 868 853 line-height: 18px; 869 854 overflow: hidden; 870 color: #888;871 855 } 872 856 .navigation a:link, … … 877 861 .navigation a:active, 878 862 .navigation a:hover { 879 color: # FF4B33;863 color: #ff4b33; 880 864 } 881 865 .nav-previous { … … 885 869 .nav-next { 886 870 float: right; 871 text-align: right; 887 872 width: 50%; 888 text-align:right;889 873 } 890 874 #nav-above { … … 903 887 904 888 905 906 889 /* =Comments 907 890 -------------------------------------------------------------- */ … … 915 898 h3#reply-title { 916 899 color: #000; 917 font-weight: bold;918 900 font-size: 20px; 901 font-weight: bold; 919 902 margin-bottom: 0; 920 903 } … … 934 917 } 935 918 .commentlist li:last-child { 936 border-bottom: none;937 margin-bottom: 0;919 border-bottom: none; 920 margin-bottom: 0; 938 921 } 939 922 #comments .comment-body ul, … … 976 959 .comment-meta a:active, 977 960 .comment-meta a:hover { 978 color: # FF4B33;961 color: #ff4b33; 979 962 } 980 963 .commentlist .even { … … 992 975 .reply a:hover, 993 976 a.comment-edit-link:hover { 994 color: # FF4B33;977 color: #ff4b33; 995 978 } 996 979 .commentlist .children { … … 1007 990 } 1008 991 #comments .pingback { 992 border-bottom: 1px solid #e7e7e7; 1009 993 margin-bottom: 18px; 1010 994 padding-bottom: 18px; 1011 border-bottom: 1px solid #e7e7e7;1012 995 } 1013 996 .commentlist li.comment+li.pingback { … … 1016 999 #comments .pingback p { 1017 1000 color: #888; 1001 display: block; 1018 1002 font-size: 12px; 1019 1003 line-height: 18px; 1020 display:block;1021 1004 margin: 0; 1022 1005 } 1023 1006 #comments .pingback .url { 1007 font-size: 13px; 1024 1008 font-style: italic; 1025 font-size: 13px; 1026 } 1027 1028 1009 } 1029 1010 1030 1011 /* Comments form */ … … 1033 1014 } 1034 1015 #respond { 1016 border-top: 1px solid #e7e7e7; 1035 1017 margin: 24px 0; 1036 border-top: 1px solid #e7e7e7;1037 1018 overflow: hidden; 1038 1019 position: relative; … … 1061 1042 #cancel-comment-reply-link { 1062 1043 font-size: 12px; 1044 font-weight: normal; 1063 1045 line-height: 18px; 1064 font-weight: normal;1065 1046 } 1066 1047 #respond .required { 1067 color: #FF4B33;1068 font-weight: bold;1048 color: #ff4b33; 1049 font-weight: bold; 1069 1050 } 1070 1051 #respond label { … … 1073 1054 } 1074 1055 #respond input { 1075 margin: 0 0 9px;1076 width: 98%;1056 margin: 0 0 9px; 1057 width: 98%; 1077 1058 } 1078 1059 #respond textarea { 1079 width: 98%;1060 width: 98%; 1080 1061 } 1081 1062 #respond .form-allowed-tags { … … 1091 1072 } 1092 1073 #respond .form-submit input { 1074 font-size: 14px; 1093 1075 width: auto; 1094 font-size: 14px;1095 1076 } 1096 1077 … … 1107 1088 margin-left: 1.3em; 1108 1089 } 1109 .widget_search #s { 1090 .widget_search #s {/* This keeps the search inputs in line */ 1110 1091 width: 60%; 1111 1092 } 1112 1093 .widget_search label { 1113 display: none;1094 display: none; 1114 1095 } 1115 1096 .widget-container { … … 1135 1116 } 1136 1117 #wp-calendar { 1137 width: 100%;1118 width: 100%; 1138 1119 } 1139 1120 #wp-calendar caption { 1140 font-weight: bold;1141 1121 color: #222; 1122 font-size: 14px; 1123 font-weight: bold; 1124 padding-bottom: 4px; 1142 1125 text-align: left; 1143 font-size:14px;1144 padding-bottom: 4px;1145 1126 } 1146 1127 #wp-calendar thead { 1147 font-size: 11px;1128 font-size: 11px; 1148 1129 } 1149 1130 #wp-calendar thead th { … … 1153 1134 } 1154 1135 #wp-calendar tbody td { 1136 background: #f5f5f5; 1137 border: 1px solid #fff; 1155 1138 padding: 3px 0 2px; 1156 background: #f5f5f5;1157 border:1px solid #fff;1158 1139 text-align: center; 1159 1140 } … … 1168 1149 } 1169 1150 .widget_rss a.rsswidget:hover { 1170 color: # FF4B33;1151 color: #ff4b33; 1171 1152 } 1172 1153 .widget_rss .widget-title img { 1154 width: 11px; 1173 1155 height: 11px; 1174 width: 11px;1175 1156 } 1176 1157 … … 1195 1176 1196 1177 1197 1198 1178 /* =Footer 1199 1179 -------------------------------------------------------------- */ … … 1205 1185 border-top: 4px solid #000; 1206 1186 margin-top: -4px; 1187 overflow: hidden; 1207 1188 padding: 18px 0; 1208 overflow: hidden;1209 1189 } 1210 1190 #site-info { … … 1216 1196 } 1217 1197 #site-generator { 1198 font-style: italic; 1218 1199 position: relative; 1219 font-style: italic;1220 1200 } 1221 1201 #site-generator a { 1202 background: url(images/wordpress.png) center left no-repeat; 1222 1203 color: #666; 1223 display:inline-block; 1204 display: inline-block; 1205 line-height: 16px; 1206 padding-left: 20px; 1224 1207 text-decoration: none; 1225 background: url(images/wordpress.png) center left no-repeat;1226 padding-left: 20px;1227 line-height: 16px;1228 1208 } 1229 1209 #site-generator a:hover { … … 1231 1211 } 1232 1212 img#wpstats { 1233 display: block;1213 display: block; 1234 1214 margin: 0 auto 10px; 1235 1215 } 1236 1216 1237 1217 1238 1239 /* Mobile Safari ( iPad, iPhone and iPod Touch ) 1218 /* =Mobile Safari ( iPad, iPhone and iPod Touch ) 1240 1219 -------------------------------------------------------------- */ 1241 1220 … … 1258 1237 1259 1238 1260 1261 1239 /* =Print Style 1262 1240 -------------------------------------------------------------- */ … … 1264 1242 @media print { 1265 1243 body { 1266 background: none !important;1244 background: none !important; 1267 1245 } 1268 1246 #wrapper { 1269 float: none !important;1270 1247 clear: both !important; 1271 1248 display: block !important; 1249 float: none !important; 1272 1250 position: relative !important; 1273 1251 } … … 1282 1260 #site-description { 1283 1261 float: none; 1262 line-height: 1.4em; 1284 1263 margin: 0; 1285 padding:0; 1286 line-height: 1.4em; 1264 padding: 0; 1287 1265 } 1288 1266 #site-title { … … 1309 1287 #header, 1310 1288 #footer { 1289 margin: 0; 1311 1290 width: 100%; 1312 margin: 0;1313 1291 } 1314 1292 #content, 1315 1293 .one-column #content { 1294 margin: 24pt 0 0; 1316 1295 width: 100%; 1317 margin: 24pt 0 0;1318 1296 } 1319 1297 .wp-caption p { … … 1329 1307 } 1330 1308 img#wpstats { 1331 display: none1309 display: none; 1332 1310 } 1333 1311 #site-generator a { 1312 margin: 0; 1334 1313 padding: 0; 1335 margin: 0;1336 1314 } 1337 1315 #entry-author-info { … … 1339 1317 } 1340 1318 #main { 1341 display: inline;1319 display: inline; 1342 1320 } 1343 1321 .home .sticky {
Note: See TracChangeset
for help on using the changeset viewer.