Debian Codegraph @

resources/main.less

raw
1 @import "variables.less";
2
3 body {
4 font-family: sans-serif;
5 font-size: @smaller-text;
6 line-height: 1.5;
7 padding: 0;
8 margin: 0;
9 color: #000;
10 background: @bold-bkg;
11 }
12
13 #content-header .mobileClear {
14 display: none;
15 }
16
17 a {
18 text-decoration: none;
19 color: @link-normal;
20
21 &:visited {
22 color: darken( @link-normal, 10% );
23 }
24 }
25
26 #p-personal a.new,
27 .new a,
28 a.new {
29 color: @link-red;
30
31 &:visited {
32 color: darken( @link-red, 10% );
33 }
34 }
35
36 a.external,
37 .mw-parser-output a.external {
38 color: @link-ext;
39
40 &:visited {
41 color: darken( @link-ext, 15% );
42 }
43 }
44
45 .center,
46 .center * {
47 margin: auto;
48 text-align: center;
49 }
50
51 .visualClear {
52 clear: both;
53 }
54
55 .mw-empty-elt {
56 display: none;
57 }
58
59 /* Set up appearance */
60
61 #header-container {
62 border-bottom: solid 1px @bold-border;
63 }
64
65 #header-navigation-container {
66 background: #fff;
67 }
68
69 #content-container {
70 background: #fff;
71 border-bottom: solid 1px @bold-border;
72 }
73
74 #header-top,
75 #header-navigation,
76 #content,
77 #footer {
78 .widths();
79 margin: auto;
80 padding: 1.5em 1.5em 0.75em;
81 word-wrap: break-word;
82 }
83
84 #content {
85 padding-top: 0;
86 padding-bottom: 0;
87 }
88
89 /*
90 *
91 * HEADER STUFF
92 *
93 */
94 #header-top-container {
95 padding: 0.5em 1.5em;
96 }
97
98 #header-top {
99 padding: 0;
100
101 .p-logo {
102 height: 50px;
103 width: auto;
104 float: left;
105 margin: 0.5em 0.75em 0.5em 0;
106 }
107 }
108
109 /* Banner stuff */
110 a.mw-wiki-logo {
111 display: block;
112 width: 50px;
113 height: 50px;
114 float: left;
115 background-position: center center;
116 background-repeat: no-repeat;
117 background-size: contain;
118 }
119
120 #p-banner {
121 float: left;
122
123 &.full-banner .sitetitle {
124 padding-top: 0.45em;
125 }
126
127 .wordmark-text {
128 font-size: 210%;
129 }
130 }
131
132 .wordmark-text {
133 line-height: 1.25;
134 }
135
136 a .p-banner {
137 color: #888;
138
139 .wordmark-text {
140 opacity: 0.9;
141 /* @noflip */
142 text-shadow: 0 -1px 0 #333, 0 2px 1px #fff;
143 }
144
145 &:hover {
146 text-decoration: none;
147 }
148 }
149
150 .mw-indicators {
151 float: right;
152 margin-left: 0.5em;
153 font-size: @smaller-text;
154
155 .mw-indicator {
156 margin: 1.125em 0 0.5em 0.75em;
157 }
158 }
159
160 .sitesubtitle {
161 font-style: italic;
162 font-size: @smaller-text;
163 line-height: 1.2em;
164 }
165
166 /* Search stuff */
167 #p-search {
168 float: right;
169 clear: right;
170 margin-top: 0.5em;
171 margin-top: -2px ~"!ie";
172 margin-bottom: 0;
173 margin-bottom: -8px ~"!ie";
174 font-size: @smaller-text;
175
176 h3 {
177 .hidden();
178 }
179
180 #searchInput-container-container {
181 display: inline-block;
182 }
183
184 #searchInput {
185 width: 20em;
186 border: solid 1px #ccc;
187 }
188
189 #searchGoButton {
190 border: solid 1px #bbb;
191 height: 30px ~"!ie";
192 min-width: 4em;
193 margin: 8px 0 ~"!ie";
194 }
195
196 .searchButton {
197 margin-left: 0.5em;
198 }
199 }
200
201 #header-navigation-container {
202 border-bottom: solid 1px @soft-border;
203 }
204
205 /* Echo junk */
206
207 #p-personal,
208 #p-personal-extra,
209 #p-personal-extra ul,
210 #p-personal-extra li {
211 display: inline-block;
212 float: right;
213 }
214
215 #p-personal-extra {
216 margin: 0 0 0 0;
217
218 ul {
219 list-style: none;
220 margin: 0 -0.5em 0 1em;
221 padding: 0;
222 }
223
224 li {
225 margin: 0 0.75em 0 0;
226 }
227 }
228
229 /*
230 *
231 * FOOTER STUFF
232 *
233 */
234 #footer-banner {
235 float: left;
236 padding-right: 3em;
237 text-align: center;
238
239 .wordmark-text {
240 font-size: 150%;
241 }
242
243 .sitesubtitle {
244 font-size: @smaller-text;
245 }
246
247 a.mw-wiki-logo {
248 float: none;
249 }
250
251 .p-logo {
252 width: 100px;
253 height: auto;
254 margin: auto;
255 }
256
257 a.mw-wiki-logo {
258 width: 100px;
259 height: 120px;
260 }
261 }
262
263 #footer-bottom {
264 font-size: @smaller-text;
265 color: @text-grey;
266 padding-top: 0.5em;
267 clear: both;
268
269 li {
270 list-style: none;
271 }
272
273 ul {
274 padding: 0;
275 }
276 }
277
278 .footer-icons {
279 float: right;
280 margin-left: 1em;
281 }
282
283 #footer-list {
284 margin: 1em 0 0;
285 padding: 0;
286 font-size: @smaller-text;
287 }
288
289 #footer-places li {
290 display: inline-block;
291 margin: 0 1em 0 0;
292 }
293
294 #footer-navigation {
295 padding-top: 0;
296 font-size: @smaller-text;
297
298 h3 {
299 color: @text-grey;
300 margin: 0 0 1em;
301 font-size: @smaller-text;
302 }
303
304 a {
305 color: @link-grey;
306 }
307
308 ul {
309 margin: 0;
310 padding: 0;
311 list-style: none;
312 }
313
314 .mw-portlet {
315 float: left;
316
317 padding: 0 1.5em;
318
319 li {
320 font-size: @smaller-text;
321 }
322 }
323
324 .navigation .mw-portlet:first-of-type {
325 padding-left: 0;
326 }
327
328 .navigation-tools .mw-portlet:last-of-type {
329 padding-right: 0;
330 }
331
332 .navigation-tools ul {
333 columns: 2 9em;
334 -moz-columns: 2 9em;
335 -webkit-columns: 2 9em;
336 }
337 }
338
339 /*
340 *
341 * Content header
342 *
343 */
344 #content-header-inner {
345 border-bottom: solid 1px @soft-border;
346 margin-top: 1px;
347 content: '';
348 margin-bottom: 0.75em;
349 }
350
351 #content-header {
352 border-bottom: solid 1px @soft-border;
353 padding-bottom: 0.25em;
354 padding-top: 1.25em;
355
356 h3 {
357 .hidden();
358 }
359
360 #firstHeading {
361 font-size: 195%;
362 margin-top: 0.15em;
363 margin-bottom: 0;
364 padding-top: 0;
365 margin-right: 0.5em;
366 float: left;
367 }
368
369 h1, div, ul {
370 display: inline-block;
371 *display: inline;
372 }
373
374 ul {
375 margin: 1em 0 0 0;
376 padding: 0;
377 list-style: none;
378 text-shadow: none;
379 font-variant: normal;
380 line-height: 1.1em;
381 font-size: @smaller-text;
382
383 li {
384 display: inline-block;
385 margin: 0.3em 0.75em 0 0;
386
387 &.selected a {
388 color: @text-grey;
389 }
390 }
391 }
392
393 #page-tools {
394 float: right;
395
396 ul li {
397 margin: 0.3em 0 0 0.75em;
398 }
399
400 #p-actions {
401 margin-left: 0.75em;
402 position: relative;
403
404 h3 {
405 position: unset;
406 font-size: @smaller-text;
407 margin: 0 0 0 1.5em;
408 padding: 0.6em 1.75em 0.5em 0;
409 display: inline-block;
410 background-repeat: no-repeat;
411 background-position: 100% 50%;
412 background-image: url( images/arrow-down.svg );
413 cursor: pointer;
414 }
415
416 .dropdown {
417 .generic-dropdown();
418 width: unset;
419 left: unset;
420 right: 0;
421 display: none;
422
423 li {
424 display: block;
425 margin: 0;
426 }
427 }
428
429 .client-nojs &:hover .dropdown {
430 display: block;
431 }
432 }
433 }
434 }
435
436 #ca-watch a,
437 #ca-unwatch a {
438 display: block;
439 background-repeat: no-repeat;
440 background-position: 100% 50%;
441 text-indent: -99999px;
442 width: 20px;
443 height: 20px;
444 overflow: hidden; // T174314
445 margin: -5px 0;
446 }
447
448 #ca-watch a {
449 background-image: url( images/star.svg );
450 }
451
452 #ca-unwatch a {
453 background-image: url( images/star-filled.svg );
454
455 &.mw-watchlink-temp {
456 background-image: url( images/star-half-filled.svg );
457 }
458 }
459
460 #siteNotice {
461 padding: 1em 0 0;
462 text-align: center;
463 font-size: @smaller-text;
464 }
465
466 /*
467 *
468 * CONTENT STUFF
469 *
470 */
471 #mw-content-text {
472 padding-bottom: 1.5em;
473 }
474
475 #siteSub {
476 display: none;
477 }
478
479 h1,
480 h2,
481 h3,
482 h4,
483 h5,
484 h6,
485 dt {
486 line-height: 1.1em;
487 font-weight: normal;
488 color: @header-grey;
489 margin: 2em 0 0.5em;
490 }
491
492 #mw-content-text {
493 h1,
494 h2 {
495 border-bottom: solid 1px @soft-border;
496 }
497
498 .toc h2 {
499 border-bottom: none;
500 }
501 }
502
503 h1 {
504 font-size: 200%;
505 color: @text-grey;
506 }
507
508 h2 {
509 font-size: 170%;
510 }
511
512 h3 {
513 font-size: 140%;
514 }
515
516 h4 {
517 font-size: 125%;
518 }
519
520 h5 {
521 font-size: 110%;
522 color: #333;
523 }
524
525 h6,
526 dt {
527 font-size: 100%;
528 color: #000;
529 }
530
531 .toctoggle,
532 .mw-editsection-bracket,
533 .mw-editsection-divider,
534 // wtf VE
535 .client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
536 .client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
537 .client-js .mw-content-ltr .mw-editsection-bracket:last-of-type,
538 .client-js .mw-content-rtl .mw-editsection-bracket:not(:last-of-type) {
539 color: #aaa;
540 }
541
542 .mw-editsection {
543 text-shadow: none;
544 }
545
546 hr {
547 border: 1px @soft-border;
548 border-style: solid none none none;
549 }
550
551 pre {
552 overflow: auto;
553 white-space: pre-wrap;
554 }
555
556 #catlinks {
557 font-size: @smaller-text;
558 border-top: solid 1px @soft-border;
559 margin: 1.75em 0 0;
560 padding: 0.45em 0 0.35em;
561 color: @fluff-grey;
562
563 li {
564 border: none;
565 padding-right: 0.75em;
566 }
567 }
568
569 #contentSub {
570 font-size: @smaller-text;
571 margin: 0;
572 border-bottom: solid 1px @soft-border;
573 padding: 0.25em 0 0.1em;
574 color: @fluff-grey;
575
576 a {
577 color: @link-grey;
578 }
579 }
580
581 /* Tables of contents */
582 ul#filetoc {
583 border: none;
584 border-bottom: 1px solid @soft-border;
585 background: transparent;
586 margin-top: 1em;
587 padding: 0;
588
589 a {
590 color: @link-grey;
591 }
592 }
593
594 #toc,
595 .toc,
596 .mw-warning {
597 font-size: @smaller-text;
598 padding: 1em 0 0.5em 0;
599 border-bottom: solid 1px @soft-border;
600 color: @text-grey;
601 display: inline-block;
602 }
603
604 #toc a,
605 .mw-editsection a {
606 color: @link-grey;
607 }
608
609 .toc ul {
610 list-style: none;
611 }
612
613 .toc h2 {
614 font-size: 120%;
615 margin-top: 0.5em;
616 margin-right: 1em;
617 display: inline-block;
618 }
619
620 #toc #toctitle {
621 border-bottom: solid 1px @soft-border;
622 margin-bottom: 1em;
623 }
624
625 /* Thumbnails */
626 .tright {
627 margin: 0 0 0.5em 0.5em;
628
629 .thumbinner {
630 padding: 0 0 1em 1.5em;
631 background: #fff;
632 }
633 }
634
635 .tleft {
636 margin: 0 0.5em 0.5em 0;
637
638 .thumbinner {
639 padding: 0 1.5em 1em 0;
640 background: #fff;
641 }
642 }
643
644 .thumbcaption {
645 font-size: @smaller-text;
646 border-bottom: solid 1px @soft-border;
647 padding-bottom: 1em;
648 }
649
650 .thumbinner img {
651 border: solid 1px @soft-border;
652 }
653
654 div.magnify a {
655 display: block;
656 width: 20px;
657 height: 20px;
658 margin: 0 0 0.5em 0.5em;
659 background-image: url( images/magnify-ltr.svg );
660 }