Changeset 17788
- Timestamp:
- 05/02/2011 09:11:32 PM (12 years ago)
- Location:
- trunk/wp-content/themes/twentyeleven
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/content-aside.php
r17787 r17788 13 13 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 14 14 <header class="entry-header"> 15 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 15 <hgroup> 16 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 17 <h2 class="entry-format">Aside</h2> 18 </hgroup> 16 19 17 20 <?php if ( 'post' == $post->post_type ) : ?> -
trunk/wp-content/themes/twentyeleven/content-gallery.php
r17787 r17788 13 13 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 14 14 <header class="entry-header"> 15 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 15 <hgroup> 16 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 17 <h2 class="entry-format">Gallery</h2> 18 </hgroup> 16 19 17 20 <div class="entry-meta"> -
trunk/wp-content/themes/twentyeleven/content-image.php
r17787 r17788 13 13 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 14 14 <header class="entry-header"> 15 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 15 <hgroup> 16 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 17 <h2 class="entry-format">Image</h2> 18 </hgroup> 16 19 17 20 <?php if ( comments_open() ) : ?> -
trunk/wp-content/themes/twentyeleven/content-link.php
r17787 r17788 13 13 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 14 14 <header class="entry-header"> 15 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 15 <hgroup> 16 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 17 <h2 class="entry-format">Link</h2> 18 </hgroup> 16 19 17 20 <?php if ( 'post' == $post->post_type ) : ?> -
trunk/wp-content/themes/twentyeleven/style.css
r17776 r17788 43 43 } 44 44 table {/* tables still need 'cellspacing="0"' in the markup */ 45 border-collapse: separate;46 border-spacing: 0;45 border-collapse: separate; 46 border-spacing: 0; 47 47 } 48 48 caption, th, td { … … 60 60 border: 0; 61 61 } 62 header, hgroup, footer, section, article, nav, aside { 62 article, aside, details, figcaption, figure, 63 footer, header, hgroup, menu, nav, section { 63 64 display: block; 64 65 } … … 220 221 border: none; 221 222 display: block; 223 height: auto; 222 224 max-width: 60%; 223 height: auto;224 225 position: static; 225 226 } … … 235 236 height: 150px; 236 237 overflow: hidden; 238 padding: 0; 237 239 text-overflow: ellipsis; 238 padding: 0;239 240 } 240 241 .one-column article.feature-image.small .entry-summary a { … … 294 295 } 295 296 .one-column .commentlist .children .avatar { 296 position: absolute;297 297 background: none; 298 298 padding: 0; 299 position: absolute; 299 300 top: 2.2em; 300 301 left: 2.2em; … … 445 446 color: #1b8be0; 446 447 text-decoration: none; 447 }448 a:visited {449 448 } 450 449 a:focus, … … 577 576 #branding #searchform { 578 577 position: absolute; 579 text-align: right;580 578 top: 4.3em; 581 579 right: 7.6%; 580 text-align: right; 582 581 } 583 582 #branding #searchform div { … … 592 591 height: 22px; 593 592 padding: 4px 10px 4px 28px; 594 width: 26%;595 593 -webkit-transition-duration: 400ms; 596 594 -webkit-transition-property: width, background; … … 599 597 -moz-transition-property: width, background; 600 598 -moz-transition-timing-function: ease; 599 width: 26%; 601 600 } 602 601 #branding #s:focus { … … 620 619 } 621 620 #branding .with-image #searchform { 621 top: auto; 622 622 bottom: -27px; 623 top: auto;624 623 } 625 624 … … 654 653 } 655 654 .blog .sticky .entry-header .entry-meta { 656 position: absolute !important;657 655 clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 658 656 clip: rect(1px, 1px, 1px, 1px); 657 position: absolute !important; 659 658 } 660 659 .entry-title, … … 669 668 line-height: 1.5em; 670 669 padding-bottom: .3em; 670 padding-top: 15px; 671 671 } 672 672 .entry-title, … … 834 834 font-size: 18px; 835 835 font-weight: 300; 836 height: 48px;837 836 line-height: 46px; 838 837 overflow: hidden; … … 843 842 right: 0; 844 843 width: 48px; 844 height: 48px; 845 845 } 846 846 .entry-header .comments-link a:hover { … … 854 854 text-transform: lowercase; 855 855 } 856 856 /* Post Formats */ 857 .entry-header .entry-format { 858 color: #666; 859 font-size: 10px; 860 font-weight: 500; 861 letter-spacing: 0.1em; 862 line-height: 2.6em; 863 position: absolute; 864 text-transform: uppercase; 865 top: -5px; 866 } 867 .entry-header hgroup .entry-title { 868 padding-top: 15px; 869 } 870 article.format-aside .entry-content, 871 article.format-link .entry-content, 872 article.format-status .entry-content { 873 padding: 20px 0 0; 874 } 875 .recent-posts .entry-header .entry-format { 876 display: none; 877 } 878 .recent-posts .entry-header hgroup .entry-title { 879 padding-top: 0; 880 } 857 881 858 882 /* Singular content styles for Posts and Pages */ … … 975 999 box-shadow: 0 1px 2px #ccc; 976 1000 float: left; 977 margin: 4px 10px 1.625em0;1001 margin: 4px 10px 2px 0; 978 1002 padding: 0; 979 1003 } … … 1008 1032 display: inline-block; 1009 1033 float: left; 1010 width: 40%;1034 width: 35%; 1011 1035 } 1012 1036 .format-image div.entry-meta + div.entry-meta { 1013 1037 float: none; 1014 width: 6 0%;1038 width: 65%; 1015 1039 } 1016 1040 .format-image .wp-caption { … … 1034 1058 /* =error404 1035 1059 ----------------------------------------------- */ 1060 1036 1061 .error404 #main #searchform { 1037 1062 background: #f9f9f9; … … 1094 1119 } 1095 1120 article.intro .edit-link a { 1096 position: absolute;1097 1121 background: #aaa; 1098 1122 -moz-border-radius: 3px; 1099 1123 border-radius: 3px; 1100 1124 color: #fff; 1125 font-size: 12px; 1101 1126 padding: 0px 8px; 1102 font-size: 12px; 1127 position: absolute; 1128 top: 30px; 1103 1129 right: 20px; 1104 1130 text-decoration: none; 1105 top: 30px;1106 1131 } 1107 1132 article.intro .edit-link a:hover { … … 1123 1148 } 1124 1149 section.featured-post .entry-meta { 1125 position: absolute !important;1126 1150 clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 1127 1151 clip: rect(1px, 1px, 1px, 1px); 1152 position: absolute !important; 1128 1153 } 1129 1154 … … 1157 1182 padding: 4px 26px 4px 85px; 1158 1183 position: relative; 1184 top: 20px; 1159 1185 text-decoration: none; 1160 top: 20px;1161 1186 width: 180px; 1162 1187 } … … 1272 1297 box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5); 1273 1298 display: block; 1299 width: 14px; 1274 1300 height: 14px; 1275 width: 14px;1276 1301 } 1277 1302 .feature-slider a.active { … … 1363 1388 .image-attachment div.attachment img { 1364 1389 display: block; 1390 height: auto; 1365 1391 margin: 0 auto 1.625em; 1392 width: 100%; 1366 1393 } 1367 1394 .image-attachment .entry-caption p { … … 1545 1572 font-weight: bold; 1546 1573 padding: 0; 1547 }1548 .widget_twentyeleven_ephemera .entry-title a {1549 }1550 .widget_twentyeleven_ephemera .entry-title a:hover {1551 1574 } 1552 1575 .widget_twentyeleven_ephemera .comments-link a { … … 2239 2262 } 2240 2263 2264 2241 2265 /* =IE7 2242 2266 ----------------------------------------------- */ … … 2257 2281 margin-right: 7.6%; 2258 2282 } 2259 #ie7 .page-template-showcase-php {2260 }
Note: See TracChangeset
for help on using the changeset viewer.