1/*------------------------------------------------------------------------------
2 27.0 - Localization
3------------------------------------------------------------------------------*/
4
5/* RTL except Hebrew (see below): Tahoma as the first font; */
6body.rtl,
7body.rtl .press-this a.wp-switch-editor {
8 font-family: Tahoma, Arial, sans-serif;
9}
10
11/* Arial is best for RTL headings. */
12.rtl h1,
13.rtl h2,
14.rtl h3,
15.rtl h4,
16.rtl h5,
17.rtl h6 {
18 font-family: Arial, sans-serif;
19 font-weight: 600;
20}
21
22/* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */
23body.locale-he-il,
24body.locale-he-il .press-this a.wp-switch-editor {
25 font-family: Arial, sans-serif;
26}
27
28/* he_IL: Have <em> be bold rather than italic. */
29.locale-he-il em {
30 font-style: normal;
31 font-weight: 600;
32}
33
34/* zh_CN: Remove italic properties. */
35.locale-zh-cn .howto,
36.locale-zh-cn .tablenav .displaying-num,
37.locale-zh-cn .js .input-with-default-title,
38.locale-zh-cn .link-to-original,
39.locale-zh-cn .inline-edit-row fieldset span.title,
40.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,
41.locale-zh-cn #utc-time,
42.locale-zh-cn #local-time,
43.locale-zh-cn p.install-help,
44.locale-zh-cn p.help,
45.locale-zh-cn p.description,
46.locale-zh-cn span.description,
47.locale-zh-cn .form-wrap p {
48 font-style: normal;
49}
50
51/* zh_CN: Enlarge dashboard widget 'Configure' link */
52.locale-zh-cn .hdnle a { font-size: 12px; }
53
54/* zn_CH: Enlarge font size, set font-size: normal */
55.locale-zh-cn form.upgrade .hint { font-style: normal; font-size: 100%; }
56
57/* zh_CN: Enlarge font-size. */
58.locale-zh-cn #sort-buttons { font-size: 1em !important; }
59
60/* de_DE: Text needs more space for translation */
61.locale-de-de #customize-header-actions .button,
62.locale-de-de-formal #customize-header-actions .button {
63 padding: 0 5px 1px; /* default 0 10px 1px */
64}
65.locale-de-de #customize-header-actions .spinner,
66.locale-de-de-formal #customize-header-actions .spinner {
67 margin: 16px 3px 0; /* default 16px 4px 0 5px */
68}
69body[class*="locale-de-"] .inline-edit-row fieldset label span.title,
70body[class*="locale-de-"] .inline-edit-row fieldset.inline-edit-date legend {
71 width: 7em; /* default 6em */
72}
73body[class*="locale-de-"] .inline-edit-row fieldset label span.input-text-wrap,
74body[class*="locale-de-"] .inline-edit-row fieldset .timestamp-wrap {
75 margin-left: 7em; /* default 6em */
76}
77
78/* ru_RU: Text needs more room to breathe. */
79.locale-ru-ru #adminmenu {
80 width: inherit; /* back-compat for pre-3.2 */
81}
82.locale-ru-ru #adminmenu,
83.locale-ru-ru #wpbody {
84 margin-left: 0; /* back-compat for pre-3.2 */
85}
86.locale-ru-ru .inline-edit-row fieldset label span.title,
87.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend {
88 width: 8em; /* default 6em */
89}
90.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap,
91.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap {
92 margin-left: 8em; /* default 6em */
93}
94.locale-ru-ru.post-php .tagsdiv .newtag,
95.locale-ru-ru.post-new-php .tagsdiv .newtag {
96 width: 165px; /* default 180px - 15px */
97}
98.locale-ru-ru.press-this .posting {
99 margin-right: 277px; /* default 252px + 25px */
100}
101.locale-ru-ru .press-this-sidebar {
102 width: 265px; /* default 240px + 25px */
103}
104.locale-ru-ru #customize-header-actions .button {
105 padding: 0 5px 1px; /* default 0 10px 1px */
106}
107.locale-ru-ru #customize-header-actions .spinner {
108 margin: 16px 3px 0; /* default 16px 4px 0 5px */
109}
110
111/* lt_LT: QuickEdit */
112.locale-lt-lt .inline-edit-row fieldset label span.title,
113.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend {
114 width: 8em; /* default 6em */
115}
116.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,
117.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap {
118 margin-left: 8em; /* default 6em */
119}
120
121/* Fix overridden width for adjusted locales */
122body[class*="locale-de-"] .quick-edit-row-post fieldset.inline-edit-col-right label span.title,
123.locale-ru-ru .quick-edit-row-post fieldset.inline-edit-col-right label span.title,
124.locale-lt-lt .quick-edit-row-post fieldset.inline-edit-col-right label span.title {
125 width: auto;
126}
127
128@media screen and (max-width: 782px) {
129 body[class*="locale-de-"] .inline-edit-row fieldset label span.input-text-wrap,
130 body[class*="locale-de-"] .inline-edit-row fieldset .timestamp-wrap,
131 .locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap,
132 .locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,
133 .locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,
134 .locale-lt-lt .inline-edit-row fieldset .timestamp-wrap {
135 margin-left: 0;
136 }
137}
138