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

@@ -632,7 +632,7 @@ ul#add-to-blog-users {
.form-table th,
.form-wrap label {
color: #23282d;
font-weight: normal;
font-weight: 400;
text-shadow: none;
vertical-align: baseline;
}
@@ -759,7 +759,7 @@ table.form-table td .updated p {
.tool-box .title {
margin: 8px 0;
font-size: 18px;
font-weight: normal;
font-weight: 400;
line-height: 24px;
}