« MediaWiki:Common.css » : différence entre les versions
Aller à la navigation
Aller à la recherche
mAucun résumé des modifications |
mAucun résumé des modifications |
||
Ligne 4 : | Ligne 4 : | ||
<pre> | <pre> | ||
*/ | */ | ||
/*front page */ | |||
@media screen { | |||
#front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EAF5FB;} | |||
#front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;} | |||
div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;} | |||
} | |||
@media print handheld { | |||
#front_left {} | |||
#front_right {} | |||
} | |||
table.wikitable, | table.wikitable, |
Version du 18 août 2011 à 12:22
1 /** Le CSS placé ici sera appliqué à toutes les apparences. */
2
3 /*
4 <pre>
5 */
6
7 /*front page */
8 @media screen {
9 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EAF5FB;}
10 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
11 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
12 }
13
14 @media print handheld {
15 #front_left {}
16 #front_right {}
17 }
18
19
20 table.wikitable,
21 table.prettytable {
22 margin: 1em 1em 1em 0;
23 background: #f9f9f9;
24 border: 1px #aaaaaa solid;
25 border-collapse: collapse;
26 }
27
28 table.wikitable th, table.wikitable td,
29 table.prettytable th, table.prettytable td {
30 border: 1px #aaaaaa solid;
31 padding: 0.2em;
32 }
33
34 table.wikitable th,
35 table.prettytable th {
36 background: #f2f2f2;
37 text-align: center;
38 }
39
40 table.wikitable caption,
41 table.prettytable caption {
42 margin-left: inherit;
43 margin-right: inherit;
44 }
45
46 /* Removes useless links from printout */
47 @media print {
48 .portlet, #privacy, #about, #disclaimer {display:none;}
49 }
50
51
52 /* Banner Styles used in EduTech wiki
53 - use class names like Banner_xxxx
54 */
55
56 .Banner_incomplete {
57 float:right;
58 clear:right;
59 width:200px;
60 border:1px solid orange;
61 background-color:#FFFACD;
62 padding:7px;
63 margin-bottom: 10px;
64 margin-left: 1em;
65 }
66
67 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
68 ul.pageby {
69 border:1px solid #60606F;
70 background-color:#E0E0EF;
71 font-size: 80%;
72 margin:1ex;
73 padding:1ex;
74 list-style-type:none;
75 }
76
77 .Banner_tutorial {
78 float:right;
79 clear:right;
80 width:200px;
81 border:1px solid blue;
82 background-color:#F8C9E4;
83 padding:7px;
84 margin-bottom: 10px;
85 margin-left: 1em;
86 }
87
88 .tut_goals{
89 background-color:#F8C9E4;
90 padding:7px;
91 margin-bottom: 10px;
92 border:1px solid #AAAAAA;
93 }
94
95 .Banner_copyright{
96 background-color:#d0f0c0;
97 padding:7px;
98 margin-bottom: 10px;
99 border:1px solid #AAAAAA;
100 }
101
102 .tagcloud {
103 width: 95%;
104 text-align: center;
105 background-color: #FDFDFD;
106 border: 1px solid #EEEEEE;
107 padding: 15px 10px 15px 10px;
108 }
109 .tagcloud a {
110 color: #0052CB;
111 margin-left: 10px;
112 margin-right: 10px;
113 font-weight: bold;
114 }
115
116
117 /* category tree - first is just for portlet - second for all trees */
118 #p-categorytree-portlet {font-size: 80% }
119 .CategoryTreeTag {font-size: 95%; }
120
121 /* Syntaxhighlight geshi */
122 .mw-geshi {
123 padding: 1px;
124 font-size: 120%;
125 margin-left:1em;
126 margin-top:1px;
127 margin-right:1px;
128 margin-bottom:1px
129 border: 2px dashed #2fab6f;
130 }
131
132 .sidebar_banner {
133 margin-top: 5px;
134 margin-bottom: 5px;
135 }
136
137 /*
138 </pre>
139 */