diff --git a/wp-content/themes/twentythirteen/css/editor-style-rtl.css b/wp-content/themes/twentythirteen/css/editor-style-rtl.css deleted file mode 100644 index 4ac4cd6788..0000000000 --- a/wp-content/themes/twentythirteen/css/editor-style-rtl.css +++ /dev/null @@ -1,7 +0,0 @@ -/* -Theme Name: Twenty Thirteen -Description: Used to style the TinyMCE editor for RTL languages. -See also rtl.css file. -*/ - -/* TODO */ \ No newline at end of file diff --git a/wp-content/themes/twentythirteen/css/editor-style.css b/wp-content/themes/twentythirteen/css/editor-style.css index 21f6d07448..96fcb1614a 100644 --- a/wp-content/themes/twentythirteen/css/editor-style.css +++ b/wp-content/themes/twentythirteen/css/editor-style.css @@ -3,6 +3,28 @@ Theme Name: Twenty Thirteen Description: Used to style the TinyMCE editor. */ + +/** + * Table of Contents: + * + * 1.0 - Body + * 2.0 - Headings + * 3.0 - Text Elements + * 4.0 - Links + * 5.0 - Alignment + * 6.0 - Tables + * 7.0 - Images + * 8.0 - Post Formats + * 9.0 - RTL + * ---------------------------------------------------------------------------- + */ + + +/** + * 1.0 Body + * ---------------------------------------------------------------------------- + */ + html .mceContentBody { font-size: 100%; max-width: 604px; @@ -18,7 +40,7 @@ body { /** - * Headings + * 2.0 Headings * ---------------------------------------------------------------------------- */ @@ -73,7 +95,7 @@ hr { /** - * Text elements + * 3.0 Text Elements * ---------------------------------------------------------------------------- */ @@ -210,7 +232,7 @@ sub { /** - * Links + * 4.0 Links * ---------------------------------------------------------------------------- */ @@ -239,7 +261,7 @@ a:hover { /** - * Alignment + * 5.0 Alignment * ---------------------------------------------------------------------------- */ @@ -264,7 +286,7 @@ img.alignnone { /** - * Tables + * 6.0 Tables * ---------------------------------------------------------------------------- */ @@ -302,7 +324,7 @@ td { /** - * Images + * 7.0 Images * ---------------------------------------------------------------------------- */ @@ -344,7 +366,7 @@ img { } /** - * Post Formats + * 8.0 Post Formats * ---------------------------------------------------------------------------- */ @@ -488,4 +510,30 @@ img { .post-format-video a { color: #fbfaf3; +} + + +/** + * 9.0 RTL + * ---------------------------------------------------------------------------- + */ + +html .mceContentBody.rtl { + direction: rtl; + unicode-bidi: embed; +} + +.rtl ol, +.rtl ul { + padding: 0 40px 0 0; +} + +.rtl .wp-caption, +.rtl tr th { + text-align: right; +} + +.rtl td { + padding: 6px 0 6px 10px; + text-align: right; } \ No newline at end of file diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index 5fe0617301..81481f8602 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -20,7 +20,7 @@ Use it to make something cool, have fun, and share what you've learned with othe * * 1.0 - Reset * 2.0 - Repeatable Patterns - * 3.0 - Site Structure + * 3.0 - Basic Structure * 4.0 - Header * 4.1 - Site Header * 4.2 - Navigation @@ -453,7 +453,7 @@ hr { /** - * 2.0 Repeatable patterns + * 2.0 Repeatable Patterns * ---------------------------------------------------------------------------- */