Make WordPress Core

Ticket #58355: 58355.2.diff

File 58355.2.diff, 1.8 KB (added by sabernhardt, 17 months ago)

removes redundant font size rules for table elements, corrects font-weight for table caption elements, updates figcaption selector, edits text alignment, and adds RTL font

  • src/wp-content/themes/twentysixteen/css/editor-blocks.css

     
    262262
    263263/* Captions */
    264264
    265 [class^="wp-block-"] figcaption {
     265figure[class*="wp-block-"] > figcaption {
    266266        color: #686868;
    267267        font-style: italic;
    268268        line-height: 1.6153846154;
    269269        padding-top: 0.5384615385em;
    270         text-align: left;
     270        text-align: start;
    271271}
    272272
    273 .rtl [class^="wp-block-"] figcaption {
    274         text-align: right;
    275 }
    276 
    277273/*--------------------------------------------------------------
    2782743.0 Blocks - Common Blocks
    279275--------------------------------------------------------------*/
  • src/wp-content/themes/twentysixteen/css/editor-style.css

     
    313313.mce-item-table th,
    314314table caption {
    315315        border-width: 0 1px 1px 0;
    316         font-size: 16px;
    317316        font-weight: 700;
    318317        padding: 7px;
    319         text-align: left;
     318        text-align: start;
    320319        vertical-align: baseline;
    321320}
    322321
     322table caption {
     323        font-weight: normal;
     324}
     325
    323326table td,
    324327.mce-item-table td {
    325328        border-width: 0 1px 1px 0;
    326         font-size: 16px;
    327329        padding: 7px;
    328330        vertical-align: baseline;
     331        text-align: start;
    329332}
    330333
    331334img {
     
    502505 * 8.0 - RTL
    503506 */
    504507
     508[dir="rtl"] body {
     509        font-family: Arial, Tahoma, sans-serif;
     510}
     511
    505512.rtl blockquote {
    506513        border: 0 solid #1a1a1a;
    507514        border-right-width: 4px;
     
    533540        margin-right: 24px;
    534541        margin-left: auto;
    535542}
    536 
    537 .rtl table th,
    538 .rtl .mce-item-table th,
    539 .rtl table caption {
    540         text-align: right;
    541 }