Twenty Twelve: fix widget stacking problem in older IE browsers for Front Page template.

Merges [30868] to the 4.1 branch.

props TomasM, hiwhatsup.
see #28938.
Built from https://develop.svn.wordpress.org/branches/4.1@30941


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-12-16 22:24:22 +00:00
parent 608ed06fc8
commit c69d37da64
1 changed files with 18 additions and 3 deletions

View File

@ -158,7 +158,7 @@ body.full-width .site-content {
color: #636363;
font-weight: bold;
}
.menu-toggle {
.main-navigation .menu-toggle {
display: none;
}
.entry-header .entry-title {
@ -183,16 +183,27 @@ body.full-width .site-content {
margin-bottom: 0;
width: 47.916666667%;
}
/* IE Front Page Template Widget fix */
.template-front-page .widget-area {
clear: both;
}
.template-front-page .widget {
width: 100% !important;
border: none;
}
.template-front-page .widget-area .widget,
.template-front-page .first.front-widgets,
.template-front-page.two-sidebars .widget-area .front-widgets {
float: left;
margin-bottom: 24px;
width: 51.875%;
}
.template-front-page .second.front-widgets,
.template-front-page .widget-area .widget:nth-child(odd) {
clear: right;
}
.template-front-page .widget-area .widget:nth-child(even),
.template-front-page .first.front-widgets,
.template-front-page .second.front-widgets,
.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
float: right;
margin: 0 0 24px;
@ -203,8 +214,12 @@ body.full-width .site-content {
float: none;
width: auto;
}
/* add input font for <IE9 Password Box to make the bullets show up */
input[type="password"] {
font-family: Helvetica, Arial, sans-serif;
}
/* =RTL overrides for IE7 and IE8
/* RTL overrides for IE7 and IE8
-------------------------------------------------------------- */
.rtl .site-header h1,
.rtl .site-header h2 {