mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user