From 8091c3e0e1cc62d1035164cacc44c8aa111a8940 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Mon, 20 Aug 2012 22:11:36 +0000 Subject: [PATCH] Twenty Twelve: update RTL stylsheet based on recent layout changes, see #21441. git-svn-id: http://core.svn.wordpress.org/trunk@21565 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwelve/rtl.css | 42 ++++++++++++++++++-------- 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/wp-content/themes/twentytwelve/rtl.css b/wp-content/themes/twentytwelve/rtl.css index 283f3e2671..e9e38fa627 100644 --- a/wp-content/themes/twentytwelve/rtl.css +++ b/wp-content/themes/twentytwelve/rtl.css @@ -58,19 +58,10 @@ td { /* =Basic structure -------------------------------------------------------------- */ -/* Navigation Menu */ -.main-navigation li { - margin-left: 40px; - margin-left: 2.857142857rem; - margin-right: auto; -} .main-navigation li ul ul { - right: 100%; - left: auto; -} -.main-navigation ul li:hover > ul { - border-right: 0; - border-left: none; + margin-left: 0; + margin-right: 40px; + margin-right: 2.857142857rem; } /* =Main Content @@ -216,4 +207,31 @@ label ~ span.required { float: right; margin: 8px 0 8px 24px; } + .page-template-homepage-php .widget-area .widget, + .page-template-homepage-php .widget-area.two .home-widgets { + float: right; + } + .page-template-homepage-php .widget-area .widget:nth-child(odd) { + clear: left; + } + .page-template-homepage-php .widget-area .widget:nth-child(even), + .page-template-homepage-php .widget-area.two .home-widgets + .home-widgets { + float: left; + margin: 0 24px 0; + margin: 0 1.714285714rem 0; + } + .main-navigation li { + margin-left: 40px; + margin-left: 2.857142857rem; + margin-right: auto; + } + .main-navigation li ul ul { + margin-right: 0; + right: 100%; + left: auto; + } + .main-navigation ul li:hover > ul { + border-right: 0; + border-left: none; + } } \ No newline at end of file