Debian Codegraph @

skins/Timeless/resources/libraries/shared.css

raw symbols SCIP
1 /**
2 * Yoinked from mw 1.34, because everything is all features in 1.35, and
3 * most of the features are styled for monobook specifically in 1.36+.
4 *
5 * Remove this file if that ever gets fixed?
6 */
7
8 /* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */
9
10 /**
11 * These classes should be used for text depending on the content direction.
12 * Content stuff like editsection, ul/ol and TOC depend on this.
13 */
14 .mw-content-ltr {
15 /* @noflip */
16 direction: ltr;
17 }
18
19 .mw-content-rtl {
20 /* @noflip */
21 direction: rtl;
22 }
23
24 /* Most input fields should be in site direction */
25 .sitedir-ltr textarea,
26 .sitedir-ltr input {
27 /* @noflip */
28 direction: ltr;
29 }
30
31 .sitedir-rtl textarea,
32 .sitedir-rtl input {
33 /* @noflip */
34 direction: rtl;
35 }
36
37 .mw-userlink {
38 unicode-bidi: embed;
39 }
40
41 /* User-Agent styles for new HTML5 elements */
42 mark {
43 background-color: #ff0;
44 color: #000;
45 }
46
47 /* Helper for wbr element on IE 8+; in HTML5, but not supported by default as of IE 11. */
48 /* Note canonical HTML5 styles recommend "content: \u200B", but this doesn't work as of IE 11. */
49 wbr {
50 display: inline-block;
51 }
52
53 /* Input types that should follow user direction, like buttons */
54 /* TODO: What about buttons in wikipage content ? */
55 input[ type='submit' ],
56 input[ type='button' ],
57 input[ type='reset' ],
58 input[ type='file' ] {
59 direction: ltr;
60 }
61
62 /* Override default values */
63 textarea[ dir='ltr' ],
64 input[ dir='ltr' ] {
65 /* @noflip */
66 direction: ltr;
67 }
68
69 textarea[ dir='rtl' ],
70 input[ dir='rtl' ] {
71 /* @noflip */
72 direction: rtl;
73 }
74
75 /* Default style for semantic tags */
76 abbr[ title ],
77 .explain[ title ] {
78 border-bottom: 1px dotted;
79 cursor: help;
80 }
81
82 @supports ( text-decoration: underline dotted ) {
83 abbr[ title ],
84 .explain[ title ] {
85 border-bottom: 0;
86 text-decoration: underline dotted;
87 }
88 }
89
90 /* Comment portions of RC entries */
91 span.comment {
92 font-style: italic;
93 unicode-bidi: -moz-isolate;
94 unicode-bidi: isolate;
95 }
96
97 /* Stop floats from intruding into edit area in previews */
98 #editform,
99 #toolbar,
100 #wpTextbox1 {
101 clear: both;
102 }
103
104 /* Prevent editing textarea from jumping when toolbar is loaded */
105 #toolbar {
106 height: 22px;
107 }
108
109 /* Underline preference */
110
111 .mw-underline-always a {
112 text-decoration: underline;
113 }
114
115 .mw-underline-never a {
116 text-decoration: none;
117 }
118
119 /**
120 * rev_deleted stuff
121 */
122 li span.deleted,
123 span.history-deleted {
124 text-decoration: line-through;
125 color: #72777d;
126 font-style: italic;
127 }
128
129 /**
130 * Patrol stuff
131 */
132 .not-patrolled {
133 background-color: #ffa;
134 }
135
136 .unpatrolled {
137 font-weight: bold;
138 color: #d73333;
139 }
140
141 div.patrollink {
142 font-size: 75%;
143 text-align: right;
144 }
145
146 /**
147 * Forms
148 */
149 td.mw-label {
150 text-align: right;
151 vertical-align: middle;
152 }
153
154 td.mw-input {
155 text-align: left;
156 }
157
158 td.mw-submit {
159 text-align: left;
160 white-space: nowrap;
161 }
162
163 .mw-input-with-label {
164 white-space: nowrap;
165 display: inline-block;
166 }
167
168 /**
169 * Image captions.
170 *
171 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
172 */
173
174 /* @noflip */
175 .mw-content-ltr .thumbcaption {
176 text-align: left;
177 }
178
179 /* @noflip */
180 .mw-content-ltr .magnify {
181 float: right;
182 }
183
184 /* @noflip */
185 .mw-content-rtl .thumbcaption {
186 text-align: right;
187 }
188
189 /* @noflip */
190 .mw-content-rtl .magnify {
191 float: left;
192 }
193
194 /**
195 * Categories
196 */
197 #catlinks {
198 /**
199 * Overrides text justification (user preference)
200 * See T33990
201 */
202 text-align: left;
203 }
204
205 .catlinks ul {
206 display: inline;
207 margin: 0;
208 padding: 0;
209 list-style: none;
210 }
211
212 .catlinks li {
213 display: inline-block;
214 line-height: 1.25em;
215 border-left: 1px solid #a2a9b1;
216 margin: 0.125em 0;
217 padding: 0 0.5em;
218 zoom: 1;
219 }
220
221 .catlinks li:first-child {
222 padding-left: 0.25em;
223 border-left: 0;
224 }
225
226 /* (T7346) make category redirects italic */
227 .catlinks li a.mw-redirect {
228 font-style: italic;
229 }
230
231 /**
232 * Hidden categories
233 */
234 .mw-hidden-cats-hidden {
235 display: none;
236 }
237
238 .catlinks-allhidden {
239 display: none;
240 }
241
242 /**
243 * Convenience links to edit delete and protect reasons
244 */
245 p.mw-protect-editreasons,
246 p.mw-delete-editreasons {
247 font-size: 90%;
248 text-align: right;
249 }
250
251 /* The auto-generated edit comments */
252 .autocomment,
253 .autocomment a,
254 .autocomment a:visited {
255 color: #72777d;
256 }
257
258 /** Generic minor/bot/newpage styling (recent changes) */
259 .newpage,
260 .minoredit,
261 .botedit {
262 font-weight: bold;
263 }
264
265 /**
266 * Recreating deleted page warning
267 * Reupload file warning
268 * Page protection warning
269 * incl. log entries for these warnings
270 */
271 div.mw-warning-with-logexcerpt {
272 padding: 3px;
273 margin-bottom: 3px;
274 border: 2px solid #2a4b8d;
275 clear: both;
276 }
277
278 div.mw-warning-with-logexcerpt ul li {
279 font-size: 90%;
280 }
281
282 /* (show/hide) revision deletion links */
283 span.mw-revdelundel-link,
284 strong.mw-revdelundel-link {
285 font-size: 90%;
286 }
287
288 span.mw-revdelundel-hidden,
289 input.mw-revdelundel-hidden {
290 visibility: hidden;
291 }
292
293 td.mw-revdel-checkbox,
294 th.mw-revdel-checkbox {
295 padding-right: 10px;
296 text-align: center;
297 }
298
299 /* red links; see T38276 */
300 a.new {
301 color: #ba0000;
302 }
303
304 /**
305 * wikitable class for skinning normal tables
306 * keep in sync with commonPrint.css
307 */
308 .wikitable {
309 background-color: #f8f9fa;
310 color: #222;
311 margin: 1em 0;
312 border: 1px solid #a2a9b1;
313 border-collapse: collapse;
314 }
315
316 .wikitable > tr > th,
317 .wikitable > tr > td,
318 .wikitable > * > tr > th,
319 .wikitable > * > tr > td {
320 border: 1px solid #a2a9b1;
321 padding: 0.2em 0.4em;
322 }
323
324 .wikitable > tr > th,
325 .wikitable > * > tr > th {
326 background-color: #eaecf0;
327 text-align: center;
328 }
329
330 .wikitable > caption {
331 font-weight: bold;
332 }
333
334 /* Error, warning, success and neutral messages */
335 .error,
336 .warning,
337 .success {
338 font-size: larger;
339 }
340
341 .warning {
342 color: #ac6600;
343 }
344
345 .success {
346 color: #14866d;
347 }
348
349 /* general info/warning box for SP */
350 .mw-infobox {
351 border: 2px solid #fc3;
352 margin: 0.5em;
353 clear: left;
354 overflow: hidden;
355 }
356
357 .mw-infobox-left {
358 margin: 7px;
359 float: left;
360 width: 35px;
361 }
362
363 .mw-infobox-right {
364 margin: 0.5em 0.5em 0.5em 49px;
365 }
366
367 /* Note on preview page */
368 .previewnote {
369 margin-bottom: 1em;
370 }
371
372 .visualClear {
373 clear: both;
374 }
375
376 /**
377 * Data table style
378 *
379 * Table with suddle borders
380 * and row-highlighting.
381 */
382 .mw-datatable {
383 border: 1px solid #a2a9b1;
384 border-collapse: collapse;
385 }
386
387 .mw-datatable td,
388 .mw-datatable th {
389 border: 1px solid #a2a9b1;
390 padding: 0.2em 0.4em;
391 }
392
393 .mw-datatable th {
394 background-color: #eaeeff;
395 }
396
397 .mw-datatable td {
398 background-color: #fff;
399 }
400
401 .mw-datatable tr:hover td {
402 background-color: #eaf3ff;
403 }
404
405 /* Images */
406
407 /* @noflip */ div.tright,
408 div.floatright,
409 table.floatright {
410 clear: right;
411 float: right;
412 }
413
414 /* @noflip */ div.tleft,
415 div.floatleft,
416 table.floatleft {
417 float: left;
418 clear: left;
419 }
420
421 div.floatright,
422 table.floatright,
423 div.floatleft,
424 table.floatleft {
425 position: relative;
426 }
427
428 /* T14205 */
429 #mw-credits a {
430 unicode-bidi: embed;
431 }
432
433 /* Print footer should be hidden by default in screen. */
434 .printfooter {
435 display: none;
436 }
437
438 /* For developers */
439 .xdebug-error {
440 position: absolute;
441 z-index: 99;
442 }
443
444 .mw-editsection {
445 -moz-user-select: none;
446 -webkit-user-select: none;
447 -ms-user-select: none;
448 user-select: none;
449 }
450
451 /* Display editsection links smaller and next to headings */
452 .mw-editsection,
453 .mw-editsection-like {
454 font-size: small;
455 font-weight: normal;
456 margin-left: 1em;
457 vertical-align: baseline;
458 /* Reset line-height; headings tend to have it set to larger values */
459 line-height: 1em;
460 }
461
462 /* Correct directionality when page dir is different from site/user dir */
463 /* @noflip */
464 .mw-content-ltr .mw-editsection,
465 .mw-content-rtl .mw-content-ltr .mw-editsection {
466 margin-left: 1em;
467 }
468
469 /* @noflip */
470 .mw-content-rtl .mw-editsection,
471 .mw-content-ltr .mw-content-rtl .mw-editsection {
472 margin-right: 1em;
473 }
474
475 /* Prevent citations and subscripts from interfering with the line-height */
476 sup,
477 sub {
478 line-height: 1;
479 }