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
This commit is contained in:
Lance Willett 2012-08-20 22:11:36 +00:00
parent c6aca81768
commit 8091c3e0e1
1 changed files with 30 additions and 12 deletions

View File

@ -58,19 +58,10 @@ td {
/* =Basic structure /* =Basic structure
-------------------------------------------------------------- */ -------------------------------------------------------------- */
/* Navigation Menu */
.main-navigation li {
margin-left: 40px;
margin-left: 2.857142857rem;
margin-right: auto;
}
.main-navigation li ul ul { .main-navigation li ul ul {
right: 100%; margin-left: 0;
left: auto; margin-right: 40px;
} margin-right: 2.857142857rem;
.main-navigation ul li:hover > ul {
border-right: 0;
border-left: none;
} }
/* =Main Content /* =Main Content
@ -216,4 +207,31 @@ label ~ span.required {
float: right; float: right;
margin: 8px 0 8px 24px; 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;
}
} }