Twenty Twelve: add basic styles for IE7 and IE8, supports basic layout now with the small-nav styles. Props obenland, closes #21440.

git-svn-id: https://develop.svn.wordpress.org/trunk@21482 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2012-08-08 18:03:59 +00:00
parent 90e990d983
commit 05f72b8149
2 changed files with 26 additions and 0 deletions

View File

@ -9,7 +9,12 @@
* @since Twenty Twelve 1.0
*/
?><!DOCTYPE html>
<!--[if IE 7 | IE 8]>
<html class="ie" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

View File

@ -1587,4 +1587,25 @@ img#wpstats {
margin-left: 50px;
margin-left: 3.57142857rem;
}
}
/* =IE 7 and 8
----------------------------------------------- */
.ie .site {
margin: 48px auto;
max-width: 960px;
}
.ie .site-content {
float: left;
width: 65.104166667%;
}
.ie .full-width .site-content {
float: none;
width: 100%;
}
.ie .widget-area {
float: right;
width: 26.041666667%;
}