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.

Built from https://develop.svn.wordpress.org/trunk@37740


git-svn-id: http://core.svn.wordpress.org/trunk@37705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí
2016-06-17 18:37:28 +00:00
parent 9afeafeff2
commit 8776694a33
74 changed files with 187 additions and 187 deletions

View File

@@ -16,7 +16,7 @@ body.rtl .press-this a.wp-switch-editor {
.rtl h5,
.rtl h6 {
font-family: Arial, sans-serif;
font-weight: bold;
font-weight: 600;
}
/* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */
@@ -28,7 +28,7 @@ body.locale-he-il .press-this a.wp-switch-editor {
/* he_IL: Have <em> be bold rather than italic. */
.locale-he-il em {
font-style: normal;
font-weight: bold;
font-weight: 600;
}
/* zh_CN: Remove italic properties. */