Make WordPress Core

Changeset 58724


Ignore:
Timestamp:
07/15/2024 04:56:28 PM (11 months ago)
Author:
karmatosed
Message:

Twenty Fifteen: Fixes pullquote issues with text color and border

Pullquote was not showing the color changes. This uses inherit to do that. It also removes the changes from [58368] as this method is preferred.

Props viralsampat, poena, sabernhardt.
Fixes #59801.

Location:
trunk/src/wp-content/themes/twentyfifteen/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/css/blocks.css

    r58371 r58724  
    321321
    322322.wp-block-pullquote {
    323     border: 0;
     323    border: 0 solid;
    324324}
    325325
    326326.wp-block-pullquote blockquote {
    327327    border: 0;
     328    color: inherit;
    328329    margin-left: 0;
    329330    margin-right: 0;
     
    333334
    334335.wp-block-pullquote cite {
    335     color: #333;
     336    color: inherit;
    336337    font-family: "Noto Sans", sans-serif;
    337338    font-size: 15px;
     
    339340    line-height: 1.6;
    340341    text-transform: none;
    341 }
    342 
    343 .wp-block-pullquote[class*="-text-color"] blockquote cite,
    344 .wp-block-pullquote[style*="color"] blockquote cite {
    345     color: inherit;
    346342}
    347343
  • trunk/src/wp-content/themes/twentyfifteen/css/editor-blocks.css

    r58370 r58724  
    676676
    677677.wp-block-pullquote,
    678 .editor-block-list__block .wp-block-pullquote blockquote {
    679     border: 0;
     678.editor-styles-wrapper .wp-block-pullquote blockquote {
     679    border: 0 solid;
     680    color: inherit;
    680681    margin: 0;
    681682    padding-left: 0;
     
    683684
    684685.wp-block-pullquote .wp-block-pullquote__citation {
    685     color: #333;
     686    color: inherit;
    686687    font-family: "Noto Sans", sans-serif;
    687688    font-size: 15px;
     
    689690    line-height: 1.6;
    690691    text-transform: none;
    691 }
    692 
    693 .wp-block-pullquote[class*="-text-color"] blockquote cite,
    694 .wp-block-pullquote[style*="color"] blockquote cite {
    695     color: inherit;
    696692}
    697693
Note: See TracChangeset for help on using the changeset viewer.