Ticket #27502: 27502.3.diff
File 27502.3.diff, 4.5 KB (added by , 10 years ago) |
---|
-
src/wp-content/themes/twentyfourteen/css/editor-style.css
389 389 text-align: left; 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; 398 406 } 399 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; 420 } 421 400 422 .wp-caption.aligncenter { 401 423 margin: 7px 0; 402 424 } -
src/wp-content/themes/twentyfourteen/functions.php
89 89 * to output valid HTML5. 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 95 95 /* -
src/wp-content/themes/twentyfourteen/style.css
636 636 } 637 637 638 638 blockquote.alignleft, 639 figure.wp-caption.alignleft, 639 640 img.alignleft { 640 641 margin: 7px 24px 7px 0; 641 642 } … … 645 646 } 646 647 647 648 blockquote.alignright, 649 figure.wp-caption.alignright, 648 650 img.alignright { 649 651 margin: 7px 0 7px 24px; 650 652 } … … 694 696 font-style: italic; 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; 698 703 } 699 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; 709 } 710 700 711 .wp-smiley { 701 712 border: 0; 702 713 margin-bottom: 0; -
src/wp-content/themes/twentythirteen/css/editor-style.css
344 344 text-align: left; 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; 353 361 } 354 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; 375 } 376 355 377 .wp-caption-dt { 356 378 margin: 0; 357 379 } -
src/wp-content/themes/twentythirteen/functions.php
81 81 * Switches default core markup for search form, comment form, 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 /* 87 89 * This theme supports all available post formats by default. -
src/wp-content/themes/twentythirteen/style.css
709 709 margin-right: auto; 710 710 } 711 711 712 figure.wp-caption.alignleft, 712 713 img.alignleft { 713 714 margin: 5px 20px 5px 0; 714 715 } … … 717 718 margin: 5px 10px 5px 0; 718 719 } 719 720 721 figure.wp-caption.alignright, 720 722 img.alignright { 721 723 margin: 5px 0 5px 20px; 722 724 } … … 740 742 font-size: 18px; 741 743 font-style: italic; 742 744 font-weight: 300; 745 margin: 0 0 24px; 743 746 } 744 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; 754 } 755 745 756 img.wp-smiley, 746 757 .rsswidget img { 747 758 border: 0;