MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(font-weight:bold;) |
No edit summary |
||
Line 289: | Line 289: | ||
background: #f2f2f2; | background: #f2f2f2; | ||
text-align: center; | text-align: center; | ||
font-weight:bold; | |||
color:#A0BE64; | |||
} | } | ||
Revision as of 20:51, 2 September 2013
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_right{
261 width:320px;
262 float:right;
263 text-align:center;}
264
265 .CS_left{display:block;}
266
267 .CS_rightImg{
268 box-shadow:1px 1px 2px;
269 display:inline-block;
270 margin:0px auto 8px auto;
271 width:300px;
272 }
273
274 .CS_semanticTableL{
275 margin: 8px auto;
276 background: #f9f9f9;
277 border-collapse: collapse;
278 }
279 .CS_semanticTableL td,
280 .CS_semanticTableL th,
281 .CS_semanticTableR td,
282 .CS_semanticTableR th{
283 border: 1px #aaaaaa solid;
284 padding: 0.2em;
285 }
286
287 .CS_semanticTableL th,
288 .CS_semanticTableR th{
289 background: #f2f2f2;
290 text-align: center;
291 font-weight:bold;
292 color:#A0BE64;
293 }
294
295 .CS_semanticTableR{
296 margin: 8px auto;
297 background: #f9f9f9;
298 border-collapse: collapse;
299 }
300
301 @media screen and (max-width: 1280px) {
302 .leftFifty {
303 width:100%;
304 }
305 .rightFifty {
306 left: 0;
307 width:100%;
308 position:relative;
309 }
310 .leftSixty {
311 width:100%;
312 }
313 .rightForty {
314 left: 0;
315 width:100%;
316 position:relative;
317 }
318
319 .CS_left{
320 position:relative;
321 float:none;
322 width:100%;
323 margin-top:10px;
324 }
325
326 .CS_rightImg{
327 box-shadow:1px 1px 2px;
328 display:inline-block;
329 margin:8px auto;
330 width:auto;
331 height:230px;}
332
333 .CS_rightImg img{width:auto;height:230px;}
334
335 #map_google3_1{width:340px !important;height:200px !important;}
336
337 .CS_right{
338 position:relative;
339 float:none;
340 width:100%;
341 }
342
343 }
344
345 /* ------------------------- class for citizen science project template-------------------------*/
346
347 .decorativeBlueCell{
348 width:20px;
349 border: 1px solid rgb(200,215,230);
350 text-align:center;
351 color:black;
352 font-weight:bold;
353 box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset,1px 0px 3px rgba(0,0,0,0.1);
354 padding:8px;
355 background:rgb(230, 242, 255);
356 background-image: linear-gradient(to right, #cfdbeb 0%,#d7e6f0 100%);
357 background-image:-webkit-linear-gradient(right, #cfdbeb 0%,#d7e6f0 100%);
358 }
359
360 .decorativeGreyCell{
361 width:20px;
362 border: 1px solid rgb(200,200,200);
363 text-align:center;
364 color:black;
365 font-weight:bold;
366 box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset,1px 0px 3px rgba(0,0,0,0.1);
367 padding:8px;
368 background:rgb(242, 242, 242);
369 background-image: linear-gradient(to right, #d7d7d7 0%,#e6e6e6 100%);
370 background-image:-webkit-linear-gradient(right, #d7d7d7 0%,#e6e6e6 100%);
371 }
372
373 table.CS_wikitable{
374 border-collapse: collapse;
375 width:98%;
376 text-align:justify;
377 margin:0px 15px 15px 0px;
378 }
379
380 table.CS_wikitable td{
381 padding:7px;
382 border: 1px solid rgb(200,200,200);
383 }
384
385 .CStable_h1{
386 font-weight:bold;
387 height:25px;
388 font-size:133%;
389 }
390
391 .CStable_h2grey{
392 text-transform:uppercase;
393 color:#777777;
394 font-weight:bold;
395 font-size:113%;
396 }
397 .CStable_h2blue{
398 text-transform:uppercase;
399 color:#85A4D3;
400 font-weight:bold;
401 font-size:113%;
402 }
403
404
405 .blueBlock{
406 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
407 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
408 box-shadow:inset 0px 1px 0px 0px #ffffff;
409 background:rgb(190, 209, 225);
410 background-image: linear-gradient(rgb(219, 232, 248), rgb(190, 209, 225));
411 background-image: -webkit-linear-gradient(rgb(219, 232, 248), rgb(190, 209, 225)));
412 -webkit-border-radius: 6px;
413 -moz-border-radius: 6px;
414 border-radius: 6px;
415 text-indent:0;
416 border:1px solid rgb(175, 194, 209);
417 display:inline-block;
418 color:#333333;
419 font-family:arial;
420 font-size:13px;
421 font-style:normal;
422 text-decoration:none;
423 margin:0px 0px 10px 1%;
424 padding:0px 8px;
425 line-height:90px;
426 width:44%;
427 }
428
429 .blueBlock b{
430 color:rgb(60, 84, 139);
431 }
432
433 .greenBlock{
434 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
435 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
436 box-shadow:inset 0px 1px 0px 0px #ffffff;
437 background:rgb(160, 190, 100);
438 background-image: linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
439 background-image: -webkit-linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
440 -webkit-border-radius: 6px;
441 -moz-border-radius: 6px;
442 border-radius: 6px;
443 text-indent:0;
444 border:1px solid rgb(155,185,95);
445 display:inline-block;
446 color:#333333;
447 font-family:arial;
448 font-size:12px;
449 font-style:normal;
450 text-decoration:none;
451 margin:0px 0px 10px 1%;
452 padding:0px 8px;
453 line-height:90px;
454 width:44%;
455 }
456
457 .greenBlock b{
458 color:rgb(70, 95, 60);
459 }
460
461
462
463 .greyBlock{
464 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
465 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
466 box-shadow:inset 0px 1px 0px 0px #ffffff;
467 background:rgb(230, 230, 230);
468 background-image: linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
469 background-image: -webkit-linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
470 -webkit-border-radius: 6px;
471 -moz-border-radius: 6px;
472 border-radius: 6px;
473 text-indent:0;
474 border:1px solid rgb(207,207,207);
475 display:inline-block;
476 color:#333333;
477 font-family:arial;
478 font-size:12px;
479 font-style:normal;
480 text-decoration:none;
481 margin:0px 0px 10px 1%;
482 padding:0px 8px;
483 line-height:90px;
484 width:44%;
485 }
486
487 .whiteBlock{
488 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
489 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
490 box-shadow:inset 0px 1px 0px 0px #ffffff;
491 background:rgb(244, 244, 244);
492 background-image: linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
493 background-image: -webkit-linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
494 -webkit-border-radius: 6px;
495 -moz-border-radius: 6px;
496 border-radius: 6px;
497 text-indent:0;
498 border:1px solid rgb(207,207,207);
499 display:inline-block;
500 color:#333333;
501 font-family:arial;
502 font-size:12px;
503 font-style:normal;
504 text-decoration:none;
505 margin:0px 0px 10px 1%;
506 padding:0px 8px;
507 height:90px;
508 width:44%;
509 }