mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-22 20:24:36 +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:
@@ -140,7 +140,7 @@ div.mce-tab:focus {
|
||||
margin: 8px 0;
|
||||
white-space: normal;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.mce-window .wp-editor-help table {
|
||||
@@ -180,14 +180,14 @@ div.mce-tab:focus {
|
||||
}
|
||||
|
||||
.mce-window .wp-editor-help th {
|
||||
font-weight: bold;
|
||||
font-weight: 600;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.mce-window .wp-editor-help kbd {
|
||||
font-family: monospace;
|
||||
padding: 2px 7px 3px;
|
||||
font-weight: bold;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
background: #eaeaea;
|
||||
background: rgba(0,0,0,0.08);
|
||||
@@ -838,7 +838,7 @@ div.mce-menu .mce-menu-item-sep,
|
||||
.mce-notification button.mce-close {
|
||||
right: 6px;
|
||||
top: 3px;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
color: #555d66;
|
||||
}
|
||||
|
||||
@@ -1242,7 +1242,7 @@ i.mce-i-wp_code:before {
|
||||
}
|
||||
|
||||
.quicktags-toolbar input[value="b"] {
|
||||
font-weight: bold;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw,
|
||||
@@ -1601,7 +1601,7 @@ i.mce-i-wp_code:before {
|
||||
}
|
||||
|
||||
#wp-link li.selected .item-title {
|
||||
font-weight: bold;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#wp-link li:last-child {
|
||||
|
||||
Reference in New Issue
Block a user