mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +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:
@@ -83,7 +83,7 @@ p {
|
||||
margin-top: 20px;
|
||||
margin-left: 0;
|
||||
padding: 26px 24px 46px;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13);
|
||||
@@ -91,7 +91,7 @@ p {
|
||||
}
|
||||
|
||||
.login form .forgetmenot {
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
float: left;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -133,7 +133,7 @@ p {
|
||||
color: #444;
|
||||
height: 84px;
|
||||
font-size: 20px;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
line-height: 1.3em;
|
||||
margin: 0 auto 25px;
|
||||
padding: 0;
|
||||
|
||||
Reference in New Issue
Block a user