Make WordPress Core

Ticket #56006: 56006.1.patch

File 56006.1.patch, 1.7 KB (added by sabernhardt, 2 years ago)

inheriting colors, similar to r54381 with more selectors for citations, plus increasing specificity to remove border in editor

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

     
    187187        text-transform: none;
    188188}
    189189
     190.wp-block-pullquote.has-text-color blockquote,
     191.wp-block-pullquote.has-background blockquote,
     192.has-background .wp-block-pullquote blockquote,
     193.wp-block-pullquote.has-text-color cite,
     194.has-background .wp-block-pullquote cite,
     195.has-text-color .wp-block-pullquote__citation {
     196        color: inherit;
     197}
     198
    190199.wp-block-pullquote.alignleft {
    191200        margin-right: 1em;
    192201}
  • src/wp-content/themes/twentyfourteen/css/editor-blocks.css

     
    364364/* Pullquote */
    365365
    366366.wp-block-pullquote {
    367         border: 0;
    368367        margin: 0;
    369368}
    370369
     370.editor-styles-wrapper .wp-block-pullquote {
     371        border: 0;
     372}
     373
    371374.wp-block-pullquote .wp-block-pullquote__citation {
    372375        color: #2b2b2b;
    373376        font-size: 16px;
     
    376379        text-transform: none;
    377380}
    378381
     382.wp-block-pullquote.has-text-color blockquote,
     383.wp-block-pullquote.has-background blockquote,
     384.has-background .wp-block-pullquote blockquote,
     385.wp-block-pullquote.has-text-color cite,
     386.has-background .wp-block-pullquote cite,
     387.has-text-color .wp-block-pullquote__citation {
     388        color: inherit;
     389}
     390
    379391.wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
    380392.wp-block-pullquote.alignright blockquote > .editor-rich-text p {
    381393        font-size: 20px;