WordPress.org

Make WordPress Core

Changeset 35131


Ignore:
Timestamp:
10/13/2015 07:16:43 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Accessibility: Add back-compat styles for plugins that still use h2 as a main heading in their screens.

Props afercia.
Fixes #33559.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r35128 r35131  
    326326
    327327h1 {
     328    color: #23282d;
    328329    font-size: 2em;
    329330    margin: .67em 0;
    330 }
    331 
    332 .wrap > h1 {
    333     color: #23282d;
    334     font-size: 1.5em;
    335     margin: .83em 0;
    336     font-weight: 400;
    337331}
    338332
     
    569563}
    570564
     565.wrap > h2:first-child, /* Back-compat for old plugins */
    571566.wrap h1,
    572567.subtitle {
     
    575570}
    576571
     572.wrap > h2:first-child, /* Back-compat for old plugins */
    577573.wrap h1 {
    578574    font-size: 23px;
     
    20052001}
    20062002
    2007 h1.nav-tab-wrapper,
     2003h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
    20082004h2.nav-tab-wrapper,
    20092005h3.nav-tab-wrapper {
    20102006    border-bottom: 1px solid #ccc;
    2011     padding-bottom: 0;
    2012     padding-left: 10px;
    2013 }
    2014 
    2015 h1 .nav-tab,
     2007    margin: 0;
     2008    padding: 9px 15px 0 10px;
     2009    font-size: 23px;
     2010    font-weight: 400;
     2011    line-height: 29px;
     2012}
     2013
     2014h1 .nav-tab, /* Back-compat for pre-4.4 */
    20162015h2 .nav-tab {
    20172016    padding: 6px 10px;
Note: See TracChangeset for help on using the changeset viewer.