Changeset 27763
- Timestamp:
- 03/27/2014 12:05:22 AM (10 years ago)
- Location:
- trunk/src/wp-content/themes
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/css/editor-style.css
r27641 r27763 390 390 } 391 391 392 .html5-captions .wp-caption { 393 padding: 0; 394 } 395 392 396 .wp-caption.alignleft { 393 397 margin: 7px 14px 7px 0; 394 398 } 395 399 400 .html5-captions .wp-caption.alignleft { 401 margin-right: 24px; 402 } 403 396 404 .wp-caption.alignright { 397 405 margin: 7px 0 7px 14px; 406 } 407 408 .wp-caption.alignright img, 409 .wp-caption.alignright .wp-caption-dd { 410 padding-left: 10px; 411 } 412 413 .html5-captions .wp-caption.alignright { 414 margin-left: 24px; 415 } 416 417 .html5-captions .wp-caption.alignright img, 418 .html5-captions .wp-caption.alignright .wp-caption-dd { 419 padding: 0; 398 420 } 399 421 -
trunk/src/wp-content/themes/twentyfourteen/functions.php
r27627 r27763 90 90 */ 91 91 add_theme_support( 'html5', array( 92 'search-form', 'comment-form', 'comment-list', 92 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' 93 93 ) ); 94 94 -
trunk/src/wp-content/themes/twentyfourteen/style.css
r27637 r27763 637 637 638 638 blockquote.alignleft, 639 figure.wp-caption.alignleft, 639 640 img.alignleft { 640 641 margin: 7px 24px 7px 0; … … 646 647 647 648 blockquote.alignright, 649 figure.wp-caption.alignright, 648 650 img.alignright { 649 651 margin: 7px 0 7px 24px; … … 695 697 line-height: 1.5; 696 698 margin: 9px 0; 699 } 700 701 div.wp-caption .wp-caption-text { 697 702 padding-right: 10px; 703 } 704 705 div.wp-caption.alignright img[class*="wp-image-"], 706 div.wp-caption.alignright .wp-caption-text { 707 padding-left: 10px; 708 padding-right: 0; 698 709 } 699 710 -
trunk/src/wp-content/themes/twentythirteen/css/editor-style.css
r27638 r27763 345 345 } 346 346 347 .html5-captions .wp-caption { 348 padding: 0; 349 } 350 347 351 .wp-caption.alignleft { 348 352 margin: 5px 10px 5px 0; 349 353 } 350 354 355 .html5-captions .wp-caption.alignleft { 356 margin-right: 20px; 357 } 358 351 359 .wp-caption.alignright { 352 360 margin: 5px 0 5px 10px; 361 } 362 363 .wp-caption.alignright img, 364 .wp-caption.alignright .wp-caption-dd { 365 padding-left: 10px; 366 } 367 368 .html5-captions .wp-caption.alignright { 369 margin-left: 20px; 370 } 371 372 .html5-captions .wp-caption.alignright img, 373 .html5-captions .wp-caption.alignright .wp-caption-dd { 374 padding: 0; 353 375 } 354 376 -
trunk/src/wp-content/themes/twentythirteen/functions.php
r27607 r27763 82 82 * and comments to output valid HTML5. 83 83 */ 84 add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) ); 84 add_theme_support( 'html5', array( 85 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' 86 ) ); 85 87 86 88 /* -
trunk/src/wp-content/themes/twentythirteen/style.css
r27622 r27763 710 710 } 711 711 712 figure.wp-caption.alignleft, 712 713 img.alignleft { 713 714 margin: 5px 20px 5px 0; … … 718 719 } 719 720 721 figure.wp-caption.alignright, 720 722 img.alignright { 721 723 margin: 5px 0 5px 20px; … … 741 743 font-style: italic; 742 744 font-weight: 300; 745 margin: 0 0 24px; 746 } 747 748 div.wp-caption.alignright img[class*="wp-image-"] { 749 float: right; 750 } 751 752 div.wp-caption.alignright .wp-caption-text { 753 padding-left: 10px; 743 754 } 744 755
Note: See TracChangeset
for help on using the changeset viewer.