MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
1 /** CSS placed here will be applied to all skins */
2
3 /*
4 <pre>
5 */
6
7 .hiddenStructure {display: none}
8
9 .if {display: none}
10
11
12 /* wikitable/prettytable class for skinning normal tables */
13
14 table.wikitable,
15 table.prettytable {
16 margin: 1em 1em 1em 0;
17 background: #f9f9f9;
18 border: 1px #aaaaaa solid;
19 border-collapse: collapse;
20 }
21
22 table.wikitable th, table.wikitable td,
23 table.prettytable th, table.prettytable td {
24 border: 1px #aaaaaa solid;
25 padding: 0.2em;
26 }
27
28 table.wikitable th,
29 table.prettytable th {
30 background: #f2f2f2;
31 text-align: center;
32 }
33
34 table.wikitable caption,
35 table.prettytable caption {
36 margin-left: inherit;
37 margin-right: inherit;
38 }
39
40 .allpagesredirect {
41 font-style: italic;
42 }
43
44 /* Infobox template style */
45
46 .infobox {
47 border: 1px solid #aaaaaa;
48 background-color: #f9f9f9;
49 color: black;
50 margin-bottom: 0.5em;
51 margin-left: 1em;
52 padding: 0.2em;
53 float: right;
54 clear: right;
55 }
56 .infobox td,
57 .infobox th {
58 vertical-align: top;
59 }
60 .infobox caption {
61 font-size: larger;
62 margin-left: inherit;
63 }
64 .infobox.bordered {
65 border-collapse: collapse;
66 }
67 .infobox.bordered td,
68 .infobox.bordered th {
69 border: 1px solid #aaaaaa;
70 }
71 .infobox.bordered .borderless td,
72 .infobox.bordered .borderless th {
73 border: 0;
74 }
75
76 .infobox.sisterproject {
77 width: 20em;
78 font-size: 90%;
79 }
80
81 /* styles for bordered infobox with merged rows */
82 .infobox.bordered .mergedtoprow td,
83 .infobox.bordered .mergedtoprow th {
84 border: 0;
85 border-top: 1px solid #aaaaaa;
86 border-right: 1px solid #aaaaaa;
87 }
88
89 .infobox.bordered .mergedrow td,
90 .infobox.bordered .mergedrow th {
91 border: 0;
92 border-right: 1px solid #aaaaaa;
93 }
94
95
96 /* Removes useless links from printout */
97 @media print {
98 #privacy, #about, #disclaimer {display:none;}
99 }
100
101 /*
102 </pre>
103 */