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: http://core.svn.wordpress.org/trunk@21482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
lancewillett 2012-08-08 18:03:59 +00:00
parent f833c2e4ab
commit 7ded30772c
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%;
}