Make WordPress Core

Ticket #50376: 50376.2010-2011-2017.patch

File 50376.2010-2011-2017.patch, 4.6 KB (added by sabernhardt, 4 years ago)

making the same selector change for Twenty Ten and Twenty Eleven (including Twenty Seventeen)

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

     
    3030        font-size: 12px;
    3131}
    3232
    33 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     33[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    3434        color: #666;
    3535        margin-bottom: 1.625em;
    3636        max-width: 96%;
     
    4040        text-align: left;
    4141}
    4242
    43 [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
     43[class^="wp-block-"]:not(.wp-block-gallery) > figcaption:before {
    4444        color: #666;
    4545        content: '\2014';
    4646        font-size: 14px;
     
    5252        top: 0;
    5353}
    5454
    55 .rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     55.rtl [class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    5656        padding-left: 0;
    5757        padding-right: 40px;
    5858        text-align: right;
    5959}
    6060
    61 .rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
     61.rtl [class^="wp-block-"]:not(.wp-block-gallery) > figcaption:before {
    6262        left: 0;
    6363        margin-left: 5px;
    6464        margin-right: 0;
  • src/wp-content/themes/twentyeleven/editor-blocks.css

     
    162162        font-size: 12px;
    163163}
    164164
    165 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     165[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    166166        color: #666;
    167167        margin-bottom: 1.625em;
    168168        max-width: 96%;
     
    172172        text-align: left;
    173173}
    174174
    175 [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
     175[class^="wp-block-"]:not(.wp-block-gallery) > figcaption:before {
    176176        color: #666;
    177177        content: '\2014';
    178178        font-size: 14px;
     
    184184        top: 0;
    185185}
    186186
    187 .rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     187.rtl [class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    188188        padding-left: 0;
    189189        padding-right: 40px;
    190190        text-align: right;
    191191}
    192192
    193 .rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
     193.rtl [class^="wp-block-"]:not(.wp-block-gallery) > figcaption:before {
    194194        left: 0;
    195195        margin-left: 5px;
    196196        margin-right: 0;
  • src/wp-content/themes/twentyseventeen/assets/css/blocks.css

     
    2020
    2121/* Captions */
    2222
    23 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     23[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    2424        font-style: italic;
    2525        margin-bottom: 1.5em;
    2626        text-align: left;
    2727}
    2828
    29 .rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     29.rtl [class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    3030        text-align: right;
    3131}
    3232
  • src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

     
    459459
    460460/* Caption styles*/
    461461
    462 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     462[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    463463        font-style: italic;
    464464        margin-bottom: 1.5em;
    465465        text-align: left;
    466466}
    467467
    468 .rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     468.rtl [class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    469469        text-align: right;
    470470}
    471471
  • src/wp-content/themes/twentyten/blocks.css

     
    2020
    2121/* Captions */
    2222
    23 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     23[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    2424        color: #777;
    2525        font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    2626}
  • src/wp-content/themes/twentyten/editor-blocks.css

     
    142142
    143143/* Caption styles */
    144144
    145 [class^="wp-block-"] figcaption {
     145[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
    146146        color: #777;
    147147        font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    148148}