Make WordPress Core

Ticket #56747: 56747.2.patch

File 56747.2.patch, 2.0 KB (added by sabernhardt, 2 years ago)

adding cite and i

  • src/wp-content/themes/twentyseventeen/assets/css/blocks.css

     
    3030        text-align: right;
    3131}
    3232
     33[class^="wp-block-"]:not(.wp-block-gallery) figcaption cite,
     34[class^="wp-block-"]:not(.wp-block-gallery) figcaption em,
     35[class^="wp-block-"]:not(.wp-block-gallery) figcaption i {
     36        font-style: normal;
     37}
     38
    3339/*--------------------------------------------------------------
    34402.0 Blocks - Common Blocks
    3541--------------------------------------------------------------*/
  • src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

     
    458458        margin-top: 0.5em;
    459459}
    460460
    461 /* Caption styles*/
     461/* Caption styles */
    462462
    463 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     463[class^="wp-block-"]:not(.wp-block-gallery) figcaption,
     464[class*=" wp-block-"]:not(.wp-block-gallery) figcaption {
    464465        font-style: italic;
    465466        margin-bottom: 1.5em;
    466467        text-align: left;
    467468}
    468469
    469 .rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     470.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption,
     471.rtl [class*=" wp-block-"]:not(.wp-block-gallery) figcaption {
    470472        text-align: right;
    471473}
    472474
     475[class^="wp-block-"]:not(.wp-block-gallery) figcaption cite,
     476[class*=" wp-block-"]:not(.wp-block-gallery) figcaption cite,
     477[class^="wp-block-"]:not(.wp-block-gallery) figcaption em,
     478[class*=" wp-block-"]:not(.wp-block-gallery) figcaption em,
     479[class^="wp-block-"]:not(.wp-block-gallery) figcaption i,
     480[class*=" wp-block-"]:not(.wp-block-gallery) figcaption i {
     481        font-style: normal;
     482}
     483
    473484/* Code styles */
    474485
    475486.wp-block-freeform.block-library-rich-text__tinymce code {