Make WordPress Core

Changeset 58053


Ignore:
Timestamp:
04/29/2024 12:15:42 PM (2 years ago)
Author:
karmatosed
Message:

Twenty Fourteen: Adds base font size to pullquote block.

The pullquote block needed the base font size adding back in. This also adds in support for appearance settings for weight and style in addition to the original ticket. This fixes a previous commit which changed the default font size of pullquote blocks, quote blocks and blockquotes.

Props sabernhardt.
Fixes #61034.

Location:
trunk/src/wp-content/themes/twentyfourteen
Files:
4 edited

Legend:

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

    r56116 r58053  
    185185}
    186186
     187:where(.wp-block-pullquote[class*="-font-size"], .wp-block-pullquote[style*="font-size"]) blockquote {
     188        font-size: inherit;
     189}
     190
     191:where(.wp-block-pullquote[style*="font-style"]) blockquote {
     192        font-style: inherit;
     193}
     194
     195:where(.wp-block-pullquote[style*="font-weight"]) blockquote {
     196        font-weight: inherit;
     197}
     198
    187199.wp-block-pullquote cite {
    188200        color: #2b2b2b;
  • trunk/src/wp-content/themes/twentyfourteen/css/editor-blocks.css

    r55997 r58053  
    372372}
    373373
     374.wp-block-pullquote[class*="-font-size"] blockquote,
     375.wp-block-pullquote[style*="font-size"] blockquote {
     376        font-size: inherit;
     377}
     378
     379.wp-block-pullquote[style*="font-style"] blockquote {
     380        font-style: inherit;
     381}
     382
     383.wp-block-pullquote[style*="font-weight"] blockquote {
     384        font-weight: inherit;
     385}
     386
    374387.wp-block-pullquote .wp-block-pullquote__citation {
    375388        color: #2b2b2b;
  • trunk/src/wp-content/themes/twentyfourteen/css/editor-style.css

    r57989 r58053  
    176176blockquote {
    177177        color: #767676;
    178         font-size: inherit;
     178        font-size: 19px;
    179179        font-style: italic;
    180180        font-weight: 300;
  • trunk/src/wp-content/themes/twentyfourteen/style.css

    r57989 r58053  
    257257blockquote {
    258258        color: #767676;
    259         font-size: inherit;
     259        font-size: 19px;
    260260        font-style: italic;
    261261        font-weight: 300;
Note: See TracChangeset for help on using the changeset viewer.