Changeset 25999
- Timestamp:
- 11/02/2013 04:35:35 AM (13 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 5 edited
-
functions.php (modified) (1 diff)
-
inc/customizer.php (modified) (4 diffs)
-
js/functions.js (modified) (1 diff)
-
rtl.css (modified) (13 diffs)
-
style.css (modified) (37 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r25980 r25999 242 242 wp_enqueue_script( 'twentyfourteen-slider', get_template_directory_uri() . '/js/slider.js', array( 'jquery' ), '20131028', true ); 243 243 244 wp_enqueue_script( 'twentyfourteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20131 011', true );244 wp_enqueue_script( 'twentyfourteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20131102', true ); 245 245 } 246 246 add_action( 'wp_enqueue_scripts', 'twentyfourteen_scripts' ); -
trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php
r25998 r25999 152 152 .search-toggle, 153 153 .hentry .mejs-controls .mejs-time-rail .mejs-time-current, 154 .widget button, 155 .widget input[type="button"], 156 .widget input[type="reset"], 157 .widget input[type="submit"], 154 158 .widget_calendar tbody a, 155 159 .slider-control-paging a:hover:before, … … 229 233 .entry-meta a:hover, 230 234 .cat-links a:hover, 235 .entry-content .edit-link a:hover, 231 236 .post-navigation a:hover, 232 237 .image-navigation a:hover, … … 235 240 .comment-list .trackback a:hover, 236 241 .comment-metadata a:hover, 242 .comment-reply-title small a:hover, 237 243 .widget a:hover, 238 244 .widget a:focus, … … 241 247 .content-sidebar .widget a:focus, 242 248 .content-sidebar .widget a:active, 249 .content-sidebar .widget .widget-title a:hover, 250 .content-sidebar .widget .widget-title a:focus, 251 .content-sidebar .widget .widget-title a:active, 243 252 .content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover, 244 253 .featured-content a:hover { -
trunk/src/wp-content/themes/twentyfourteen/js/functions.js
r25995 r25999 78 78 } 79 79 80 // Focus styles for primary menu.81 $( '.primary-navigation ' ).find( 'a' ).on( 'focus.twentyfourteen blur.twentyfourteen', function() {80 // Focus styles for menus. 81 $( '.primary-navigation, .secondary-navigation' ).find( 'a' ).on( 'focus.twentyfourteen blur.twentyfourteen', function() { 82 82 $( this ).parents().toggleClass( 'focus' ); 83 83 } ); -
trunk/src/wp-content/themes/twentyfourteen/rtl.css
r25971 r25999 1 1 /* 2 2 Theme Name: Twenty Fourteen 3 Description: Adds support for languages written in a Right To Left (RTL) direction. 4 It's easy, just a matter of overwriting all the horizontal positioning attributes 5 of your CSS stylesheet in a separate stylesheet file named rtl.css. 6 7 See http://codex.wordpress.org/Right_to_Left_Language_Support 3 8 */ 9 10 /** 11 * Table of Contents: 12 * 13 * 1.0 - Reset 14 * 2.0 - Repeatable Patterns 15 * 4.0 - Header 16 * 5.0 - Navigations 17 * 6.0 - Content 18 * 6.4 - Entry Content 19 * 6.5 - Galleries 20 * 6.7 - Post/Paging Navigation 21 * 6.10 - Contributor Page 22 * 6.14 - Comments 23 * 7.0 - Sidebar 24 * 7.1 - Widgets 25 * 7.2 - Content Sidebar Widgets 26 * 9.0 - Featured Content 27 * 10.0 - Media Queries 28 * ----------------------------------------------------------------------------- 29 */ 30 31 32 /** 33 * 1.0 Reset 34 * ----------------------------------------------------------------------------- 35 */ 4 36 5 37 body { … … 8 40 } 9 41 10 /* =Reset 11 ----------------------------------------------- */ 12 13 caption, th, td { 14 text-align: right; 15 } 16 17 18 /* =Global 19 ----------------------------------------------- */ 20 21 /* Text elements */ 22 23 ul, ol { 24 margin: 0 22px 24px 0; 42 a { 43 display: inline-block; 44 } 45 46 ul, 47 ol { 48 margin: 0 20px 24px 0; 25 49 } 26 50 27 51 li > ul, 28 52 li > ol { 29 margin-right: 20px; 30 margin-left: auto; 31 } 32 33 .site-content blockquote.alignright { 34 margin: 7px 0 7px 24px; 35 } 36 37 .site-content blockquote.alignleft { 38 margin: 7px 24px 7px 0; 39 } 40 41 /* Alignment */ 42 .alignright { 53 margin: 0 20px 0 0; 54 } 55 56 caption, 57 th, 58 td { 59 text-align: right; 60 } 61 62 63 /** 64 * 2.0 Repeatable Patterns 65 * ----------------------------------------------------------------------------- 66 */ 67 68 .wp-caption-text { 69 padding-left: 10px; 70 padding-right: 0; 71 } 72 73 .screen-reader-text:focus { 74 right: 5px; 75 left: auto; 76 } 77 78 79 /** 80 * 4.0 Header 81 * ----------------------------------------------------------------------------- 82 */ 83 84 .site-title { 43 85 float: right; 44 margin-left: 24px; 45 margin-right: auto; 46 } 47 48 .alignleft { 49 float: left; 50 margin-right: 24px; 51 margin-left: auto; 52 } 53 54 .screen-reader-text:focus { 55 left: auto; 56 right: 5px; 57 } 58 59 /* =Header 60 ----------------------------------------------- */ 86 } 61 87 62 88 .search-toggle { … … 66 92 } 67 93 68 .site-title {69 float: right;70 }71 72 .menu-toggle {73 left: 0;74 right: auto;75 }76 77 .search-toggle {78 float: right;79 padding: 25px 0 0 10px;80 }81 82 94 .search-box .search-field { 83 95 float: left; 84 } 85 86 87 /* =Menu 88 ----------------------------------------------- */ 89 90 /* Primary Navigation */ 91 .primary-navigation ul { 92 padding-right: 0; 93 padding-left: 0; 94 } 95 96 .primary-navigation ul ul li { 96 padding: 1px 6px 2px 2px; 97 } 98 99 .search-toggle .screen-reader-text { 100 right: auto; 101 left: 0; 102 } 103 104 105 /** 106 * 5.0 Navigations 107 * ----------------------------------------------------------------------------- 108 */ 109 110 .site-navigation ul ul { 111 margin-right: 20px; 97 112 margin-left: auto; 98 margin-right: 15px; 99 } 100 101 .primary-navigation ul ul { 102 right: -999em; 103 left: auto; 104 } 105 106 .primary-navigation ul ul ul { 107 right: -999em; 108 left: auto; 109 } 110 111 112 .primary-navigation ul li:hover > ul, 113 .primary-navigation ul li.focus > ul { 113 } 114 115 .menu-toggle { 114 116 right: auto; 115 } 116 117 .primary-navigation ul ul li:hover > ul, 118 .primary-navigation ul ul li.focus > ul { 119 left: auto; 120 right: 100%; 121 } 122 123 /* Secondary Navigation */ 124 .secondary-navigation ul ul { 125 margin: 0 20px 0 0; 126 } 127 128 /* Mobile Navigations */ 129 .mobile-navigation ul ul li { 130 margin-right: 15px; 131 margin-left: auto; 132 } 133 134 135 /* =Content 136 ----------------------------------------------- */ 137 138 .entry-content th, 139 .comment-content th { 140 border-left: 1px solid rgba(0, 0, 0, 0.1); 141 border-right: none; 142 } 143 144 .entry-content td, 145 .comment-content td { 146 border-left: 1px solid rgba(0, 0, 0, 0.1); 147 border-right: none; 148 } 149 150 .more-link .meta-nav, 151 ..post-format-archive-link .meta-nav { 152 right: 0; 153 left: auto; 154 } 155 156 .more-link:hover .meta-nav, 157 ..post-format-archive-link:hover .meta-nav { 158 right: 5px; 159 left: auto; 160 } 161 162 .page-links a, 163 .page-links > span { 164 margin-left: 1px; 165 margin-right: auto; 166 } 167 168 .page-links > span.page-links-title { 169 padding-right: 0; 170 padding-left: 0; 171 } 117 left: 0; 118 } 119 120 121 /** 122 * 6.0 Content 123 * ----------------------------------------------------------------------------- 124 */ 125 126 /** 127 * 6.3 Entry Meta 128 * ----------------------------------------------------------------------------- 129 */ 172 130 173 131 .tag-links a { … … 176 134 177 135 .tag-links a:before { 178 border- left: 10px solid #8c8c8c;179 right: -10px;180 left: auto;181 border-right: none;136 border-right: 0; 137 border-left: 8px solid #767676; 138 right: -7px; 139 left: auto; 182 140 } 183 141 … … 193 151 194 152 195 /* =Post Formatted posts column 196 ----------------------------------------------- */ 197 198 .widget_twentyfourteen_ephemera .widget-title:before { 199 margin-left: 10px; 153 /** 154 * 6.4 Entry Content 155 * ----------------------------------------------------------------------------- 156 */ 157 158 .page-links a, 159 .page-links > span { 160 margin: 0 0 2px 1px; 161 } 162 163 .page-links > .page-links-title { 164 padding-right: 0; 165 padding-left: 9px; 166 } 167 168 .more-link .meta-nav, 169 .post-format-archive-link .meta-nav { 170 right: 0; 171 left: auto; 172 } 173 174 .more-link:hover .meta-nav, 175 .post-format-archive-link:hover .meta-nav { 176 right: 5px; 177 left: auto; 178 } 179 180 181 /** 182 * 6.5 Gallery 183 * ----------------------------------------------------------------------------- 184 */ 185 186 .gallery-item { 187 float: right; 188 margin: 0 0 4px 4px; 189 } 190 191 .gallery-columns-1 .gallery-item:nth-of-type(1n), 192 .gallery-columns-2 .gallery-item:nth-of-type(2n), 193 .gallery-columns-3 .gallery-item:nth-of-type(3n), 194 .gallery-columns-4 .gallery-item:nth-of-type(4n), 195 .gallery-columns-5 .gallery-item:nth-of-type(5n), 196 .gallery-columns-6 .gallery-item:nth-of-type(6n), 197 .gallery-columns-7 .gallery-item:nth-of-type(7n), 198 .gallery-columns-8 .gallery-item:nth-of-type(8n), 199 .gallery-columns-9 .gallery-item:nth-of-type(9n) { 200 200 margin-right: auto; 201 } 202 203 204 /* =Media 205 ----------------------------------------------- */ 206 207 img.alignright, 208 .wp-caption.alignright, 209 blockquote.alignright { 210 margin: 7px 0 7px 24px; 211 } 212 213 img.alignleft, 214 .wp-caption.alignleft, 215 blockquote.alignleft { 216 margin: 7px 24px 7px 0; 217 } 218 219 .wp-caption-text { 220 padding: 0 0 0 10px; 201 margin-left: 0; 202 } 203 204 .gallery-caption { 205 padding: 6px 8px; 206 right: 0; 207 left: auto; 221 208 text-align: right; 222 209 } 223 210 224 225 /* =Navigation 226 ----------------------------------------------- */ 211 .gallery-caption:before { 212 right: 0; 213 left: auto; 214 } 215 216 217 /** 218 * 6.7 Post/Image/Paging Navigation 219 * ----------------------------------------------------------------------------- 220 */ 227 221 228 222 .paging-navigation .page-numbers { 229 margin-left: 5px;230 223 margin-right: auto; 231 } 232 233 .post-navigation [rel="prev"], 234 .post-navigation [rel="next"], 235 .image-navigation .previous-image, 236 .image-navigation .next-image { 237 text-align: right; 238 } 239 240 .comment-navigation { 241 padding-right: 10px; 242 padding-left: 0; 243 } 244 245 .comment-navigation .nav-previous a { 246 margin-left: 10px; 247 margin-right: auto; 248 } 249 250 251 /* =Comments 252 ----------------------------------------------- */ 224 margin-left: 1px; 225 } 226 227 228 /** 229 * 6.10 Contributor Page 230 * ----------------------------------------------------------------------------- 231 */ 232 233 .contributor-avatar { 234 float: right; 235 margin: 0 0 20px 30px; 236 } 237 238 .contributor-posts-link:before { 239 margin: -3px -3px -2px 5px; 240 } 241 242 243 /** 244 * 6.14 Comments 245 * ----------------------------------------------------------------------------- 246 */ 253 247 254 248 .comment-author { … … 262 256 } 263 257 264 .comment-metadata, 265 .comment-content { 258 .comment-content, 259 .comment-list .reply, 260 .comment-metadata { 266 261 padding-right: 36px; 267 262 padding-left: 0; 263 } 264 265 .comment-edit-link { 266 margin-right: 10px; 267 margin-left: auto; 268 } 269 270 .comment-edit-link:before { 271 margin: 3px 0 0 2px; 272 } 273 274 .comment-reply-link:before, 275 .comment-reply-login:before { 276 margin: 3px 0 0 3px; 268 277 } 269 278 … … 278 287 } 279 288 280 .comment .comment-respond { 281 margin-right: 36px; 289 .comment-reply-title small a { 290 float: left; 291 } 292 293 .comment-navigation .nav-previous a { 294 margin-right: auto; 295 margin-left: 10px; 296 } 297 298 299 /** 300 * 7.0 Sidebars 301 * ----------------------------------------------------------------------------- 302 */ 303 304 /** 305 * 7.1 Widgets 306 * ----------------------------------------------------------------------------- 307 */ 308 309 .widget li > ol, 310 .widget li > ul { 311 margin-right: 10px; 282 312 margin-left: auto; 283 313 } 284 314 285 .comment-edit-link { 286 margin-left: 0; 287 margin-right: 10px; 288 } 289 290 .comment-edit-link:before { 291 margin: 3px 0 0 2px; 292 } 293 294 .comment-reply-link:before, 295 .comment-reply-login:before { 296 margin: 3px 0 0 3px; 297 } 298 299 300 /* =Widgets 301 ----------------------------------------------- */ 302 303 .widget li > ul, 304 .widget li > ol { 305 margin: 0 10px 0 0; 306 } 307 308 .widget select, 309 .widget iframe { 310 margin-right: 1px; 311 margin-left: auto; 312 } 313 314 /* Caledar widget*/ 315 .widget input, 316 .widget textarea { 317 padding: 1px 4px 2px 2px; 318 } 319 315 320 .widget_calendar caption { 316 321 text-align: right; 317 322 } 318 323 319 .widget_calendar #prev {324 .widget_calendar #prev { 320 325 padding-right: 5px; 321 326 padding-left: 0; … … 323 328 324 329 .widget_calendar #next { 325 border-left: 1px solid rgba(255, 255, 255, 0.2);330 padding-right: 0; 326 331 padding-left: 5px; 327 332 text-align: left; 328 padding-right: 0; 329 border-right: none; 330 } 331 332 333 /* =Content Sidebar 334 ----------------------------------------------- */ 335 336 .content-sidebar .widget .children, 337 .content-sidebar .widget .sub-menu { 333 } 334 335 .widget_twentyfourteen_ephemera .entry-content ul, 336 .widget_twentyfourteen_ephemera .entry-content ol { 337 margin: 0 20px 18px 0; 338 } 339 340 .widget_twentyfourteen_ephemera .entry-content li > ul, 341 .widget_twentyfourteen_ephemera .entry-content li > ol { 338 342 margin: 0 20px 0 0; 339 343 } 340 344 341 .content-sidebar .widget .widgets-multi-column-grid li { 342 padding: 0 0 6px 8px; 343 } 344 345 346 /* =Contributor Page 347 ----------------------------------------------- */ 348 349 .contributor-avatar { 345 346 /** 347 * 7.2 Content Sidebar Widgets 348 * ----------------------------------------------------------------------------- 349 */ 350 351 .content-sidebar .widget li > ol, 352 .content-sidebar .widget li > ul { 353 margin-right: 18px; 354 margin-left: auto; 355 } 356 357 .content-sidebar .widget_twentyfourteen_ephemera .widget-title:before { 358 margin: -1px 0 0 18px; 359 } 360 361 362 /** 363 * 9.0 Featured Content 364 * ----------------------------------------------------------------------------- 365 */ 366 367 .featured-content .post-thumbnail img { 368 right: 0; 369 left: auto; 370 } 371 372 .slider-viewport { 373 direction: ltr; 374 } 375 376 .slider .featured-content .entry-header { 377 right: 0; 378 left: auto; 379 text-align: right; 380 } 381 382 .slider-control-paging { 350 383 float: right; 351 margin: 0 0 20px 30px; 352 } 353 354 .contributor-posts-link:before { 355 margin: -3px -3px -2px 5px; 356 } 357 358 359 /* =Media Queries 360 ----------------------------------------------- */ 361 362 /* Mobile list style */ 384 } 385 386 .slider-control-paging li { 387 float: right; 388 margin: 2px 0 2px 4px; 389 } 390 391 .slider-control-paging li:last-child { 392 margin-right: auto; 393 margin-left: 0; 394 } 395 396 .slider-control-paging a:before { 397 right: 10px; 398 left: auto; 399 } 400 401 .slider-direction-nav li { 402 border-width: 2px 0 0 1px; 403 float: right; 404 } 405 406 .slider-direction-nav li:last-child { 407 border-width: 2px 1px 0 0; 408 } 409 410 .slider-direction-nav a:before { 411 content: "\f429"; 412 } 413 414 .slider-direction-nav .slider-next:before { 415 content: "\f430"; 416 } 417 418 419 /** 420 * 10.0 Media Queries 421 * ----------------------------------------------------------------------------- 422 */ 423 363 424 @media screen and (max-width: 400px) { 364 .list-view . post-thumbnail img {425 .list-view .site-content .post-thumbnail img { 365 426 float: right; 366 427 margin: 0 0 3px 10px; … … 368 429 } 369 430 370 @media screen and (min-width: 400px) { 371 .content-area .featured-post:before, 372 .content-area .post-format a:before, 373 .content-area .entry-date a:before, 374 .content-area .entry-date a:before, 375 .content-area .byline a:before, 376 .content-area .comments-link a:before, 377 .entry-comment .edit-link a:before, 378 .content-area .full-size-link a:before, 379 .content-area .parent-post-link a:before { 380 margin: 0 0 0 2px; 381 } 382 383 .content-area .entry-meta > span { 431 @media screen and (min-width: 401px) { 432 .site-content .entry-meta > span { 433 margin-right: auto; 384 434 margin-left: 10px; 435 } 436 437 .site-content .format-video .post-format a:before { 438 margin: -1px 0 0 2px; 439 } 440 441 .site-content .format-image .post-format a:before { 442 margin: -1px 0 0 3px; 443 } 444 445 .site-content .format-quote .post-format a:before { 446 margin: -1px 0 0 3px; 447 } 448 449 .site-content .format-gallery .post-format a:before { 450 margin: -1px 0 0 4px; 451 } 452 453 .site-content .format-aside .post-format a:before { 454 margin: -1px 0 0 3px; 455 } 456 457 .site-content .format-link .post-format a:before { 458 margin: -1px 0 0 3px; 459 } 460 461 .site-content .featured-post:before { 462 margin: 0 0 0 3px; 463 } 464 465 .site-content .entry-date a:before, 466 .attachment .site-content span.entry-date:before { 467 margin: 0 0 0 1px; 468 } 469 470 .site-content .comments-link a:before { 471 margin: -1px 0 0 2px; 472 } 473 474 .entry-content .edit-link a:before, 475 .entry-meta .edit-link a:before { 476 margin: -1px 0 0 2px; 477 } 478 479 .site-content .full-size-link a:before { 480 margin: -1px 0 0 2px; 481 } 482 483 .site-content .parent-post-link a:before { 484 margin: -1px 0 0 2px; 485 } 486 } 487 488 @media screen and (min-width: 642px) { 489 .site-content .entry-header { 490 padding-right: 30px; 491 padding-left: 30px; 492 } 493 } 494 495 @media screen and (min-width: 673px) { 496 .search-toggle { 385 497 margin-right: auto; 386 } 387 388 .content-area .format-video .post-format a:before { 389 margin: -1px 0 0 2px; 390 } 391 392 .content-area .format-image .post-format a:before { 393 margin: -1px 0 0 2px; 394 } 395 396 .content-area .format-gallery .post-format a:before { 397 margin: -1px 0 0 4px; 398 } 399 400 .content-area .featured-post:before { 401 margin: -1px 0 0 3px; 402 } 403 404 .content-area .entry-date a:before, 405 .attachment span.entry-date:before { 406 margin: 0 0 0 1px; 407 } 408 409 .content-area .comments-link a:before { 410 margin: -1px 0 0 2px; 411 } 412 413 .entry-comment .edit-link a:before { 414 margin: -1px 0 0 2px; 415 } 416 417 .page .entry-comment .edit-link a:before { 418 margin: 5px 0 0 2px; 419 } 420 } 421 422 @media screen and (min-width: 672px) { 498 margin-left: 18px; 499 } 500 423 501 .content-area { 424 502 float: right; … … 426 504 427 505 .site-content { 428 margin: 0 0 0 33.33333333%; 506 margin-right: auto; 507 margin-left: 33.33333333%; 508 } 509 510 .archive-header, 511 .comments-area, 512 .image-navigation, 513 .page-header, 514 .page-content, 515 .post-navigation, 516 .site-content .entry-content, 517 .site-content .entry-summary, 518 .site-content footer.entry-meta { 519 padding-right: 30px; 520 padding-left: 30px; 521 } 522 523 .full-width .site-content { 524 margin-left: 0; 429 525 } 430 526 431 527 .content-sidebar { 432 528 float: left; 433 margin: 0 -30.35714285% 0 0; 434 padding: 36px 0 24px 10px; 435 } 436 437 .ephemera { 529 margin-right: -33.33333333%; 530 margin-left: auto; 531 } 532 533 .grid .featured-content .hentry { 534 float: right; 535 } 536 537 .slider-control-paging { 538 padding-right: 20px; 539 padding-left: 0; 540 } 541 542 .slider-direction-nav { 438 543 float: left; 439 margin: 0 -30.35714285% 0 0; 440 padding: 36px 0 0 10px; 441 } 442 443 .featured-content .hentry { 444 float: right; 445 } 446 } 447 448 @media screen and (min-width: 740px) { 449 .comment-author { 450 padding-right: 60px; 451 padding-left: 0; 452 } 453 454 .comment-metadata, 455 .comment-content { 456 padding-right: 60px; 457 padding-left: 0; 458 } 459 460 .comments-title, 461 .no-comments, 462 .comment-respond, 463 .comments-area article, 464 .comment-list .trackback, 465 .comment-list .pingback, 466 .post-navigation [rel="prev"], 467 .post-navigation [rel="next"] { 468 padding-left: 9.12778904%; 469 padding-right: 9.12778904%; 470 } 471 472 .comment-navigation { 473 padding-right: 9.12778904%; 474 padding-left: 0; 475 } 476 477 .image-navigation .previous-image, 478 .image-navigation .next-image, 479 .full-width .comment-navigation, 480 .full-width .comments-title, 481 .full-width .comment-respond, 482 .full-width .comments-area article, 483 .full-width .comment-list .trackback, 484 .full-width .comment-list .pingback { 485 padding-left: 6.04307432%; 486 padding-right: 6.04307432%; 544 } 545 546 .slider-direction-nav li { 547 padding: 0 0 0 1px; 548 } 549 550 .slider-direction-nav li:last-child { 551 padding: 0 1px 0 0; 487 552 } 488 553 } … … 490 555 @media screen and (min-width: 782px) { 491 556 .header-main { 492 padding: 0 27px 0 0; 557 padding-right: 30px; 558 padding-left: 0; 493 559 } 494 560 495 561 .search-toggle { 562 margin-right: auto; 496 563 margin-left: 0; 497 564 } 565 566 .primary-navigation { 567 float: left; 568 margin: 0 -10px 0 1px; 569 } 570 571 .primary-navigation ul ul { 572 float: right; 573 margin: 0; 574 right: -999em; 575 left: auto; 576 } 577 578 .primary-navigation ul ul ul { 579 right: -999em; 580 left: auto; 581 } 582 583 .primary-navigation ul li:hover > ul, 584 .primary-navigation ul li.focus > ul { 585 right: auto; 586 left: auto; 587 } 588 589 .primary-navigation ul ul li:hover > ul, 590 .primary-navigation ul ul li.focus > ul { 591 right: 100%; 592 left: auto; 593 } 594 } 595 596 @media screen and (min-width: 810px) { 597 .attachment .entry-attachment .attachment { 598 margin-right: -168px; 599 margin-left: -168px; 600 } 601 602 .attachment .entry-attachment .attachment a { 603 display: block; 604 } 605 606 .contributor-avatar { 607 margin-right: -168px; 608 margin-left: auto; 609 } 610 611 .contributor-summary { 612 float: right; 613 } 614 615 .full-width .site-content blockquote.alignright, 616 .full-width .site-content img.size-full.alignright, 617 .full-width .site-content img.size-large.alignright, 618 .full-width .site-content img.size-medium.alignright, 619 .full-width .site-content .wp-caption.alignright { 620 margin-right: -168px; 621 margin-left: auto; 622 } 623 624 .full-width .site-content blockquote.alignleft, 625 .full-width .site-content img.size-full.alignleft, 626 .full-width .site-content img.size-large.alignleft, 627 .full-width .site-content img.size-medium.alignleft, 628 .full-width .site-content .wp-caption.alignleft { 629 margin-right: auto; 630 margin-left: -168px; 631 } 498 632 } 499 633 500 634 @media screen and (min-width: 870px) { 501 .content-area .entry-header { 502 margin-left: 8.03571428%; 503 margin-right: 12.5%; 504 } 505 506 .content-area .entry-content, 507 .content-area .entry-summary { 508 margin-left: 8.03571428%; 509 margin-right: 12.5%; 510 } 511 512 .content-area footer.entry-meta { 513 margin: 12px 12.5% 24px 8.03571428%; 514 } 515 516 .page .content-area .entry-header, 517 .error404 .content-area .entry-header { 518 margin: 0 12.5% 0 8.03571428%; 519 } 520 521 .archive-header, 522 .page-header { 523 margin: 0 12.5% 24px 8.03571428%; 524 } 525 526 .comments-title, 527 .no-comments, 528 .comment-respond, 529 .comments-area article, 530 .comment-list .trackback, 531 .comment-list .pingback, 532 .post-navigation [rel="prev"], 533 .post-navigation [rel="next"] { 534 padding-left: 12.39493534%; 535 padding-right: 17.06896551%; 536 } 537 538 .comment-respond { 539 padding-left: 13.8900862%; 540 } 541 542 .comment-list, 543 .full-width .comment-list { 544 margin-right: -70px; 635 .comment-author, 636 .comment-content, 637 .comment-list .reply, 638 .comment-metadata { 639 padding-right: 55px; 640 padding-left: 0; 641 } 642 643 .comment-list .children { 644 margin-right: 35px; 545 645 margin-left: auto; 546 646 } 547 548 .comment-navigation { 549 padding-right: 17.06896551%; 647 } 648 649 @media screen and (min-width: 1008px) { 650 .search-box-wrapper { 651 padding-right: 182px; 550 652 padding-left: 0; 551 653 } 552 654 655 .main-content { 656 float: right; 657 } 658 659 .site-content { 660 margin-right: 182px; 661 margin-left: 29.04761904%; 662 } 663 664 .full-width .site-content { 665 margin-right: 182px; 666 } 667 553 668 .content-sidebar { 554 padding-top: 72px; 555 } 556 557 .image-navigation .previous-image, 558 .image-navigation .next-image, 559 .full-width .comment-navigation, 560 .full-width .comments-title, 561 .full-width .comment-respond, 562 .full-width .comments-area article, 563 .full-width .comment-list .trackback, 564 .full-width .comment-list .pingback { 565 padding-left: 11.30926724%; 566 padding-right: 11.30926724%; 567 } 568 569 .site-content blockquote.alignright { 570 margin-right: -20%; 669 margin-right: -29.04761904%; 571 670 margin-left: auto; 572 671 } 573 672 574 .site-content blockquote.alignleft {575 margin-left: -20%;576 margin-right: auto;577 }578 579 .content-area .no-results .entry-header {580 margin-right: 12.5%;581 margin-left: 8.03571428%;582 }583 584 .content-area .no-results .entry-content {585 margin-right: 12.5%;586 margin-left: 8.03571428%;587 }588 }589 590 @media screen and (min-width: 1008px) {591 673 .site:before { 592 674 right: 0; 593 675 left: auto; 594 }595 596 .header-main {597 padding-right: 27px;598 padding-left: 0;599 }600 601 .search-box-wrapper {602 padding-right: 222px;603 padding-left: 0;604 }605 606 .site-content {607 margin: 0 222px 0 27.31707317%;608 676 } 609 677 … … 613 681 } 614 682 615 .front-page-content-wrapper { 683 .secondary-navigation ul ul { 684 right: -999em; 685 left: auto; 686 } 687 688 .secondary-navigation ul li:hover > ul, 689 .secondary-navigation ul li.focus > ul { 690 right: 162px; 691 left: auto; 692 } 693 694 .footer-sidebar .widget { 616 695 float: right; 617 696 } 618 697 698 .featured-content { 699 padding-right: 182px; 700 padding-left: 0; 701 } 702 } 703 704 @media screen and (min-width: 1040px) { 705 .archive-header, 706 .comments-area, 707 .image-navigation, 708 .page-header, 709 .page-content, 710 .post-navigation, 711 .site-content .entry-header, 712 .site-content .entry-content, 713 .site-content .entry-summary, 714 .site-content footer.entry-meta { 715 padding-right: 15px; 716 padding-left: 15px; 717 } 718 719 .full-width .archive-header, 720 .full-width .comments-area, 721 .full-width .image-navigation, 722 .full-width .page-header, 723 .full-width .page-content, 724 .full-width .post-navigation, 725 .full-width .site-content .entry-header, 726 .full-width .site-content .entry-content, 727 .full-width .site-content .entry-summary, 728 .full-width .site-content footer.entry-meta { 729 padding-right: 30px; 730 padding-left: 30px; 731 } 732 } 733 734 @media screen and (min-width: 1080px) { 619 735 .site-content { 620 margin: 0 222px 0 27.31707317%; 621 } 622 623 .content-sidebar, 624 .ephemera { 625 margin: 0 -27.31707317% 0 0; 626 } 627 736 margin-right: 222px; 737 margin-left: 29.04761904%; 738 } 739 740 .full-width .site-content { 741 margin-right: 222px; 742 } 743 744 .search-box-wrapper, 628 745 .featured-content { 629 746 padding-right: 222px; … … 631 748 } 632 749 633 .site-footer { 634 padding-right: 27px; 750 .secondary-navigation ul li:hover > ul, 751 .secondary-navigation ul li.focus > ul { 752 right: 202px; 753 left: auto; 754 } 755 756 .slider-control-paging { 757 padding-right: 24px; 635 758 padding-left: 0; 636 759 } 637 760 638 .secondary-navigation ul ul { 639 right: 168px; 640 left: auto; 641 } 642 643 .full-width.site-content { 644 margin-right: 222px; 761 .slider-control-paging li { 762 margin: 12px 0 12px 12px; 763 } 764 765 .slider-control-paging a:before { 766 right: 6px; 767 left: auto; 768 } 769 } 770 771 @media screen and (min-width: 1110px) { 772 .archive-header, 773 .comments-area, 774 .image-navigation, 775 .page-header, 776 .page-content, 777 .post-navigation, 778 .site-content .entry-header, 779 .site-content .entry-content, 780 .site-content .entry-summary, 781 .site-content footer.entry-meta { 782 padding-right: 30px; 783 padding-left: 30px; 784 } 785 } 786 787 @media screen and (min-width: 1218px) { 788 .archive-header, 789 .comments-area, 790 .image-navigation, 791 .page-header, 792 .page-content, 793 .post-navigation, 794 .site-content .entry-header, 795 .site-content .entry-content, 796 .site-content .entry-summary, 797 .site-content footer.entry-meta { 798 margin-left: 54px; 799 } 800 801 .full-width .archive-header, 802 .full-width .comments-area, 803 .full-width .image-navigation, 804 .full-width .page-header, 805 .full-width .page-content, 806 .full-width .post-navigation, 807 .full-width .site-content .entry-header, 808 .full-width .site-content .entry-content, 809 .full-width .site-content .entry-summary, 810 .full-width .site-content footer.entry-meta { 811 margin-right: auto; 645 812 margin-left: auto; 646 813 } 647 814 648 .comments-title, 649 .no-comments, 650 .comment-respond, 651 .comments-area article, 652 .comment-list .trackback, 653 .comment-list .pingback, 654 .post-navigation [rel="prev"], 655 .post-navigation [rel="next"] { 656 padding-left: 9.87001616%; 657 padding-right: 9.19765166%; 658 } 659 660 .comment-list, 661 .full-width .comment-list { 662 margin-right: 0; 815 .comment-author .avatar { 816 right: -55px; 817 left: auto; 818 } 819 820 .comment-author, 821 .comment-content, 822 .comment-list .reply, 823 .comment-metadata { 824 padding-right: 0; 825 padding-left: 0; 826 } 827 } 828 829 @media screen and (min-width: 1260px) { 830 .site-content blockquote.alignright { 831 margin-right: -18%; 663 832 margin-left: auto; 664 833 } 665 834 666 .comment-navigation {667 padding-right: 9.19765166%;668 padding-left: 0;669 }670 671 .image-navigation .previous-image,672 .image-navigation .next-image,673 .full-width .comment-navigation,674 .full-width .comments-title,675 .full-width .comment-respond,676 .full-width .comments-area article,677 .full-width .comment-list .trackback,678 .full-width .comment-list .pingback {679 padding-left: 5.882236%;680 padding-right: 5.882236%;681 }682 683 .site-content blockquote.alignright {684 margin-right: 0;685 margin-left: auto;686 }687 688 835 .site-content blockquote.alignleft { 689 margin-left: 0;836 margin-left: -18%; 690 837 margin-right: auto; 691 838 } 692 693 .site-footer { 694 padding-left: 0; 695 padding-right: 0; 696 } 697 698 .site-footer .widget-area { 699 float: right; 700 } 701 } 702 703 @media screen and (min-width: 1150px) { 704 .content-area .entry-header { 705 margin: -48px 12.5% 0 8.03571428%; 706 } 707 708 .content-area .entry-content, 709 .content-area .entry-summary { 710 margin: 0 12.5% 0 8.03571428%; 711 } 712 713 .content-area footer.entry-meta { 714 margin: 12px 12.5% 24px 8.03571428%; 715 } 716 717 .comments-title, 718 .no-comments, 719 .comment-respond, 720 .comments-area article, 721 .comment-list .trackback, 722 .comment-list .pingback, 723 .post-navigation [rel="prev"], 724 .post-navigation [rel="next"] { 725 padding-left: 12.44146986%; 726 padding-right: 16.77524429%; 727 } 728 729 .comment-respond { 730 padding-left: 13.73697916%; 731 } 732 733 .comment-list, 734 .full-width .comment-list { 735 margin-right: -70px; 736 margin-left: auto; 737 } 738 739 .comment-navigation { 740 padding-right: 16.77524429%; 741 padding-left: 0; 742 } 743 744 .archive-header, 745 .page-header { 746 margin: 0 12.5% 24px 8.03571428%; 747 } 748 749 .page .content-area .entry-header, 750 .error404 .content-area .entry-header { 751 margin: 0 12.5% 0 8.03571428%; 752 } 753 754 .image-navigation .previous-image, 755 .image-navigation .next-image, 756 .full-width .comment-navigation, 757 .full-width .comments-title, 758 .full-width .comment-respond, 759 .full-width .comments-area article, 760 .full-width .comment-list .trackback, 761 .full-width .comment-list .pingback { 762 padding-left: 11.21868265%; 763 padding-right: 11.21868265%; 764 } 765 766 .content-area .entry-content .wp-caption.alignright .wp-caption-text { 767 padding-right: 10px; 768 padding-left: 0; 769 } 770 771 .site-content blockquote.alignright { 772 margin-right: -20%; 773 margin-left: auto; 774 } 775 776 .site-content blockquote.alignleft { 777 margin-left: -20%; 778 margin-right: auto; 779 } 780 } 781 782 @media screen and (min-width: 1230px) { 783 .content-sidebar, 784 .ephemera { 785 padding-left: 0; 786 } 787 788 .content-area .full-width .entry-header, 789 .content-area .full-width .entry-content, 790 .content-area .full-width footer.entry-meta { 791 margin: 0 11.21868265% 0 0; 792 } 793 794 .image-navigation .previous-image, 795 .image-navigation .next-image, 796 .full-width .comment-navigation, 797 .full-width .comments-title, 798 .full-width .comment-respond, 799 .full-width .comments-area article, 800 .full-width .comment-list .trackback, 801 .full-width .comment-list .pingback { 802 padding-left: 0; 803 } 804 } 839 } -
trunk/src/wp-content/themes/twentyfourteen/style.css
r25998 r25999 24 24 * 6.0 - Content 25 25 * 6.1 - Post Thumbnail 26 * 6. 1- Entry Header27 * 6. 2- Entry Meta28 * 6. 3- Entry Content29 * 6. 4- Galleries30 * 6. 5- Post Formats31 * 6. 6- Post/Paging Navigation32 * 6. 7- Attachments33 * 6. 8- Archives34 * 6. 9- Contributor Page35 * 6.1 0- 404 Page36 * 6.1 1- Full-width37 * 6.1 2- Singular38 * 6.1 3- Comments26 * 6.2 - Entry Header 27 * 6.3 - Entry Meta 28 * 6.4 - Entry Content 29 * 6.5 - Galleries 30 * 6.6 - Post Formats 31 * 6.7 - Post/Paging Navigation 32 * 6.8 - Attachments 33 * 6.9 - Archives 34 * 6.10 - Contributor Page 35 * 6.11 - 404 Page 36 * 6.12 - Full-width 37 * 6.13 - Singular 38 * 6.14 - Comments 39 39 * 7.0 - Sidebar 40 40 * 7.1 - Widgets … … 762 762 .comment-reply-link:before, 763 763 .comment-reply-login:before, 764 .comment-reply-title small a:before, 764 765 .contributor-posts-link:before, 765 766 .menu-toggle:before, … … 1018 1019 height: auto; 1019 1020 margin: 0; 1020 min-height: 216px;1021 min-height: 192px; 1021 1022 position: relative; 1022 1023 width: 100%; … … 1161 1162 } 1162 1163 1163 . tag-links a:hover,1164 . tag-links a:focus {1164 .entry-meta .tag-links a:hover, 1165 .entry-meta .tag-links a:focus { 1165 1166 background-color: #2b2b2b; 1166 1167 color: #fff; … … 1198 1199 1199 1200 /** 1200 * 6. 3Entry Content1201 * 6.4 Entry Content 1201 1202 * ----------------------------------------------------------------------------- 1202 1203 */ … … 1267 1268 color: #767676; 1268 1269 text-decoration: none; 1270 } 1271 1272 .entry-content .edit-link a:hover { 1273 color: #55d737; 1269 1274 } 1270 1275 … … 1372 1377 1373 1378 /** 1374 * 6. 4Gallery1379 * 6.5 Gallery 1375 1380 * ----------------------------------------------------------------------------- 1376 1381 */ … … 1500 1505 1501 1506 /** 1502 * 6. 5Post Formats1507 * 6.6 Post Formats 1503 1508 * ----------------------------------------------------------------------------- 1504 1509 */ … … 1521 1526 1522 1527 /** 1523 * 6. 6Post/Image/Paging Navigation1528 * 6.7 Post/Image/Paging Navigation 1524 1529 * ----------------------------------------------------------------------------- 1525 1530 */ … … 1607 1612 1608 1613 /** 1609 * 6. 7Attachments1614 * 6.8 Attachments 1610 1615 * ----------------------------------------------------------------------------- 1611 1616 */ … … 1629 1634 1630 1635 /** 1631 * 6. 8Archives1636 * 6.9 Archives 1632 1637 * ----------------------------------------------------------------------------- 1633 1638 */ … … 1656 1661 1657 1662 /** 1658 * 6. 9Contributor Page1663 * 6.10 Contributor Page 1659 1664 * ----------------------------------------------------------------------------- 1660 1665 */ … … 1712 1717 1713 1718 /** 1714 * 6.1 0404 Page1719 * 6.11 404 Page 1715 1720 * ----------------------------------------------------------------------------- 1716 1721 */ … … 1726 1731 1727 1732 /** 1728 * 6.1 1Full-width1733 * 6.12 Full-width 1729 1734 * ----------------------------------------------------------------------------- 1730 1735 */ … … 1736 1741 1737 1742 /** 1738 * 6.1 2Singular1743 * 6.13 Singular 1739 1744 * ----------------------------------------------------------------------------- 1740 1745 */ … … 1751 1756 1752 1757 /** 1753 * 6.1 3Comments1758 * 6.14 Comments 1754 1759 * ----------------------------------------------------------------------------- 1755 1760 */ … … 1897 1902 1898 1903 .comment .comment-respond { 1899 margin- left: 36px;1904 margin-top: 24px; 1900 1905 } 1901 1906 … … 1928 1933 font-size: 12px; 1929 1934 line-height: 1.5; 1935 } 1936 1937 .comment-reply-title small a { 1938 color: #2b2b2b; 1939 float: right; 1940 height: 24px; 1941 overflow: hidden; 1942 width: 24px; 1943 } 1944 1945 .comment-reply-title small a:hover { 1946 color: #55d737; 1947 } 1948 1949 .comment-reply-title small a:before { 1950 content: "\f405"; 1951 font-size: 32px; 1952 margin-top: -2px; 1930 1953 } 1931 1954 … … 2170 2193 .widget input[type="reset"], 2171 2194 .widget input[type="submit"] { 2195 background-color: #24890d; 2196 font-size: 12px; 2172 2197 padding: 5px 15px 4px; 2173 2198 } … … 2326 2351 .widget_recent_comments li:first-child, 2327 2352 .widget_recent_entries li:first-child { 2328 border-top: none;2353 border-top: 0; 2329 2354 } 2330 2355 … … 2337 2362 .widget_recent_comments li li, 2338 2363 .widget_recent_entries li li { 2339 border-top: none;2364 border-top: 0; 2340 2365 padding-bottom: 0; 2341 2366 } … … 2454 2479 } 2455 2480 2456 .content-sidebar .widget -title a,2457 .content-sidebar .widget -title a:hover,2458 .content-sidebar .widget -title a:focus,2459 .content-sidebar .widget -title a:active {2481 .content-sidebar .widget .widget-title a, 2482 .content-sidebar .widget .widget-title a:hover, 2483 .content-sidebar .widget .widget-title a:focus, 2484 .content-sidebar .widget .widget-title a:active { 2460 2485 color: #2b2b2b; 2461 2486 } … … 2933 2958 .site-content .featured-post:before { 2934 2959 content: "\f308"; 2935 margin: -1px3px 0 0;2960 margin: 0 3px 0 0; 2936 2961 } 2937 2962 2938 2963 .site-content .entry-date a:before, 2939 .attachment span.entry-date:before {2964 .attachment .site-content span.entry-date:before { 2940 2965 content: "\f303"; 2941 2966 margin: 0 1px 0 0; … … 2958 2983 } 2959 2984 2985 .entry-content .edit-link a:before { 2986 margin: 5px 2px 0 0; 2987 } 2988 2960 2989 .site-content .full-size-link a:before { 2961 2990 content: "\f402"; … … 2966 2995 content: "\f301"; 2967 2996 margin: -1px 2px 0 0; 2968 }2969 2970 .entry-content .edit-link a:before {2971 margin: 1px 2px 0 0;2972 2997 } 2973 2998 … … 3057 3082 } 3058 3083 3084 .full-width .site-content .format-standard.post-password-required .entry-header { 3085 margin-top: 0 3086 } 3087 3059 3088 .full-width.singular .hentry.format-standard, 3060 3089 .full-width.singular .hentry.has-post-thumbnail { … … 3102 3131 3103 3132 .slider .featured-content .entry-header { 3104 bottom: 0;3105 3133 min-height: inherit; 3106 3134 padding: 24px 30px 48px; 3107 3135 position: absolute; 3136 left: 0; 3137 bottom: 0; 3108 3138 width: 50%; 3109 3139 z-index: 3; … … 3252 3282 } 3253 3283 3254 .primary-navigation li:hover > a { 3284 .primary-navigation li:hover > a, 3285 .primary-navigation li.focus > a { 3255 3286 background-color: #24890d; 3256 3287 color: #fff; … … 3258 3289 } 3259 3290 3260 .primary-navigation ul ul a:hover { 3291 .primary-navigation ul ul a:hover, 3292 .primary-navigation ul ul li.focus > a { 3261 3293 background-color: #41a62a; 3262 3294 } … … 3271 3303 left: 100%; 3272 3304 } 3273 3274 3275 3305 } 3276 3306 … … 3350 3380 .comment-list .reply, 3351 3381 .comment-metadata { 3352 padding-left: 5 4px;3382 padding-left: 55px; 3353 3383 } 3354 3384 3355 3385 .comment-list .children { 3356 margin-left: 37px; 3357 } 3358 3359 .comment .comment-respond { 3360 margin-left: 60px; 3386 margin-left: 35px; 3361 3387 } 3362 3388 … … 3385 3411 3386 3412 .site-content { 3387 margin: 0 29.04761904% 0 182px; 3413 margin-right: 29.04761904%; 3414 margin-left: 182px; 3388 3415 } 3389 3416 … … 3439 3466 } 3440 3467 3441 .secondary-navigation li {3442 position: relative;3443 }3444 3445 3468 .secondary-navigation li { 3446 3469 border-top: 1px solid rgba(255, 255, 255, 0.2); 3447 } 3448 3449 .secondary-navigation li li { 3450 border-top: none; 3470 position: relative; 3451 3471 } 3452 3472 … … 3455 3475 } 3456 3476 3457 .secondary-navigation li:hover > a { 3477 .secondary-navigation ul ul { 3478 background-color: #24890d; 3479 position: absolute; 3480 top: 0; 3481 left: -999em; 3482 width: 182px; 3483 z-index: 99999; 3484 } 3485 3486 .secondary-navigation li li { 3487 border-top: 0; 3488 } 3489 3490 .secondary-navigation li:hover > a, 3491 .secondary-navigation li.focus > a { 3458 3492 background-color: #24890d; 3459 3493 color: #fff; 3460 3494 } 3461 3495 3462 .secondary-navigation ul ul { 3463 background-color: #24890d; 3464 display: none; 3465 position: absolute; 3466 top: 0; 3496 .secondary-navigation ul ul a:hover, 3497 .secondary-navigation ul ul li.focus > a { 3498 background-color: #41a62a; 3499 } 3500 3501 .secondary-navigation ul li:hover > ul, 3502 .secondary-navigation ul li.focus > ul { 3467 3503 left: 162px; 3468 width: 182px;3469 z-index: 9999;3470 }3471 3472 .secondary-navigation ul ul a:hover {3473 background-color: #41a62a;3474 }3475 3476 .secondary-navigation ul li:hover > ul {3477 display: block;3478 3504 } 3479 3505 … … 3597 3623 .primary-sidebar .widget_recent_comments li, 3598 3624 .primary-sidebar .widget_recent_entries li { 3599 border-top: none;3625 border-top: 0; 3600 3626 padding: 0; 3601 3627 } … … 3693 3719 } 3694 3720 3695 .secondary-navigation ul ul { 3721 .secondary-navigation ul li:hover > ul, 3722 .secondary-navigation ul li.focus > ul { 3696 3723 left: 202px; 3697 3724 } … … 3755 3782 } 3756 3783 3784 .comment-author .avatar { 3785 left: -55px; 3786 } 3787 3788 .comment-author, 3789 .comment-content, 3790 .comment-list .reply, 3791 .comment-metadata { 3792 padding-left: 0; 3793 } 3794 3757 3795 .full-width .archive-header, 3758 3796 .full-width .comments-area,
Note: See TracChangeset
for help on using the changeset viewer.