-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathp7-localization.css
249 lines (180 loc) · 7.43 KB
/
p7-localization.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
/* ===CZECH BRANCH=== */
:root:where(:lang(cs)) {
/* Header */
--header-title: 'SCP Nadace';
--header-subtitle: 'ČESKÁ VĚTEV SCP NADACE';
}
/* ===FRENCH BRANCH=== */
:root:where(:lang(fr)) {
/* header */
--header-title: 'Fondation SCP';
--header-subtitle: 'SÉCURISER - CONTENIR - PROTÉGER';
--pager-previous-button: "« précédente";
--pager-next-button: "suivante »";
}
/* ===GERMAN BRANCH=== */
:root:where(:lang(de)) {
/* Header */
--header-title: 'SCP Foundation';
--header-subtitle: 'AUF DEUTSCH';
/* Pager */
--pager-previous-button: "« vorherige";
--pager-next-button: "nächste »";
}
/* ===GREEK BRANCH=== */
:root:where(:lang(el)) {
/* Header */
--header-title: 'Το Ίδρυμα SCP';
--header-subtitle: 'ΕΛΛΗΝΌΦΩΝΟΣ ΚΛΆΔΟΣ';
}
/* ===ITALIAN BRANCH=== */
:root:where(:lang(it)) {
/* Header */
--header-title: 'Fondazione SCP';
--header-subtitle: 'BRANCA ITALIANA - SCP FOUNDATION';
/* Pager */
--pager-previous-button: "« precedente";
--pager-next-button: "prossimo »";
}
/* ===JAPANESE BRANCH=== */
:root:where(:lang(ja)) {
/* Header */
--header-title: 'SCP財団';
--header-subtitle: '確保、収容、保護';
/* Fonts */
--body-font-fallback: 'メイリオ', meiryo, tahoma, verdana, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', osaka, 'MS Pゴシック', 'MS PGothic', sans-serif;
--UI-font-fallback: '游ゴシック体', yugothic, 'ヒラギノ丸ゴ', 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo UI', 'MS Gothic', roboto, noto, 'Noto Sans JP', sans-serif;
--mono-font-fallback: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', osaka, メイリオ, meiryo, 'MS Pゴシック', 'MS PGothic', 'MS ゴシック', 'MS Gothic', 'Noto Sans JP', takaopgothic, monospace;
--header-font-fallback: var(--body-font-fallback);
}
:root:lang(ja) #side-bar div.menu-item {
margin: 0;
}
:root:lang(ja) #side-bar .menu-item .sub-text {
display: flex;
align-items: center;
padding: 0 .75em;
width: 15ch;
font-size: calc(var(--true-font-size) *.75);
color: rgb(var(--basalt-sub-text-color));
transition: background-color var(--side-bar-link-transition);
}
:root:lang(ja) #side-bar .menu-item a:is(:hover,:focus) + .sub-text {
background-color: rgb(var(--basalt-focus-color), .0625);
}
:root:lang(ja) #side-bar .side-block:is(.sns, [style*='#a7dba2']) {
background-color: transparent !important;
}
:root:lang(ja) #side-bar .side-block:is(.sns, [style*='#f0f0f0']) {
background-color: rgb(var(--side-bar-media-background-color)) !important;
}
:root:lang(ja) #side-bar .side-block[style*='#f0f0f0'] p {
margin: 0;
}
/* ===KOREAN BRANCH=== */
:root:where(:lang(ko)) {
/* Header */
--header-title: 'SCP 재단';
--header-subtitle: '확보 - 격리 - 보호';
/* Pager */
--pager-previous-button: "« 이전";
--pager-next-button: "다음 »";
/* Fonts */
--body-font-fallback: inter, nanumbaruncatsi, 'Apple SD Gothic Neo', '맑은 고딕', 'Malgun Gothic', '굴림', 'Gulim', '돋움', 'Dotum', 'Helvetica Neue', 'Helvetica', arial, sans-serif;
--UI-font-fallback: 'Nanum Gothic', 'Apple SD Gothic Neo', 'Malgun Gothic', roboto, noto, 'Noto Sans KR', sans-serif;
--mono-font-fallback: 'Nanum Gothic Coding', recursive, 'Apple SD Gothic Neo', 'NanumBarunGothic', '맑은 고딕', 'Malgun Gothic', '굴림', 'Gulim', '돋움', 'Dotum', 'Helvetica Neue', 'Helvetica', arial, monospace;
--header-font-fallback: var(--body-font-fallback);
}
/* ===POLISH BRANCH=== */
:root:where(:lang(pl)) {
/* Header */
--header-title: 'Fundacja SCP';
--header-subtitle: 'POLSKA FILIA SCP';
/* Pager */
--pager-previous-button: "« poprzednia";
--pager-next-button: "następna »";
}
/* ===PORTUGESE BRANCH=== */
:root:where(:lang(pt-br)) {
/* Header */
--header-title: 'Fundação SCP';
--header-subtitle: 'FILIAL LUSÓFONA';
/* Pager */
--pager-previous-button: "« anterior";
--pager-next-button: "próximo »";
}
/* ===RUSSIAN BRANCH=== */
:root:where(:lang(ru)) {
/* Header */
--header-title: 'SCP Foundation';
--header-subtitle: 'RUSSIAN BRANCH';
/* Fonts */
--body-font-fallback: charcoal, geneva, 'Helvetica Neue', helvetica, arial, sans-serif;
--header-font-fallback: inter, charcoal, 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', 'Helvetica Neue', 'Helvetica', arial, sans-serif;
}
/* ===SPANISH BRANCH=== */
:root:where(:lang(es)) {
/* Header */
--header-title: 'La Fundación SCP';
--header-subtitle: 'RAMA HISPANOHABLANTE';
}
/* ===SIMPLIFIED CHINESE BRANCH=== */
:root:where(:lang(cn)) {
/* Header */
--header-title: 'SCP基金会';
--header-subtitle: '控制 - 收容 - 保护';
/* Fonts */
--body-font-fallback: 'Noto Sans SC', verdana, 'Microsoft YaHei', '微软雅黑', geneva, sans-serif, stxihei, '华文细黑';
--UI-font-fallback: 'Noto Sans SC', '方体', 'PingFang SC', '黑体', 'Heiti SC', 'Microsoft JhengHei UI', 'Microsoft JhengHei', roboto, noto, 'Noto Sans SC', sans-serif;
--header-font-fallback: var(--body-font-fallback);
--mono-font-fallback: 'Noto Serif SC', 'Microsoft YaHei', '微软雅黑', 'Courier New', courier, monospace, stxihei, '华文细黑';
}
:root:lang(cn) #side-bar .side-block:is([style*='#f0fff6'],[style*='#e7e5e8']) {
background-color: rgb(var(--side-bar-resources-background-color)) !important;
}
:root:lang(cn) #side-bar .side-block:is([style*='#e5e5ff'],[style*='#f0f0f0']) {
background-color: rgb(var(--side-bar-media-background-color)) !important;
}
:root:lang(cn) #side-bar .menu-item {
margin: 0;
}
:root:lang(cn) div.page-rate-widget-box .rate-points {
background-color: transparent !important;
}
/* ===THAI BRANCH=== */
:root:where(:lang(th)) {
/* Header */
--header-title: 'สถาบัน SCP';
--header-subtitle: 'ควบคุม, กักกัน, ป้องกัน';
/* Fonts */
--body-font-fallback: 'Kanit', -apple-system, system-ui, blinkmacsystemfont, 'Segoe UI', verdana, geneva, sans-serif;
--UI-font-fallback: 'Kanit', 'Thonburi', 'Leelawadee UI', 'Cordia New', roboto, noto, 'Noto Sans Thai', sans-serif;
--header-font-fallback: var(--body-font-fallback);
--mono-font-fallback: 'Kanit', consolas, monaco, monospace;
}
/* ===TRADITIONAL CHINESE BRANCH=== */
:root:where(:lang(zh)) {
/* Header */
--header-title: 'SCP基金會';
--header-subtitle: '控制,收容,保護';
/* Fonts */
--body-font-fallback: 'Noto Sans TC', '微軟正黑體', 'Microsoft JhengHei', 'Microsoft JhengHei UI', “微軟雅黑”, 'Microsoft YaHei', 'Microsoft YaHei UI', sans-serif;
--UI-font-fallback: '方體', 'PingFang HK', '方體', 'PingFang TC', '黑體', 'Heiti TC', 'Microsoft JhengHei UI', 'Microsoft JhengHei', roboto, noto, 'Noto Sans TC', sans-serif;
--header-font-fallback: var(--body-font-fallback);
--mono-font-fallback: 'Noto Sans TC', '微軟正黑體', 'Microsoft JhengHei', 'Microsoft JhengHei UI', “微軟雅黑”, 'Microsoft YaHei', 'Microsoft YaHei UI', monospace;
}
/* ===UKRAINIAN BRANCH=== */
:root:where(:lang(uk)) {
/* Header */
--header-title: 'Фонд SCP.';
--header-subtitle: 'ОХОРОНЯТИ. УТРИМУВАТИ. ЗАХИЩАТИ.';
/* Fonts */
--body-font-fallback: charcoal, geneva, 'Helvetica Neue', helvetica, arial, sans-serif;
--header-font-fallback: charcoal, 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', 'Helvetica Neue', 'Helvetica', arial, sans-serif;
}
/* ===VIETNAMESE BRANCH=== */
:root:where(:lang(vi)) {
/* Header */
--header-title: 'Tổ Chức SCP';
--header-subtitle: 'QUẢN THÚC - LƯU TRỮ - BẢO VỆ';
}