Make WordPress Core

Ticket #58355: 58355.3.diff

File 58355.3.diff, 2.0 KB (added by sabernhardt, 4 weeks ago)

includes RTL font selection in editor-blocks.css (plus changes from 58355.2.diff)

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

     
    2727        line-height: 1.75;
    2828}
    2929
     30
     31
     32
     33
    3034.edit-post-visual-editor .editor-block-list__block {
    3135        color: #1a1a1a;
    3236}
     
    262266
    263267/* Captions */
    264268
    265 [class^="wp-block-"] figcaption {
     269 figcaption {
    266270        color: #686868;
    267271        font-style: italic;
    268272        line-height: 1.6153846154;
    269273        padding-top: 0.5384615385em;
    270         text-align: left;
     274        text-align: t;
    271275}
    272276
    273 .rtl [class^="wp-block-"] figcaption {
    274         text-align: right;
    275 }
    276 
    277277/*--------------------------------------------------------------
    2782783.0 Blocks - Common Blocks
    279279--------------------------------------------------------------*/
  • 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: t;
    320319        vertical-align: baseline;
    321320}
    322321
     322
     323
     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
    329332}
    330333
    331334img {
     
    502505 * 8.0 - RTL
    503506 */
    504507
     508
     509
     510
     511
     512
    505513.rtl blockquote {
    506514        border: 0 solid #1a1a1a;
    507515        border-right-width: 4px;
     
    533541        margin-right: 24px;
    534542        margin-left: auto;
    535543}
    536 
    537 .rtl table th,
    538 .rtl .mce-item-table th,
    539 .rtl table caption {
    540         text-align: right;
    541 }