Make WordPress Core

Ticket #55948: 55948.diff

File 55948.diff, 3.8 KB (added by nithi22, 2 years ago)

Fix unable to change color or size for citation

  • src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

    diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css
    index 041c0524d8..5aade7cc90 100644
    a b hr.wp-block-separator.is-style-dots::before { 
    652652.editor-styles-wrapper .wp-block-quote__citation,
    653653.editor-styles-wrapper .wp-block-quote cite,
    654654.editor-styles-wrapper .wp-block-quote footer {
    655         color: #6d6d6d;
    656         font-size: 14px;
     655        font-size: 0.43em;
    657656        font-weight: 600;
    658657        line-height: 1.25;
    659658}
  • src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

    diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css
    index 270035ce70..b32f8d3b2b 100644
    a b hr.wp-block-separator.is-style-dots::before { 
    652652.editor-styles-wrapper .wp-block-quote__citation,
    653653.editor-styles-wrapper .wp-block-quote cite,
    654654.editor-styles-wrapper .wp-block-quote footer {
    655         color: #6d6d6d;
    656         font-size: 14px;
     655        font-size: 0.43em;
    657656        font-weight: 600;
    658657        line-height: 1.25;
    659658}
  • src/wp-content/themes/twentytwenty/functions.php

    diff --git a/src/wp-content/themes/twentytwenty/functions.php b/src/wp-content/themes/twentytwenty/functions.php
    index c8944e03c1..f7d1817f76 100644
    a b function twentytwenty_get_elements_array() { 
    741741                                'background-color' => array( ':root .has-primary-background-color' ),
    742742                        ),
    743743                        'secondary'  => array(
    744                                 'color'            => array( 'cite', 'figcaption', '.wp-caption-text', '.post-meta', '.entry-content .wp-block-archives li', '.entry-content .wp-block-categories li', '.entry-content .wp-block-latest-posts li', '.wp-block-latest-comments__comment-date', '.wp-block-latest-posts__post-date', '.wp-block-embed figcaption', '.wp-block-image figcaption', '.wp-block-pullquote cite', '.comment-metadata', '.comment-respond .comment-notes', '.comment-respond .logged-in-as', '.pagination .dots', '.entry-content hr:not(.has-background)', 'hr.styled-separator', ':root .has-secondary-color' ),
     744                                'color'            => array( 'figcaption', '.wp-caption-text', '.post-meta', '.entry-content .wp-block-archives li', '.entry-content .wp-block-categories li', '.entry-content .wp-block-latest-posts li', '.wp-block-latest-comments__comment-date', '.wp-block-latest-posts__post-date', '.wp-block-embed figcaption', '.wp-block-image figcaption', '.wp-block-pullquote cite', '.comment-metadata', '.comment-respond .comment-notes', '.comment-respond .logged-in-as', '.pagination .dots', '.entry-content hr:not(.has-background)', 'hr.styled-separator', ':root .has-secondary-color' ),
    745745                                'background-color' => array( ':root .has-secondary-background-color' ),
    746746                        ),
    747747                        'borders'    => array(
  • src/wp-content/themes/twentytwenty/style-rtl.css

    diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css
    index f31c5bfdd5..b0b4103807 100644
    a b blockquote { 
    549549}
    550550
    551551cite {
    552         color: #6d6d6d;
    553         font-size: 1.4rem;
     552        font-size: 0.43em;
    554553        font-style: normal;
    555554        font-weight: 600;
    556555        line-height: 1.25;
  • src/wp-content/themes/twentytwenty/style.css

    diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css
    index a8f581e2ca..afb47b28da 100644
    a b blockquote { 
    553553}
    554554
    555555cite {
    556         color: #6d6d6d;
    557         font-size: 1.4rem;
     556        font-size: 0.43em;
    558557        font-style: normal;
    559558        font-weight: 600;
    560559        line-height: 1.25;