WordPress.org

Make WordPress Core

Changeset 21482


Ignore:
Timestamp:
08/08/2012 06:03:59 PM (6 years ago)
Author:
lancewillett
Message:

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

Location:
trunk/wp-content/themes/twentytwelve
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/header.php

    r21405 r21482  
    1010 */
    1111?><!DOCTYPE html>
     12<!--[if IE 7 | IE 8]>
     13<html class="ie" <?php language_attributes(); ?>>
     14<![endif]-->
     15<!--[if !(IE 7) | !(IE 8)  ]><!-->
    1216<html <?php language_attributes(); ?>>
     17<!--<![endif]-->
    1318<head>
    1419<meta charset="<?php bloginfo( 'charset' ); ?>" />
  • trunk/wp-content/themes/twentytwelve/style.css

    r21478 r21482  
    15891589    }
    15901590}
     1591
     1592
     1593/* =IE 7 and 8
     1594----------------------------------------------- */
     1595
     1596.ie .site {
     1597    margin: 48px auto;
     1598    max-width: 960px;
     1599}
     1600.ie .site-content {
     1601    float: left;
     1602    width: 65.104166667%;
     1603}
     1604.ie .full-width .site-content {
     1605    float: none;
     1606    width: 100%;
     1607}
     1608.ie .widget-area {
     1609    float: right;
     1610    width: 26.041666667%;
     1611}
Note: See TracChangeset for help on using the changeset viewer.