Make WordPress Core

Ticket #59801: 59801.re-establish-color.patch

File 59801.re-establish-color.patch, 1.8 KB (added by sabernhardt, 18 months ago)

assigns lighter gray to .wp-block-pullquote, inherits special Text color for quotes, adjusts citation text color when block has a special Background color

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

     
    320320/* Pullquote */
    321321
    322322.wp-block-pullquote {
    323         border: 0;
     323        border: 0 solid;
     324        color: #707070;
     325        color: rgba(51, 51, 51, 0.7);
    324326}
    325327
    326328.wp-block-pullquote blockquote {
     
    331333        padding-right: 0;
    332334}
    333335
     336.wp-block-pullquote.has-text-color blockquote {
     337        color: inherit;
     338}
     339
    334340.wp-block-pullquote cite {
    335341        color: #333;
    336342        font-family: "Noto Sans", sans-serif;
     
    340346        text-transform: none;
    341347}
    342348
    343 .wp-block-pullquote[class*="-text-color"] blockquote cite,
    344 .wp-block-pullquote[style*="color"] blockquote cite {
     349.wp-block-pullquote.has-background cite {
    345350        color: inherit;
    346351}
    347352
  • src/wp-content/themes/twentyfifteen/css/editor-blocks.css

     
    675675/* Pullquote */
    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: #707070;
     681        color: rgba(51, 51, 51, 0.7);
    680682        margin: 0;
    681683        padding-left: 0;
    682684}
    683685
     686.wp-block-pullquote.has-text-color blockquote {
     687        color: inherit;
     688}
     689
    684690.wp-block-pullquote .wp-block-pullquote__citation {
    685691        color: #333;
    686692        font-family: "Noto Sans", sans-serif;
     
    690696        text-transform: none;
    691697}
    692698
    693 .wp-block-pullquote[class*="-text-color"] blockquote cite,
    694 .wp-block-pullquote[style*="color"] blockquote cite {
     699.wp-block-pullquote.has-background cite {
    695700        color: inherit;
    696701}
    697702