Make WordPress Core

Ticket #61034: 61034.add-appearance.diff

File 61034.add-appearance.diff, 2.3 KB (added by sabernhardt, 9 months ago)

option to support typography Appearance selections in addition to font size

  • src/wp-content/themes/twentyfourteen/css/blocks.css

     
    184184        margin: 0;
    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;
    189201        font-size: 16px;
  • src/wp-content/themes/twentyfourteen/css/editor-blocks.css

     
    371371        border: 0;
    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;
    376389        font-size: 16px;
  • src/wp-content/themes/twentyfourteen/css/editor-style.css

     
    175175
    176176blockquote {
    177177        color: #767676;
    178         font-size: inherit;
     178        font-size: 19px;
    179179        font-style: italic;
    180180        font-weight: 300;
    181181        line-height: 1.2631578947;
  • src/wp-content/themes/twentyfourteen/style.css

     
    256256
    257257blockquote {
    258258        color: #767676;
    259         font-size: inherit;
     259        font-size: 19px;
    260260        font-style: italic;
    261261        font-weight: 300;
    262262        line-height: 1.2631578947;