From 2d4822d1c3e2fc1eecf5df74b0a0eb988cea874c Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Sun, 5 Aug 2012 21:27:50 +0000 Subject: [PATCH] Twenty Twelve RTL: add editor-style-rtl stylesheet, props SergeyBiryukov and obenland. See #21441. git-svn-id: https://develop.svn.wordpress.org/trunk@21433 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentytwelve/editor-style-rtl.css | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 wp-content/themes/twentytwelve/editor-style-rtl.css diff --git a/wp-content/themes/twentytwelve/editor-style-rtl.css b/wp-content/themes/twentytwelve/editor-style-rtl.css new file mode 100644 index 0000000000..d637ad2962 --- /dev/null +++ b/wp-content/themes/twentytwelve/editor-style-rtl.css @@ -0,0 +1,23 @@ +/* +Theme Name: Twenty Twelve + +Used to style the TinyMCE editor for RTL languages. +See also rtl.css +*/ + +html .mceContentBody { + direction: rtl; + unicode-bidi: embed; + float: right; +} +li { + margin: 0 24px 0 0; + margin: 0 1.714285714rem 0 0; +} +td { + text-align: right; +} +.wp-caption-dd { + padding-right: 10px; + text-align: right; +} \ No newline at end of file