MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(using an external editor) |
||
Line 1: | Line 1: | ||
/** CSS placed here will be applied to all skins */ | /** CSS placed here will be applied to all skins */ | ||
/* | |||
<pre> | |||
*/ | |||
.hiddenStructure {display: none} | |||
.if {display: none} | |||
/* wikitable/prettytable class for skinning normal tables */ | |||
table.wikitable, | |||
table.prettytable { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #aaaaaa solid; | |||
border-collapse: collapse; | |||
} | |||
table.wikitable th, table.wikitable td, | |||
table.prettytable th, table.prettytable td { | |||
border: 1px #aaaaaa solid; | |||
padding: 0.2em; | |||
} | |||
table.wikitable th, | |||
table.prettytable th { | |||
background: #f2f2f2; | |||
text-align: center; | |||
} | |||
table.wikitable caption, | |||
table.prettytable caption { | |||
margin-left: inherit; | |||
margin-right: inherit; | |||
} | |||
.allpagesredirect { | |||
font-style: italic; | |||
} | |||
/* Infobox template style */ | |||
.infobox { | |||
border: 1px solid #aaaaaa; | |||
background-color: #f9f9f9; | |||
color: black; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
} | |||
.infobox td, | |||
.infobox th { | |||
vertical-align: top; | |||
} | |||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
} | |||
.infobox.bordered { | |||
border-collapse: collapse; | |||
} | |||
.infobox.bordered td, | |||
.infobox.bordered th { | |||
border: 1px solid #aaaaaa; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border: 0; | |||
} | |||
.infobox.sisterproject { | |||
width: 20em; | |||
font-size: 90%; | |||
} | |||
/* Removes useless links from printout */ | |||
@media print { | |||
#privacy, #about, #disclaimer {display:none;} | |||
} | |||
/* | |||
</pre> | |||
*/ |
Revision as of 15:52, 20 July 2006
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 /* Removes useless links from printout */
82 @media print {
83 #privacy, #about, #disclaimer {display:none;}
84 }
85
86 /*
87 </pre>
88 */