Ticket #21441: 21441.1.diff
File 21441.1.diff, 3.1 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentytwelve/rtl.css
8 8 http://codex.wordpress.org/Right_to_Left_Language_Support 9 9 */ 10 10 11 body { 12 direction: rtl; 13 unicode-bidi: embed; 14 } 11 15 caption, 12 16 th, 13 17 td { … … 19 23 20 24 /* Images */ 21 25 .alignright { 22 float: right;26 float: left; 23 27 } 24 28 .alignleft { 25 float: left;29 float: right; 26 30 } 27 31 .site-content .gallery-columns-4 .gallery-item { 28 32 padding-left: 2%; … … 79 83 -------------------------------------------------------------- */ 80 84 81 85 img.alignright { 86 float: left; 87 margin: 12px 24px 12px 0; 88 margin: 0.857142857rem 1.714285714rem 0.857142857rem 0; 89 } 90 img.alignleft { 82 91 float: right; 83 margin: 0 0 0 24px; 92 margin: 12px 0 12px 24px; 93 margin: 0.857142857rem 0 0.857142857rem 1.714285714rem; 84 94 } 95 .comment-content li, 85 96 .entry-content li { 86 97 margin: 0 24px 0 0; 87 } 88 img.alignright { 89 margin: 12px 0 12px 24px; 90 } 91 img.alignleft { 92 margin: 12px 24px 12px 0; 98 margin: 0 1.714285714rem 0 0; 93 99 } 100 .comment-content td, 94 101 .entry-content td { 95 102 padding: 6px 0 6px 10px; 96 103 } … … 135 142 margin-right: 0.357142857rem; 136 143 margin-left: auto; 137 144 } 145 .commentlist .children { 146 margin-right: 48px; 147 margin-right: 3.428571429rem; 148 } 138 149 139 150 /* Comment form */ 140 151 #respond h3#reply-title #cancel-comment-reply-link { … … 145 156 label ~ span.required { 146 157 float: right; 147 158 margin: -18px -16px 0 0; 159 margin: -1.285714286rem -1.142857143rem 0 0; 148 160 } 149 161 150 162 … … 154 166 .page-template-homepage-php .widget-area .widget_text img { 155 167 float: right; 156 168 margin: 8px 0 8px 24px; 169 margin: 0.571428571rem 0 0.571428571rem 1.714285714rem; 157 170 } 158 171 159 172 … … 187 200 188 201 /* Minimum width of 600 pixels. */ 189 202 @media screen and (min-width: 600px) { 203 .site-content { 204 float: right; 205 } 206 .widget-area { 207 float: left; 208 } 209 .site-header h1, 210 .site-header h2 { 211 text-align: right; 212 } 213 .page-template-homepage-php.has-post-thumbnail article { 214 float: right; 215 } 216 .entry-page-image { 217 float: left; 218 } 190 219 .page-template-homepage-php .widget-area .widget_text img { 191 220 float: right; 192 221 margin: 8px 0 8px 24px; -
wp-content/themes/twentytwelve/editor-style-rtl.css
1 /** 2 * Theme Name: Twenty Twelve 3 * 4 * Used to style the TinyMCE editor for RTL languages. 5 */ 6 7 html .mceContentBody { 8 direction: rtl; 9 unicode-bidi: embed; 10 float: right; 11 } 12 13 li { 14 margin: 0 24px 0 0; 15 margin: 0 1.714285714rem 0 0; 16 } 17 18 td { 19 text-align: right; 20 } 21 22 .wp-caption-dd { 23 padding-right: 10px; 24 text-align: right; 25 } 26 27 .alignleft { 28 float: right; 29 margin: 12px 0 12px 24px; 30 margin: 0.857142857rem 0 0.857142857rem 1.714285714rem; 31 } 32 33 .alignright { 34 float: left; 35 margin: 12px 24px 12px 0; 36 margin: 0.857142857rem 1.714285714rem 0.857142857rem 0; 37 } 38 No newline at end of file