mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 12:50:18 +01:00
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 {
|
||||
color: #23282d;
|
||||
font-size: 2em;
|
||||
margin: .67em 0;
|
||||
}
|
||||
|
||||
.wrap > h1 {
|
||||
color: #23282d;
|
||||
font-size: 1.5em;
|
||||
margin: .83em 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3 {
|
||||
color: #23282d;
|
||||
@ -568,12 +562,14 @@ code {
|
||||
margin: 10px 2px 0 20px;
|
||||
}
|
||||
|
||||
.wrap > h2:first-child, /* Back-compat for old plugins */
|
||||
.wrap h1,
|
||||
.subtitle {
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wrap > h2:first-child, /* Back-compat for old plugins */
|
||||
.wrap h1 {
|
||||
font-size: 23px;
|
||||
font-weight: 400;
|
||||
@ -2004,15 +2000,18 @@ html.wp-toolbar {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
h1.nav-tab-wrapper,
|
||||
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||
h2.nav-tab-wrapper,
|
||||
h3.nav-tab-wrapper {
|
||||
border-bottom: 1px solid #ccc;
|
||||
padding-bottom: 0;
|
||||
padding-right: 10px;
|
||||
margin: 0;
|
||||
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 {
|
||||
padding: 6px 10px;
|
||||
font-weight: 600;
|
||||
|
@ -325,17 +325,11 @@ h6 {
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #23282d;
|
||||
font-size: 2em;
|
||||
margin: .67em 0;
|
||||
}
|
||||
|
||||
.wrap > h1 {
|
||||
color: #23282d;
|
||||
font-size: 1.5em;
|
||||
margin: .83em 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3 {
|
||||
color: #23282d;
|
||||
@ -568,12 +562,14 @@ code {
|
||||
margin: 10px 20px 0 2px;
|
||||
}
|
||||
|
||||
.wrap > h2:first-child, /* Back-compat for old plugins */
|
||||
.wrap h1,
|
||||
.subtitle {
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wrap > h2:first-child, /* Back-compat for old plugins */
|
||||
.wrap h1 {
|
||||
font-size: 23px;
|
||||
font-weight: 400;
|
||||
@ -2004,15 +2000,18 @@ html.wp-toolbar {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
h1.nav-tab-wrapper,
|
||||
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||
h2.nav-tab-wrapper,
|
||||
h3.nav-tab-wrapper {
|
||||
border-bottom: 1px solid #ccc;
|
||||
padding-bottom: 0;
|
||||
padding-left: 10px;
|
||||
margin: 0;
|
||||
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 {
|
||||
padding: 6px 10px;
|
||||
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
|
||||
*/
|
||||
$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.
|
||||
|
Loading…
Reference in New Issue
Block a user