Use numeric font weights instead of keywords.

When Open Sans was in use, the `300`, `400`, and `600` weights were loaded. `400` is the equivalent of `normal`; however, `bold` is equivalent to `700`, not `600`. With the move to system fonts, we need to be specific rather than relying on the lack of a `700` weight. Not all system fonts include a `600` weight; in those instances, they will use the `bold`/`700` weight.

The WordPress CSS Coding Standards have been updated accordingly.

props coderste.
see #36753.


git-svn-id: https://develop.svn.wordpress.org/trunk@37740 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi
2016-06-17 18:36:03 +00:00
parent bfdf00cb83
commit 265fabc1c4
23 changed files with 80 additions and 80 deletions

View File

@@ -45,7 +45,7 @@ h1, h2 {
font-size: 24px;
padding: 0;
padding-bottom: 7px;
font-weight: normal;
font-weight: 400;
}
h3 {
@@ -100,7 +100,7 @@ label {
color: #444; /* same as login.css */
height: 84px;
font-size: 20px;
font-weight: normal;
font-weight: 400;
line-height: 1.3em;
margin: -130px auto 25px;
padding: 0;
@@ -192,7 +192,7 @@ submit {
}
.form-table th p {
font-weight: normal;
font-weight: 400;
}
.form-table.install-success th,
@@ -406,7 +406,7 @@ body.language-chooser {
color: #32373c;
font-size: 16px;
font-family: Arial, sans-serif;
font-weight: normal;
font-weight: 400;
}
.language-chooser p {