Make WordPress Core

Changeset 21565


Ignore:
Timestamp:
08/20/2012 10:11:36 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Twelve: update RTL stylsheet based on recent layout changes, see #21441.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/rtl.css

    r21442 r21565  
    5959-------------------------------------------------------------- */
    6060
    61 /* Navigation Menu */
    62 .main-navigation li {
    63     margin-left: 40px;
    64     margin-left: 2.857142857rem;
    65     margin-right: auto;
    66 }
    6761.main-navigation li ul ul {
    68     right: 100%;
    69     left: auto;
    70 }
    71 .main-navigation ul li:hover > ul {
    72     border-right: 0;
    73     border-left: none;
     62    margin-left: 0;
     63    margin-right: 40px;
     64    margin-right: 2.857142857rem;
    7465}
    7566
     
    217208        margin: 8px 0 8px 24px;
    218209    }
    219 }
     210    .page-template-homepage-php .widget-area .widget,
     211    .page-template-homepage-php .widget-area.two .home-widgets {
     212        float: right;
     213    }
     214    .page-template-homepage-php .widget-area .widget:nth-child(odd) {
     215        clear: left;
     216    }
     217    .page-template-homepage-php .widget-area .widget:nth-child(even),
     218    .page-template-homepage-php .widget-area.two .home-widgets + .home-widgets {
     219        float: left;
     220        margin: 0 24px 0;
     221        margin: 0 1.714285714rem 0;
     222    }
     223    .main-navigation li {
     224        margin-left: 40px;
     225        margin-left: 2.857142857rem;
     226        margin-right: auto;
     227    }
     228    .main-navigation li ul ul {
     229        margin-right: 0;
     230        right: 100%;
     231        left: auto;
     232    }
     233    .main-navigation ul li:hover > ul {
     234        border-right: 0;
     235        border-left: none;
     236    }
     237}
Note: See TracChangeset for help on using the changeset viewer.