Accessibility: Add back-compat styles for plugins that still use h2
as a main heading in their screens.
Props afercia. Fixes #33559. Built from https://develop.svn.wordpress.org/trunk@35131 git-svn-id: http://core.svn.wordpress.org/trunk@35096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1c9ea9bb4a
commit
be10375eb6
@ -325,17 +325,11 @@ h6 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
color: #23282d;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
margin: .67em 0;
|
margin: .67em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrap > h1 {
|
|
||||||
color: #23282d;
|
|
||||||
font-size: 1.5em;
|
|
||||||
margin: .83em 0;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2,
|
h2,
|
||||||
h3 {
|
h3 {
|
||||||
color: #23282d;
|
color: #23282d;
|
||||||
@ -568,12 +562,14 @@ code {
|
|||||||
margin: 10px 2px 0 20px;
|
margin: 10px 2px 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wrap > h2:first-child, /* Back-compat for old plugins */
|
||||||
.wrap h1,
|
.wrap h1,
|
||||||
.subtitle {
|
.subtitle {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wrap > h2:first-child, /* Back-compat for old plugins */
|
||||||
.wrap h1 {
|
.wrap h1 {
|
||||||
font-size: 23px;
|
font-size: 23px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -2004,15 +2000,18 @@ html.wp-toolbar {
|
|||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1.nav-tab-wrapper,
|
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||||
h2.nav-tab-wrapper,
|
h2.nav-tab-wrapper,
|
||||||
h3.nav-tab-wrapper {
|
h3.nav-tab-wrapper {
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
padding-bottom: 0;
|
margin: 0;
|
||||||
padding-right: 10px;
|
padding: 9px 10px 0 15px;
|
||||||
|
font-size: 23px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 29px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 .nav-tab,
|
h1 .nav-tab, /* Back-compat for pre-4.4 */
|
||||||
h2 .nav-tab {
|
h2 .nav-tab {
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
@ -325,17 +325,11 @@ h6 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
color: #23282d;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
margin: .67em 0;
|
margin: .67em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrap > h1 {
|
|
||||||
color: #23282d;
|
|
||||||
font-size: 1.5em;
|
|
||||||
margin: .83em 0;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2,
|
h2,
|
||||||
h3 {
|
h3 {
|
||||||
color: #23282d;
|
color: #23282d;
|
||||||
@ -568,12 +562,14 @@ code {
|
|||||||
margin: 10px 20px 0 2px;
|
margin: 10px 20px 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wrap > h2:first-child, /* Back-compat for old plugins */
|
||||||
.wrap h1,
|
.wrap h1,
|
||||||
.subtitle {
|
.subtitle {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wrap > h2:first-child, /* Back-compat for old plugins */
|
||||||
.wrap h1 {
|
.wrap h1 {
|
||||||
font-size: 23px;
|
font-size: 23px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -2004,15 +2000,18 @@ html.wp-toolbar {
|
|||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1.nav-tab-wrapper,
|
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||||
h2.nav-tab-wrapper,
|
h2.nav-tab-wrapper,
|
||||||
h3.nav-tab-wrapper {
|
h3.nav-tab-wrapper {
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
padding-bottom: 0;
|
margin: 0;
|
||||||
padding-left: 10px;
|
padding: 9px 15px 0 10px;
|
||||||
|
font-size: 23px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 29px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 .nav-tab,
|
h1 .nav-tab, /* Back-compat for pre-4.4 */
|
||||||
h2 .nav-tab {
|
h2 .nav-tab {
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35130';
|
$wp_version = '4.4-alpha-35131';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user