Changeset 17776
- Timestamp:
- 04/29/2011 10:33:04 PM (13 years ago)
- Location:
- trunk/wp-content/themes/twentyeleven
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/functions.php
r17775 r17776 100 100 * Add support for an Aside Post Format 101 101 */ 102 add_theme_support( 'post-formats', array( 'aside', 'link', 'gallery', 'status', 'quote' ) );102 add_theme_support( 'post-formats', array( 'aside', 'link', 'gallery', 'status', 'quote', 'image' ) ); 103 103 104 104 /** -
trunk/wp-content/themes/twentyeleven/style.css
r17772 r17776 220 220 border: none; 221 221 display: block; 222 float: none; 223 margin: 0.625em auto 1.025em; 224 max-width: 100%; 222 max-width: 60%; 225 223 height: auto; 226 224 position: static; 227 225 } 228 226 .one-column article.feature-image.small { 229 float: none;230 227 margin: 0 0 1.625em; 231 width: auto; 228 padding: 0; 229 } 230 .one-column article.feature-image.small .entry-title { 231 font-size: 20px; 232 line-height: 1.3em; 233 } 234 .one-column article.feature-image.small .entry-summary { 235 height: 150px; 236 overflow: hidden; 237 text-overflow: ellipsis; 238 padding: 0; 232 239 } 233 240 .one-column article.feature-image.small .entry-summary a { … … 268 275 .one-column #branding #searchform { 269 276 right: 40px; 270 top: 1.625em;277 top: 4em; 271 278 } 272 279 /* Talking avatars take up too much room at this size */ … … 626 633 } 627 634 .page-title { 628 color: # 333;635 color: #666; 629 636 font-size: 10px; 630 637 font-weight: 500; … … 983 990 984 991 992 /* =Image 993 ----------------------------------------------- */ 994 995 .format-image .entry-content { 996 padding-top: 0.5em; 997 } 998 .format-image p { 999 margin: 0; 1000 } 1001 .format-image footer.entry-meta { 1002 background: #e0e6e8; 1003 margin-right: 2px; 1004 margin-top: -6px; 1005 padding: 20px 30px; 1006 } 1007 .format-image div.entry-meta { 1008 display: inline-block; 1009 float: left; 1010 width: 40%; 1011 } 1012 .format-image div.entry-meta + div.entry-meta { 1013 float: none; 1014 width: 60%; 1015 } 1016 .format-image .wp-caption { 1017 background: #111; 1018 margin-bottom: 0; 1019 max-width: 96%; 1020 padding: 11px; 1021 } 1022 .format-image .wp-caption .wp-caption-text { 1023 color: #ddd; 1024 } 1025 .format-image .wp-caption .wp-caption-text:before { 1026 color: #444; 1027 } 1028 .single .format-image footer.entry-meta { 1029 background: transparent; 1030 padding: 30px 0; 1031 } 1032 1033 985 1034 /* =error404 986 1035 ----------------------------------------------- */ … … 1021 1070 1022 1071 h1.showcase-heading { 1023 color: # 333;1072 color: #666; 1024 1073 font-size: 10px; 1025 1074 font-weight: 500; … … 1154 1203 } 1155 1204 section.feature-image.large img { 1156 border-bottom: 1px solid #ddd;1157 1205 display: block; 1158 1206 height: auto; … … 1176 1224 .featured-posts section.featured-post { 1177 1225 background: #fff; 1178 height: 300px;1179 1226 left: 0; 1180 1227 margin: 0; … … 1434 1481 } 1435 1482 .widget-title { 1436 color: # 333;1483 color: #666; 1437 1484 font-size: 10px; 1438 1485 font-weight: 500; … … 1571 1618 1572 1619 #comments-title { 1573 color: # 444;1620 color: #666; 1574 1621 font-size: 10px; 1575 1622 font-weight: 500; … … 1909 1956 } 1910 1957 /* Simplify the showcase template */ 1958 .page-template-showcase-php .featured-posts { 1959 height: 280px; 1960 } 1911 1961 .page-template-showcase-php section.recent-posts { 1912 1962 float: none; … … 1923 1973 } 1924 1974 /* Simplify the showcase template when small feature */ 1925 section.featured-post .attachment-small-feature { 1975 section.featured-post .attachment-small-feature, 1976 .one-column section.featured-post .attachment-small-feature { 1926 1977 border: none; 1927 1978 display: block; 1928 float: none;1979 float: left; 1929 1980 height: auto; 1930 1981 margin: 0.625em auto 1.025em; 1931 max-width: 100%;1982 max-width: 30%; 1932 1983 position: static; 1933 1984 } 1934 1985 article.feature-image.small { 1935 float: none;1986 float: right; 1936 1987 margin: 0 0 1.625em; 1937 width: auto; 1988 width: 64%; 1989 } 1990 .one-column article.feature-image.small .entry-summary { 1991 height: auto; 1938 1992 } 1939 1993 article.feature-image.small .entry-summary a { … … 2051 2105 } 2052 2106 #branding { 2053 border-top: none ;2107 border-top: none !important; 2054 2108 padding: 0; 2055 2109 }
Note: See TracChangeset
for help on using the changeset viewer.