Changeset 26097
- Timestamp:
- 11/12/2013 04:17:07 AM (11 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r26071 r26097 224 224 wp_enqueue_style( 'genericons', get_template_directory_uri() . '/fonts/genericons.css', array(), '3.0.2' ); 225 225 226 // Load sour main stylesheet.226 // Load our main stylesheet. 227 227 wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() ); 228 229 // Load the Internet Explorer specific stylesheet. 230 wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/ie.css', array( 'twentyfourteen-style' ), '20131110' ); 231 wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' ); 228 232 229 233 if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) -
trunk/src/wp-content/themes/twentyfourteen/header.php
r25980 r26097 10 10 */ 11 11 ?><!DOCTYPE html> 12 <!--[if IE 7]> 13 <html class="ie ie7" <?php language_attributes(); ?> class="no-js"> 14 <![endif]--> 15 <!--[if IE 8]> 16 <html class="ie ie8" <?php language_attributes(); ?> class="no-js"> 17 <![endif]--> 18 <!--[if !(IE 7) | !(IE 8) ]><!--> 12 19 <html <?php language_attributes(); ?> class="no-js"> 20 <!--<![endif]--> 13 21 <head> 14 <meta charset="<?php bloginfo( 'charset' ); ?>" /> 15 <meta name="viewport" content="width=device-width" /> 16 <title><?php wp_title( '|', true, 'right' ); ?></title> 17 <link rel="profile" href="http://gmpg.org/xfn/11" /> 18 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 19 <!--[if lt IE 9]> 20 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> 21 <![endif]--> 22 23 <?php wp_head(); ?> 22 <meta charset="<?php bloginfo( 'charset' ); ?>" /> 23 <meta name="viewport" content="width=device-width" /> 24 <title><?php wp_title( '|', true, 'right' ); ?></title> 25 <link rel="profile" href="http://gmpg.org/xfn/11" /> 26 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 27 <!--[if lt IE 9]> 28 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> 29 <![endif]--> 30 <?php wp_head(); ?> 24 31 </head> 25 32 -
trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php
r26079 r26097 264 264 .widget a:hover, 265 265 .widget-title a:hover, 266 .widget_twentyfourteen_ephemera .entry-meta a:hover, 266 267 .content-sidebar .widget a:hover, 267 268 .content-sidebar .widget .widget-title a:hover, -
trunk/src/wp-content/themes/twentyfourteen/rtl.css
r26023 r26097 142 142 .tag-links a:hover:before, 143 143 .tag-links a:focus:before { 144 border-left-color: # 2b2b2b;144 border-left-color: #41a62a; 145 145 } 146 146 … … 236 236 } 237 237 238 .contributor-posts-link:before {239 margin: -3px -3px -2px 5px;240 }241 242 238 243 239 /** … … 245 241 * ----------------------------------------------------------------------------- 246 242 */ 247 248 .comment-author {249 padding-right: 36px;250 padding-left: 0;251 }252 243 253 244 .comment-author .avatar { … … 257 248 258 249 .bypostauthor > article .fn:before { 259 margin: 3px -2px 0 2px; 260 } 261 250 margin: 0 -2px 0 2px; 251 } 252 253 .comment-author, 262 254 .comment-content, 263 255 .comment-list .reply, 264 256 .comment-metadata { 265 padding-right: 3 6px;257 padding-right: 30px; 266 258 padding-left: 0; 267 259 } … … 272 264 } 273 265 274 .comment-edit-link:before {275 margin: 3px 0 0 2px;276 }277 278 266 .comment-reply-link:before, 279 267 .comment-reply-login:before { 280 margin: 3px 0 0 3px; 268 margin-left: auto; 269 margin-right: 2px; 281 270 } 282 271 … … 287 276 288 277 .comment-list .children { 289 margin-right: 1 8px;278 margin-right: 15px; 290 279 margin-left: auto; 291 280 } … … 439 428 } 440 429 441 .site-content .format-video .post-format a:before {442 margin: -1px 0 0 2px;443 }444 445 .site-content .format-audio .post-format a:before {446 margin: -1px 0 0 2px;447 }448 449 .site-content .format-image .post-format a:before {450 margin: -1px 0 0 3px;451 }452 453 430 .site-content .format-quote .post-format a:before { 454 margin: -1px 0 0 3px; 431 margin-right: auto; 432 margin-left: 2px; 455 433 } 456 434 457 435 .site-content .format-gallery .post-format a:before { 458 margin: -1px 0 0 4px; 436 margin-right: auto; 437 margin-left: 4px; 459 438 } 460 439 461 440 .site-content .format-aside .post-format a:before { 462 margin: -1px 0 0 3px; 463 } 464 465 .site-content .format-link .post-format a:before { 466 margin: -1px 0 0 3px; 441 margin-right: auto; 442 margin-left: 2px; 467 443 } 468 444 469 445 .site-content .featured-post:before { 470 margin: 0 0 0 3px; 446 margin-right: auto; 447 margin-left: 3px; 471 448 } 472 449 473 450 .site-content .entry-date a:before, 474 451 .attachment .site-content span.entry-date:before { 475 margin: 0 0 0 1px; 452 margin-right: auto; 453 margin-left: 1px; 476 454 } 477 455 478 456 .site-content .comments-link a:before { 479 margin: -1px 0 0 2px; 480 } 481 482 .entry-content .edit-link a:before, 483 .entry-meta .edit-link a:before { 484 margin: -1px 0 0 2px; 457 margin-right: auto; 458 margin-left: 2px; 485 459 } 486 460 487 461 .site-content .full-size-link a:before { 488 margin: -1px 0 0 2px; 489 } 490 491 .site-content .parent-post-link a:before { 492 margin: -1px 0 0 2px; 462 margin-right: auto; 463 margin-left: 1px; 493 464 } 494 465 } … … 645 616 .comment-list .reply, 646 617 .comment-metadata { 647 padding-right: 5 5px;618 padding-right: 50px; 648 619 padding-left: 0; 649 620 } 650 621 651 622 .comment-list .children { 652 margin-right: 35px;623 margin-right: 20px; 653 624 margin-left: auto; 654 625 } … … 820 791 margin-left: auto; 821 792 } 822 823 .comment-author .avatar {824 right: -55px;825 left: auto;826 }827 828 .comment-author,829 .comment-content,830 .comment-list .reply,831 .comment-metadata {832 padding-right: 0;833 padding-left: 0;834 }835 793 } 836 794 -
trunk/src/wp-content/themes/twentyfourteen/style.css
r26092 r26097 364 364 margin: 0; 365 365 max-width: 100%; 366 vertical-align: baseline; 366 367 } 367 368 … … 508 509 font-size: 12px; 509 510 font-weight: 700; 510 padding: 1 1px 30px 10px;511 padding: 10px 30px 11px; 511 512 text-transform: uppercase; 512 vertical-align: top;513 vertical-align: bottom; 513 514 } 514 515 … … 776 777 font: normal 16px/1 Genericons; 777 778 text-decoration: inherit; 778 vertical-align: t op;779 vertical-align: text-bottom; 779 780 } 780 781 … … 1002 1003 1003 1004 .hentry { 1004 margin -bottom:48px;1005 margin: 0 auto 48px; 1005 1006 max-width: 672px; 1007 } 1008 1009 .entry-header, 1010 .entry-content, 1011 .entry-summary, 1012 .entry-meta, 1013 .page-content { 1014 width: 100%; 1006 1015 } 1007 1016 … … 1019 1028 } 1020 1029 1021 .hentry > :last-child {1022 margin-bottom: 01023 }1024 1025 1030 1026 1031 /** … … 1095 1100 font-weight: 400; 1096 1101 line-height: 1.3333333333; 1102 text-transform: uppercase; 1097 1103 } 1098 1104 … … 1134 1140 background-color: #fff; 1135 1141 margin-bottom: 8px; 1136 text-transform: uppercase;1137 1142 } 1138 1143 1139 1144 .site-content footer.entry-meta { 1140 margin: 24px auto ;1145 margin: 24px auto 0; 1141 1146 padding: 0 10px; 1142 1147 } … … 1217 1222 } 1218 1223 1224 .entry-content h1:first-child, 1225 .entry-content h2:first-child, 1226 .entry-content h3:first-child, 1227 .entry-content h4:first-child, 1228 .entry-content h5:first-child, 1229 .entry-content h6:first-child, 1230 .entry-summary h1:first-child, 1231 .entry-summary h2:first-child, 1232 .entry-summary h3:first-child, 1233 .entry-summary h4:first-child, 1234 .entry-summary h5:first-child, 1235 .entry-summary h6:first-child, 1236 .page-content h1:first-child, 1237 .page-content h2:first-child, 1238 .page-content h3:first-child, 1239 .page-content h4:first-child, 1240 .page-content h5:first-child, 1241 .page-content h6:first-child { 1242 margin-top: 0; 1243 } 1244 1219 1245 .entry-content a, 1220 1246 .entry-summary a, … … 1350 1376 /* More link */ 1351 1377 1352 .more-link,1353 1378 .post-format-archive-link { 1354 1379 font-size: 14px; … … 1526 1551 } 1527 1552 1528 .post-navigation [rel="prev"], 1529 .post-navigation [rel="next"], 1553 .post-navigation a, 1530 1554 .image-navigation .previous-image, 1531 1555 .image-navigation .next-image { … … 1665 1689 } 1666 1690 1667 .contributor: nth-of-type(1){1691 .contributor:first-of-type { 1668 1692 padding-top: 24px; 1669 1693 } … … 1698 1722 .contributor-posts-link { 1699 1723 display: inline-block; 1700 line-height: 1;1701 padding: 1 3px 30px 11px;1724 line-height: normal; 1725 padding: 10px 30px; 1702 1726 } 1703 1727 1704 1728 .contributor-posts-link:before { 1705 1729 content: "\f443"; 1706 margin: -3px 5px -2px -3px;1707 1730 } 1708 1731 … … 1807 1830 .comment-list .pingback, 1808 1831 .comment-list .trackback { 1809 border-bottom: 1px solid rgba(0, 0, 0, 0.1); 1810 margin-top: 24px; 1811 padding-bottom: 24px; 1832 border-top: 1px solid rgba(0, 0, 0, 0.1); 1833 margin-bottom: 24px; 1834 padding-top: 24px; 1835 } 1836 1837 .comment-list > li:first-child > article, 1838 .comment-list > li:first-child > .pingback, 1839 .comment-list > li:first-child > .trackback { 1840 border-top: 0 1812 1841 } 1813 1842 1814 1843 .comment-author { 1815 padding-left: 36px;1816 1844 position: relative; 1817 1845 } … … 1829 1857 .bypostauthor > article .fn:before { 1830 1858 content: "\f408"; 1831 margin: 3px 2px 0 -2px; 1859 margin: 0 2px 0 -2px; 1860 position: relative; 1861 top: -1px; 1832 1862 } 1833 1863 … … 1836 1866 } 1837 1867 1868 .comment-author, 1838 1869 .comment-content, 1839 1870 .comment-list .reply, 1840 1871 .comment-metadata { 1841 padding-left: 3 6px;1872 padding-left: 30px; 1842 1873 } 1843 1874 … … 1848 1879 .comment-edit-link:before { 1849 1880 content: "\f411"; 1850 margin: 3px 2px 0 0;1851 1881 } 1852 1882 … … 1854 1884 .comment-reply-login:before { 1855 1885 content: "\f412"; 1856 margin : 3px 3px 0 0;1886 margin-right: 2px; 1857 1887 } 1858 1888 … … 1875 1905 } 1876 1906 1877 .comment-content p:last-child {1907 .comment-content > :last-child { 1878 1908 margin-bottom: 0 1879 1909 } … … 1881 1911 .comment-list .children { 1882 1912 list-style: none; 1883 margin-left: 1 8px;1913 margin-left: 15px; 1884 1914 } 1885 1915 … … 1898 1928 } 1899 1929 1900 .logged-in-as { 1930 .comment-notes, 1931 .logged-in-as, 1932 .no-comments, 1933 .form-allowed-tags, 1934 .form-allowed-tags code { 1901 1935 color: #767676; 1902 1936 } 1903 1937 1904 1938 .no-comments { 1905 color: #767676;1906 1939 font-size: 16px; 1907 1940 font-weight: 900; … … 1923 1956 .form-allowed-tags, 1924 1957 .form-allowed-tags code { 1925 color: #767676;1926 1958 font-size: 12px; 1927 1959 line-height: 1.5; … … 1943 1975 content: "\f405"; 1944 1976 font-size: 32px; 1945 margin-top: -2px;1946 1977 } 1947 1978 … … 2013 2044 box-sizing: border-box; 2014 2045 color: #767676; 2015 padding: 36px 10px 0;2046 padding: 48px 10px 0; 2016 2047 } 2017 2048 … … 2087 2118 } 2088 2119 2089 .widget abbr, 2090 .widget acronym { 2120 .widget abbr[title] { 2091 2121 border-color: rgba(255, 255, 255, 0.7); 2092 2122 } … … 2097 2127 } 2098 2128 2099 .widget pre { 2100 border-color: rgba(255, 255, 255, 0.2); 2101 } 2102 2129 .widget pre, 2103 2130 .widget fieldset { 2104 2131 border-color: rgba(255, 255, 255, 0.2); … … 2169 2196 .widget textarea { 2170 2197 background-color: rgba(255, 255, 255, 0.1); 2171 border : 1px solidrgba(255, 255, 255, 0.15);2198 border-color: rgba(255, 255, 255, 0.15); 2172 2199 color: #fff; 2173 2200 font-size: 16px; … … 2177 2204 .widget input:focus, 2178 2205 .widget textarea:focus { 2179 border : 1px solidrgba(255, 255, 255, 0.2);2206 border-color: rgba(255, 255, 255, 0.2); 2180 2207 } 2181 2208 … … 2206 2233 2207 2234 .widget .wp-caption { 2208 color: rgba(255, 255, 255, 0. 45);2235 color: rgba(255, 255, 255, 0.7); 2209 2236 margin-bottom: 18px; 2210 2237 } … … 2284 2311 2285 2312 .widget_twentyfourteen_ephemera .hentry { 2286 margin-bottom: 0; 2313 margin: 0; 2314 max-width: 100%; 2287 2315 } 2288 2316 … … 2290 2318 .widget_twentyfourteen_ephemera .entry-meta, 2291 2319 .widget_twentyfourteen_ephemera .wp-caption-text, 2292 .widget_twentyfourteen_ephemera .more-link,2293 2320 .widget_twentyfourteen_ephemera .post-format-archive-link, 2294 2321 .widget_twentyfourteen_ephemera .entry-content table { … … 2300 2327 display: inline; 2301 2328 font-weight: 400; 2302 text-transform: none;2303 2329 } 2304 2330 … … 2309 2335 .widget_twentyfourteen_ephemera .entry-meta a { 2310 2336 color: rgba(255, 255, 255, 0.7); 2337 } 2338 2339 .widget_twentyfourteen_ephemera .entry-meta a:hover { 2340 color: #41a62a; 2311 2341 } 2312 2342 … … 2428 2458 } 2429 2459 2430 .content-sidebar .widget abbr, 2431 .content-sidebar .widget acronym { 2460 .content-sidebar .widget abbr[title] { 2432 2461 border-color: #2b2b2b; 2433 2462 } … … 2467 2496 .content-sidebar .widget textarea { 2468 2497 background-color: #fff; 2469 border : 1px solidrgba(0, 0, 0, 0.1);2498 border-color: rgba(0, 0, 0, 0.1); 2470 2499 color: #2b2b2b; 2471 2500 } … … 2473 2502 .content-sidebar .widget input:focus, 2474 2503 .content-sidebar .widget textarea:focus { 2475 border : 1px solidrgba(0, 0, 0, 0.3);2504 border-color: rgba(0, 0, 0, 0.3); 2476 2505 } 2477 2506 … … 2630 2659 } 2631 2660 2661 .site-footer, 2662 .site-info, 2663 .site-info a { 2664 color: rgba(255, 255, 255, 0.7); 2665 } 2666 2632 2667 .site-footer { 2633 2668 background-color: #000; 2634 color: rgba(255, 255, 255, 0.7);2635 2669 font-size: 12px; 2636 2670 position: relative; … … 2643 2677 2644 2678 .site-info { 2645 color: rgba(255, 255, 255, 0.7);2646 2679 padding: 15px 10px; 2647 2680 } … … 2649 2682 #supplementary + .site-info { 2650 2683 border-top: 1px solid rgba(255, 255, 255, 0.2); 2651 }2652 2653 .site-info a {2654 color: rgba(255, 255, 255, 0.7);2655 2684 } 2656 2685 … … 2744 2773 2745 2774 .slider .featured-content .hentry { 2775 -webkit-backface-visibility: hidden; 2746 2776 display: none; 2747 -webkit-backface-visibility: hidden;2748 2777 position: relative; 2749 2778 } … … 2973 3002 font: normal 16px/1 Genericons; 2974 3003 text-decoration: inherit; 2975 vertical-align: t op;3004 vertical-align: text-bottom; 2976 3005 } 2977 3006 … … 2982 3011 .site-content .format-video .post-format a:before { 2983 3012 content: "\f104"; 2984 margin: -1px 2px 0 0;2985 3013 } 2986 3014 2987 3015 .site-content .format-audio .post-format a:before { 2988 3016 content: "\f109"; 2989 margin: -1px 2px 0 0;2990 3017 } 2991 3018 2992 3019 .site-content .format-image .post-format a:before { 2993 3020 content: "\f473"; 2994 margin: -1px 3px 0 0;2995 3021 } 2996 3022 2997 3023 .site-content .format-quote .post-format a:before { 2998 3024 content: "\f106"; 2999 margin : -1px 3px 0 0;3025 margin-right: 2px; 3000 3026 } 3001 3027 3002 3028 .site-content .format-gallery .post-format a:before { 3003 3029 content: "\f103"; 3004 margin : -1px 4px 0 0;3030 margin-right: 4px; 3005 3031 } 3006 3032 3007 3033 .site-content .format-aside .post-format a:before { 3008 3034 content: "\f101"; 3009 margin : -1px 3px 0 0;3035 margin-right: 2px; 3010 3036 } 3011 3037 3012 3038 .site-content .format-link .post-format a:before { 3013 3039 content: "\f107"; 3040 position: relative; 3041 top: 1px; 3014 3042 } 3015 3043 3016 3044 .site-content .featured-post:before { 3017 3045 content: "\f308"; 3018 margin: 0 3px 0 0; 3046 margin-right: 3px; 3047 position: relative; 3048 top: 1px; 3019 3049 } 3020 3050 … … 3022 3052 .attachment .site-content span.entry-date:before { 3023 3053 content: "\f303"; 3024 margin: 0 1px 0 0; 3054 margin-right: 1px; 3055 position: relative; 3056 top: 1px; 3025 3057 } 3026 3058 3027 3059 .site-content .byline a:before { 3028 3060 content: "\f304"; 3029 margin: -1px 0 0 0;3030 3061 } 3031 3062 3032 3063 .site-content .comments-link a:before { 3033 3064 content: "\f300"; 3034 margin : -1px 2px 0 0;3065 margin-right: 2px; 3035 3066 } 3036 3067 … … 3038 3069 .entry-meta .edit-link a:before { 3039 3070 content: "\f411"; 3040 margin: -1px 2px 0 0;3041 }3042 3043 .entry-content .edit-link a:before {3044 margin: 5px 2px 0 0;3045 3071 } 3046 3072 3047 3073 .site-content .full-size-link a:before { 3048 3074 content: "\f402"; 3049 margin : -1px 2px 0 0;3075 margin-right: 1px; 3050 3076 } 3051 3077 3052 3078 .site-content .parent-post-link a:before { 3053 3079 content: "\f301"; 3054 margin: -1px 2px 0 0;3055 3080 } 3056 3081 3057 3082 .list-view .site-content .hentry { 3058 3083 border-top: 1px solid rgba(0, 0, 0, 0.1); 3059 padding-top: 60px; 3060 } 3061 3062 .list-view .site-content .hentry:first-child, 3084 padding-top: 48px; 3085 } 3086 3063 3087 .list-view .site-content .hentry:first-of-type, 3064 3088 .list-view .site-content .hentry.has-post-thumbnail { … … 3418 3442 .comment-list .pingback, 3419 3443 .comment-list article { 3420 margin- top: 36px;3421 padding- bottom: 36px;3444 margin-bottom: 36px; 3445 padding-top: 36px; 3422 3446 } 3423 3447 … … 3432 3456 .comment-list .reply, 3433 3457 .comment-metadata { 3434 padding-left: 5 5px;3458 padding-left: 50px; 3435 3459 } 3436 3460 3437 3461 .comment-list .children { 3438 margin-left: 35px;3462 margin-left: 20px; 3439 3463 } 3440 3464 … … 3552 3576 .footer-sidebar .widget, 3553 3577 .primary-sidebar .widget { 3554 font-size: 1 1px;3555 line-height: 1. 6363636363;3578 font-size: 12px; 3579 line-height: 1.5; 3556 3580 } 3557 3581 … … 3657 3681 .footer-sidebar .widget_twentyfourteen_ephemera .entry-meta, 3658 3682 .footer-sidebar .widget_twentyfourteen_ephemera .wp-caption-text, 3683 .footer-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link, 3659 3684 .footer-sidebar .widget_twentyfourteen_ephemera .entry-content table, 3660 3685 .primary-sidebar .widget_twentyfourteen_ephemera .entry-title, 3661 3686 .primary-sidebar .widget_twentyfourteen_ephemera .entry-meta, 3662 3687 .primary-sidebar .widget_twentyfourteen_ephemera .wp-caption-text, 3688 .primary-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link, 3663 3689 .primary-sidebar .widget_twentyfourteen_ephemera .entry-content table { 3664 font-size: 12px; 3665 line-height: 1.5; 3666 } 3667 3668 .footer-sidebar .widget_twentyfourteen_ephemera .more-link, 3669 .footer-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link, 3670 .primary-sidebar .widget_twentyfourteen_ephemera .more-link, 3671 .primary-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link { 3672 font-size: 10px; 3673 line-height: 1.8; 3690 font-size: 11px; 3691 line-height: 1.6363636363; 3674 3692 } 3675 3693 … … 3848 3866 } 3849 3867 3850 .comment-author .avatar {3851 left: -55px;3852 }3853 3854 .comment-author,3855 .comment-content,3856 .comment-list .reply,3857 .comment-metadata {3858 padding-left: 0;3859 }3860 3861 3868 .full-width .archive-header, 3862 3869 .full-width .comments-area,
Note: See TracChangeset
for help on using the changeset viewer.