mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 04:11:10 +01:00
8776694a33
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
121 lines
3.6 KiB
CSS
121 lines
3.6 KiB
CSS
/*------------------------------------------------------------------------------
|
|
27.0 - Localization
|
|
------------------------------------------------------------------------------*/
|
|
|
|
/* RTL except Hebrew (see below): Tahoma as the first font; */
|
|
body.rtl,
|
|
body.rtl .press-this a.wp-switch-editor {
|
|
font-family: Tahoma, Arial, sans-serif;
|
|
}
|
|
|
|
/* Arial is best for RTL headings. */
|
|
.rtl h1,
|
|
.rtl h2,
|
|
.rtl h3,
|
|
.rtl h4,
|
|
.rtl h5,
|
|
.rtl h6 {
|
|
font-family: Arial, sans-serif;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */
|
|
body.locale-he-il,
|
|
body.locale-he-il .press-this a.wp-switch-editor {
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
/* he_IL: Have <em> be bold rather than italic. */
|
|
.locale-he-il em {
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* zh_CN: Remove italic properties. */
|
|
.locale-zh-cn .howto,
|
|
.locale-zh-cn .tablenav .displaying-num,
|
|
.locale-zh-cn .js .input-with-default-title,
|
|
.locale-zh-cn .link-to-original,
|
|
.locale-zh-cn .inline-edit-row fieldset span.title,
|
|
.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,
|
|
.locale-zh-cn #utc-time,
|
|
.locale-zh-cn #local-time,
|
|
.locale-zh-cn p.install-help,
|
|
.locale-zh-cn p.help,
|
|
.locale-zh-cn p.description,
|
|
.locale-zh-cn span.description,
|
|
.locale-zh-cn .form-wrap p {
|
|
font-style: normal;
|
|
}
|
|
|
|
/* zh_CN: Enlarge dashboard widget 'Configure' link */
|
|
.locale-zh-cn .hdnle a { font-size: 12px; }
|
|
|
|
/* zn_CH: Enlarge font size, set font-size: normal */
|
|
.locale-zh-cn form.upgrade .hint { font-style: normal; font-size: 100%; }
|
|
|
|
/* zh_CN: Enlarge font-size. */
|
|
.locale-zh-cn #sort-buttons { font-size: 1em !important; }
|
|
|
|
/* de_DE: Text needs more space for translation */
|
|
.locale-de-de #customize-header-actions .button,
|
|
.locale-de-de-formal #customize-header-actions .button {
|
|
padding: 0 5px 1px; /* default 0 10px 1px */
|
|
}
|
|
.locale-de-de #customize-header-actions .spinner,
|
|
.locale-de-de-formal #customize-header-actions .spinner {
|
|
margin: 16px 3px 0; /* default 16px 4px 0 5px */
|
|
}
|
|
|
|
/* ru_RU: Text needs more room to breathe. */
|
|
.locale-ru-ru #adminmenu {
|
|
width: inherit; /* back-compat for pre-3.2 */
|
|
}
|
|
.locale-ru-ru #adminmenu,
|
|
.locale-ru-ru #wpbody {
|
|
margin-left: 0; /* back-compat for pre-3.2 */
|
|
}
|
|
.locale-ru-ru .inline-edit-row fieldset label span.title,
|
|
.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend {
|
|
width: 8em; /* default 6em */
|
|
}
|
|
.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap,
|
|
.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap {
|
|
margin-left: 8em; /* default 6em */
|
|
}
|
|
.locale-ru-ru.post-php .tagsdiv .newtag,
|
|
.locale-ru-ru.post-new-php .tagsdiv .newtag {
|
|
width: 165px; /* default 180px - 15px */
|
|
}
|
|
.locale-ru-ru.press-this .posting {
|
|
margin-right: 277px; /* default 252px + 25px */
|
|
}
|
|
.locale-ru-ru .press-this-sidebar {
|
|
width: 265px; /* default 240px + 25px */
|
|
}
|
|
.locale-ru-ru #customize-header-actions .button {
|
|
padding: 0 5px 1px; /* default 0 10px 1px */
|
|
}
|
|
.locale-ru-ru #customize-header-actions .spinner {
|
|
margin: 16px 3px 0; /* default 16px 4px 0 5px */
|
|
}
|
|
|
|
/* lt_LT: QuickEdit */
|
|
.locale-lt-lt .inline-edit-row fieldset label span.title,
|
|
.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend {
|
|
width: 8em; /* default 6em */
|
|
}
|
|
.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,
|
|
.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap {
|
|
margin-left: 8em; /* default 6em */
|
|
}
|
|
|
|
@media screen and (max-width: 782px) {
|
|
.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap,
|
|
.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,
|
|
.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,
|
|
.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap {
|
|
margin-left: 0;
|
|
}
|
|
}
|