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
64 table.formtable {
65 width: 100%;
66 margin: 5px 0 0;
67 padding: 0.3em 0.2em 0.2em 0.2em;
68 background: transparent;
69 border: 1px dotted grey;
70 border-radius: 2px;
71 background: #f9f9f9;
72 }
73
74 table.formtable caption {
75 color:blue;
76 text-align:left;
77 font-size:12pt;
78 }
79
80 /* Infobox template style */
81
82 .infobox {
83 border: 1px solid #aaaaaa;
84 width:270px;
85 background-color: #f9f9f9;
86 color: black;
87 margin-bottom: 0.5em;
88 margin-left: 1em;
89 padding: 0.2em;
90 float: right;
91 }
92 .infobox td,
93 .infobox th {
94 border: 2px none #aaaaaa;
95 padding: 0.2em 0.5em;
96 border-bottom: 1px solid #f0f0f0 !important;
97 }
98 .infobox caption {
99 font-size: larger;
100 margin-left: inherit;
101 }
102 .infobox.bordered {
103 border-collapse: collapse;
104 }
105 .infobox.bordered td,
106 .infobox.bordered th {
107 border: 1px solid #aaaaaa;
108 }
109 .infobox.bordered .borderless td,
110 .infobox.bordered .borderless th {
111 border: 0;
112 }
113
114 .infobox.sisterproject {
115 width: 20em;
116 font-size: 90%;
117 }
118
119 /* styles for bordered infobox with merged rows */
120 .infobox.bordered .mergedtoprow td,
121 .infobox.bordered .mergedtoprow th {
122 border: 0;
123 border-top: 1px solid #aaaaaa;
124 border-right: 1px solid #aaaaaa;
125 }
126
127 .infobox.bordered .mergedrow td,
128 .infobox.bordered .mergedrow th {
129 border: 0;
130 border-right: 1px solid #aaaaaa;
131 }
132
133
134 /* Removes useless links from printout */
135 @media print {
136 .portlet, #privacy, #about, #disclaimer {display:none;}
137 }
138
139 /* Banner Styles used in EduTech wiki
140 - use class names like Banner_xxxx
141 */
142
143 .Banner_incomplete {
144 float:right;
145 clear:right;
146 width:200px;
147 border:1px solid orange;
148 background-color:#FFFACD;
149 padding:7px;
150 margin-bottom: 10px;
151 margin-left: 1em;
152 }
153
154 .Banner_tutorial {
155 float:right;
156 clear:right;
157 width:200px;
158 border:1px solid blue;
159 background-color:#F8C9E4;
160 padding:7px;
161 margin-bottom: 10px;
162 margin-left: 1em;
163 }
164
165 .tut_goals{
166 background-color:#F8C9E4;
167 padding:7px;
168 margin-bottom: 10px;
169 border:1px solid #AAAAAA;
170 }
171
172 .Banner_copyright{
173 background-color:#d0f0c0;
174 padding:7px;
175 margin-bottom: 10px;
176 border:1px solid #AAAAAA;
177 }
178
179 /* Style for the source code tag */
180
181 .actionscript{
182 background-color:#FFFFEE;
183 padding:7px;
184 margin-bottom: 10px;
185 border:1px #AAAAAA solid;
186 }
187
188 /* Tag cloud extension CSS */
189
190 .tagcloud {
191 width: 95%;
192 text-align: center;
193 background-color: #FDFDFD;
194 border: 1px solid #EEEEEE;
195 padding: 15px 10px 15px 10px;
196 }
197 .tagcloud a {
198 color: #0052CB;
199 margin-left: 10px;
200 margin-right: 10px;
201 font-weight: bold;
202 }
203
204 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
205 ul.pageby {
206 border:1px solid #60606F;
207 background-color:#E0E0EF;
208 font-size: 80%;
209 margin:1ex;
210 padding:1ex;
211 list-style-type:none;
212 }
213
214 /* category tree - first is just for portlet - second for all trees */
215 #p-categorytree-portlet {font-size: 85% }
216 .CategoryTreeTag {font-size: 85%; }
217
218 /* Syntaxhighlight geshi */
219 div.mw-geshi {
220 border: 1px dotted grey;
221 padding: 2px;
222 margin-left:1em;
223 margin-top:2px;
224 margin-right:2px;
225 margin-bottom:2px;
226 font-size: 120%
227 }
228
229 code {
230 border: 1px solid #ddd;
231 padding: 1px 4px;
232 border-radius: 2px;
233 }
234
235 /*
236 </pre>
237 */
238
239 /* ------------------------- class for fluid two columns layout -------------------------*/
240
241 .leftFifty {
242 width:50%;
243 float:left;
244
245 }
246 .rightFifty {
247 width:50%;
248 float:right;
249 }
250
251 .leftSixty {
252 width:60%;
253 float:left;
254 }
255 .rightForty {
256 width:40%;
257 float:right
258 }
259
260 .CS_rightImg{
261 box-shadow:1px 1px 2px;
262 display:inline-block;
263 margin:8px auto;
264 width:280px;}
265
266 @media screen and (max-width: 1280px) {
267 .leftFifty {
268 width:100%;
269 }
270 .rightFifty {
271 left: 0;
272 width:100%;
273 position:relative;
274 }
275 .leftSixty {
276 width:100%;
277 }
278 .rightForty {
279 left: 0;
280 width:100%;
281 position:relative;
282 }
283
284 .CS_left{
285 position:relative;
286 float:none;
287 width:100%;
288 }
289 .CS_rightImg{
290 box-shadow:1px 1px 2px;
291 display:inline-block;
292 margin:8px auto;
293 width:280px;}
294 .CS_right{
295 position:relative;
296 float:none;
297 width:100%;
298 }
299 }
300
301 /* ------------------------- class for citizen science project template-------------------------*/
302
303 .decorativeBlueCell{
304 width:20px;
305 border: 1px solid rgb(200,215,230);
306 text-align:center;
307 color:black;
308 font-weight:bold;
309 box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset,1px 0px 3px rgba(0,0,0,0.1);
310 padding:8px;
311 background:rgb(230, 242, 255);
312 background-image: linear-gradient(to right, #cfdbeb 0%,#d7e6f0 100%);
313 background-image:-webkit-linear-gradient(right, #cfdbeb 0%,#d7e6f0 100%);
314 }
315
316 .decorativeGreyCell{
317 width:20px;
318 border: 1px solid rgb(200,200,200);
319 text-align:center;
320 color:black;
321 font-weight:bold;
322 box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset,1px 0px 3px rgba(0,0,0,0.1);
323 padding:8px;
324 background:rgb(242, 242, 242);
325 background-image: linear-gradient(to right, #d7d7d7 0%,#e6e6e6 100%);
326 background-image:-webkit-linear-gradient(right, #d7d7d7 0%,#e6e6e6 100%);
327 }
328
329 table.CS_wikitable{
330 border-collapse: collapse;
331 width:98%;
332 text-align:justify;
333 margin:0px 15px 15px 0px;
334 }
335
336 table.CS_wikitable td{
337 padding:7px;
338 border: 1px solid rgb(200,200,200);
339 }
340
341 .CStable_h1{
342 font-weight:bold;
343 height:25px;
344 font-size:133%;
345 }
346
347 .CStable_h2grey{
348 text-transform:uppercase;
349 color:#777777;
350 font-weight:bold;
351 font-size:113%;
352 }
353 .CStable_h2blue{
354 text-transform:uppercase;
355 color:#85A4D3;
356 font-weight:bold;
357 font-size:113%;
358 }
359
360
361 .blueBlock{
362 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
363 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
364 box-shadow:inset 0px 1px 0px 0px #ffffff;
365 background:rgb(190, 209, 225);
366 background-image: linear-gradient(rgb(219, 232, 248), rgb(190, 209, 225));
367 background-image: -webkit-linear-gradient(rgb(219, 232, 248), rgb(190, 209, 225)));
368 -webkit-border-radius: 6px;
369 -moz-border-radius: 6px;
370 border-radius: 6px;
371 text-indent:0;
372 border:1px solid rgb(175, 194, 209);
373 display:inline-block;
374 color:#333333;
375 font-family:arial;
376 font-size:13px;
377 font-style:normal;
378 text-decoration:none;
379 margin:0px 0px 10px 1%;
380 padding:0px 8px;
381 line-height:90px;
382 width:44%;
383 }
384
385 .blueBlock b{
386 color:rgb(60, 84, 139);
387 }
388
389 .greenBlock{
390 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
391 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
392 box-shadow:inset 0px 1px 0px 0px #ffffff;
393 background:rgb(160, 190, 100);
394 background-image: linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
395 background-image: -webkit-linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
396 -webkit-border-radius: 6px;
397 -moz-border-radius: 6px;
398 border-radius: 6px;
399 text-indent:0;
400 border:1px solid rgb(155,185,95);
401 display:inline-block;
402 color:#333333;
403 font-family:arial;
404 font-size:12px;
405 font-style:normal;
406 text-decoration:none;
407 margin:0px 0px 10px 1%;
408 padding:0px 8px;
409 line-height:90px;
410 width:44%;
411 }
412
413 .greenBlock b{
414 color:rgb(70, 95, 60);
415 }
416
417
418
419 .greyBlock{
420 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
421 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
422 box-shadow:inset 0px 1px 0px 0px #ffffff;
423 background:rgb(230, 230, 230);
424 background-image: linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
425 background-image: -webkit-linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
426 -webkit-border-radius: 6px;
427 -moz-border-radius: 6px;
428 border-radius: 6px;
429 text-indent:0;
430 border:1px solid rgb(207,207,207);
431 display:inline-block;
432 color:#333333;
433 font-family:arial;
434 font-size:12px;
435 font-style:normal;
436 text-decoration:none;
437 margin:0px 0px 10px 1%;
438 padding:0px 8px;
439 line-height:90px;
440 width:44%;
441 }
442
443 .whiteBlock{
444 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
445 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
446 box-shadow:inset 0px 1px 0px 0px #ffffff;
447 background:rgb(244, 244, 244);
448 background-image: linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
449 background-image: -webkit-linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
450 -webkit-border-radius: 6px;
451 -moz-border-radius: 6px;
452 border-radius: 6px;
453 text-indent:0;
454 border:1px solid rgb(207,207,207);
455 display:inline-block;
456 color:#333333;
457 font-family:arial;
458 font-size:12px;
459 font-style:normal;
460 text-decoration:none;
461 margin:0px 0px 10px 1%;
462 padding:0px 8px;
463 height:90px;
464 width:44%;
465 }