WordPress.org

Make WordPress Core

Ticket #21441: 21441.editor-style.diff

File 21441.editor-style.diff, 1013 bytes (added by yoavf, 3 years ago)

Removed the auto value form the body margin (it wasn't set in ltr), and fixed a few selectors and missing rules

  • wp-content/themes/twentytwelve/editor-style-rtl.css

     
    88html .mceContentBody { 
    99        direction: rtl; 
    1010        unicode-bidi: embed; 
    11         margin: 10px auto; 
    1211} 
     12 
     13/* =Headings 
     14-------------------------------------------------------------- */ 
     15 
    1316li { 
    1417        margin: 0 24px 0 0; 
    1518        margin: 0 1.714285714rem 0 0; 
    1619} 
     20dl { 
     21        margin: 0 24px; 
     22        margin: 0 1.714285714rem; 
     23} 
     24.mceContentBody blockquote { 
     25        font-style: italic !important; 
     26} 
     27 
     28/* =Tables 
     29-------------------------------------------------------------- */ 
     30 
     31tr th { 
     32        text-align: right; 
     33} 
    1734td { 
     35        padding: 6px 0 6px 10px; 
    1836        text-align: right; 
    1937} 
    20 .wp-caption-dd { 
    21         padding-right: 10px; 
     38 
     39 
     40/* =Images 
     41-------------------------------------------------------------- */ 
     42 
     43.wp-caption { 
    2244        text-align: right; 
    2345} 
     46 No newline at end of file