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 .hidden {display:none}
9 .if {display: none}
10
11 /*front page */
12 /* CCFFFF = bright light blue */
13 @media screen {
14 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EBFFFF;}
15 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
16 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
17 }
18
19 @media print handheld {
20 #front_left {}
21 #front_right {}
22 }
23
24 /* Space out main section titles */
25 h2 {margin-top:3.5ex;}
26 h3 {margin-top:2ex;}
27
28 #GooglesearchBody input{ font-size: 80%; }
29
30 /* wikitable/prettytable class for skinning normal tables */
31
32 table.wikitable,
33 table.prettytable {
34 margin: 1em 1em 1em 0;
35 background: #f9f9f9;
36 border: 1px #aaaaaa solid;
37 border-collapse: collapse;
38 }
39
40 table.wikitable th, table.wikitable td,
41 table.prettytable th, table.prettytable td {
42 border: 1px #aaaaaa solid;
43 padding: 0.2em;
44 }
45
46 table.wikitable th,
47 table.prettytable th {
48 background: #f2f2f2;
49 text-align: center;
50 }
51
52 table.wikitable caption,
53 table.prettytable caption {
54 margin-left: inherit;
55 margin-right: inherit;
56 }
57
58 .allpagesredirect {
59 font-style: italic;
60 }
61
62 /* Overrides for semantic forms tables - SemanticForms/skins/SemanticForms.css */
63 table.formtable caption {
64 text-align:left;
65 font-size:12pt;
66 margin: 5px 0 0;
67 padding: 0.3em 0.2em 0.2em 0.2em;
68 border: 1px black solid;
69 }
70
71 /* Infobox template style */
72
73 .infobox {
74 border: 1px solid #aaaaaa;
75 width:270px;
76 background-color: #f9f9f9;
77 color: black;
78 margin-bottom: 0.5em;
79 margin-left: 1em;
80 padding: 0.2em;
81 float: right;
82 }
83 .infobox td,
84 .infobox th {
85 border: 2px none #aaaaaa;
86 padding: 0.2em 0.5em;
87 border-bottom: 1px solid #f0f0f0 !important;
88 }
89 .infobox caption {
90 font-size: larger;
91 margin-left: inherit;
92 }
93 .infobox.bordered {
94 border-collapse: collapse;
95 }
96 .infobox.bordered td,
97 .infobox.bordered th {
98 border: 1px solid #aaaaaa;
99 }
100 .infobox.bordered .borderless td,
101 .infobox.bordered .borderless th {
102 border: 0;
103 }
104
105 .infobox.sisterproject {
106 width: 20em;
107 font-size: 90%;
108 }
109
110 /* styles for bordered infobox with merged rows */
111 .infobox.bordered .mergedtoprow td,
112 .infobox.bordered .mergedtoprow th {
113 border: 0;
114 border-top: 1px solid #aaaaaa;
115 border-right: 1px solid #aaaaaa;
116 }
117
118 .infobox.bordered .mergedrow td,
119 .infobox.bordered .mergedrow th {
120 border: 0;
121 border-right: 1px solid #aaaaaa;
122 }
123
124
125 /* Removes useless links from printout */
126 @media print {
127 .portlet, #privacy, #about, #disclaimer {display:none;}
128 }
129
130 /* Banner Styles used in EduTech wiki
131 - use class names like Banner_xxxx
132 */
133
134 .Banner_incomplete {
135 float:right;
136 clear:right;
137 width:200px;
138 border:1px solid orange;
139 background-color:#FFFACD;
140 padding:7px;
141 margin-bottom: 10px;
142 margin-left: 1em;
143 }
144
145 .Banner_tutorial {
146 float:right;
147 clear:right;
148 width:200px;
149 border:1px solid blue;
150 background-color:#F8C9E4;
151 padding:7px;
152 margin-bottom: 10px;
153 margin-left: 1em;
154 }
155
156 .tut_goals{
157 background-color:#F8C9E4;
158 padding:7px;
159 margin-bottom: 10px;
160 border:1px solid #AAAAAA;
161 }
162
163 .Banner_copyright{
164 background-color:#d0f0c0;
165 padding:7px;
166 margin-bottom: 10px;
167 border:1px solid #AAAAAA;
168 }
169
170 /* Style for the source code tag */
171
172 .actionscript{
173 background-color:#FFFFEE;
174 padding:7px;
175 margin-bottom: 10px;
176 border:1px #AAAAAA solid;
177 }
178
179 /* Tag cloud extension CSS */
180
181 .tagcloud {
182 width: 95%;
183 text-align: center;
184 background-color: #FDFDFD;
185 border: 1px solid #EEEEEE;
186 padding: 15px 10px 15px 10px;
187 }
188 .tagcloud a {
189 color: #0052CB;
190 margin-left: 10px;
191 margin-right: 10px;
192 font-weight: bold;
193 }
194
195 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
196 ul.pageby {
197 border:1px solid #60606F;
198 background-color:#E0E0EF;
199 font-size: 80%;
200 margin:1ex;
201 padding:1ex;
202 list-style-type:none;
203 }
204
205 /* category tree - first is just for portlet - second for all trees */
206 #p-categorytree-portlet {font-size: 85% }
207 .CategoryTreeTag {font-size: 85%; }
208
209 /* Syntaxhighlight geshi */
210 div.mw-geshi {
211 border: 1px dotted grey;
212 padding: 2px;
213 margin-left:1em;
214 margin-top:2px;
215 margin-right:2px;
216 margin-bottom:2px;
217 font-size: 120%
218 }
219
220 code {
221 border: 1px solid #ddd;
222 padding: 1px 4px;
223 border-radius: 2px;
224 }
225
226 /*
227 </pre>
228 */