Twenty Seventeen: CSS coding standards fixes.

This makes a few adjustments to CSS to bring them inline with WordPress
CSS coding standards including:

* Font weights should be defined using numeric values
* Do not pad parentheses with spaces

This also fixes a couple of typos to inline comments.

Props netweb for initial patch.
Fixes #38901.
Built from https://develop.svn.wordpress.org/trunk@39340


git-svn-id: http://core.svn.wordpress.org/trunk@39280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Joe McGill 2016-11-22 20:47:33 +00:00
parent 96960d8ed6
commit 46b2ef90be
3 changed files with 13 additions and 12 deletions

View File

@ -92,7 +92,7 @@ img {
.site-title {
font-size: 36px;
font-weight: bolder;
font-weight: 700;
}
.site-description {
@ -188,7 +188,7 @@ time.published {
.page .entry-title,
.entry-meta + .entry-title {
font-size: 26px;
font-weight: normal;
font-weight: 400;
letter-spacing: normal;
padding-top: 0;
text-transform: none;

View File

@ -121,7 +121,7 @@ strong {
b,
strong {
font-weight: bolder;
font-weight: 700;
}
code,
@ -1680,10 +1680,10 @@ body:not(.title-tagline-hidden) .site-branding-text {
transform: translateX(-50%) translateY(-50%);
}
.wp-custom-header .wp-custom-header-video-button { /* Speficity prevents .color-dark button overrides */
background-color: rgba( 34, 34, 34, 0.5 );
border: 1px solid rgba( 255, 255, 255, 0.6 );
color: rgba( 255, 255, 255, 0.6 );
.wp-custom-header .wp-custom-header-video-button { /* Specificity prevents .color-dark button overrides */
background-color: rgba(34, 34, 34, 0.5);
border: 1px solid rgba(255, 255, 255, 0.6);
color: rgba(255, 255, 255, 0.6);
height: 45px;
overflow: hidden;
padding: 0;
@ -1696,9 +1696,9 @@ body:not(.title-tagline-hidden) .site-branding-text {
}
.wp-custom-header .wp-custom-header-video-button:hover,
.wp-custom-header .wp-custom-header-video-button:focus { /* SSpeficity prevents .color-dark button overrides */
border-color: rgba( 255, 255, 255, 0.8 );
background-color: rgba( 34, 34, 34, 0.8 );
.wp-custom-header .wp-custom-header-video-button:focus { /* Specificity prevents .color-dark button overrides */
border-color: rgba(255, 255, 255, 0.8);
background-color: rgba(34, 34, 34, 0.8);
color: #fff;
}
@ -3035,7 +3035,7 @@ object {
.no-svg .dropdown-toggle .svg-fallback.icon-angle-down {
font-size: 20px;
font-size: 1.25rem;
font-weight: normal;
font-weight: 400;
line-height: 1;
-webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
-ms-transform: rotate(180deg); /* IE 9 */
@ -3082,6 +3082,7 @@ object {
/* Adjust positioning of edit shortcuts, override style in customize-preview.css */
@media screen and (min-width: 20em) {
body.customize-partial-edit-shortcuts-shown .site-header .site-title {
padding-left: 0;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-beta4-39339';
$wp_version = '4.7-beta4-39340';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.