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
+2 -2
View File
@@ -723,7 +723,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
.theme-overlay .theme-tags span {
color: #444;
font-weight: bold;
font-weight: 600;
margin-right: 5px;
}
@@ -732,7 +732,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
border: 1px solid #eee;
border-left: 4px solid #00a0d2;
font-size: 14px;
font-weight: normal;
font-weight: 400;
margin-top: 30px;
padding: 10px 10px 10px 20px;
}