MediaWiki:Common.css
Aller à la navigation
Aller à la recherche
Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
- Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
- Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
- Opera : appuyez sur Ctrl + F5.
1 /** Le CSS placé ici sera appliqué à toutes les apparences. */
2
3 /*
4 <pre>
5 */
6
7 /* Badges */
8
9 div.appear {
10 width: 184px;
11 border: red 2px solid;
12 background:#F8F8F8;
13 position: absolute;
14 top: 10px;
15 left:-6px;
16 display:none;
17 padding: 0 3px 3px 3px;
18 z-index: 1000000;
19 }
20
21 div.appear_left {
22 width: 184px;
23 border: red 2px solid;
24 background:#F8F8F8;
25 position: absolute;
26 top: 10px;
27 left:-50%;
28 display:none;
29 padding: 0 3px 3px 3px;
30 z-index: 1000000;
31 }
32
33 div.badge {
34 cursor:pointer;
35 position: relative;
36 display: inline-block;
37 border: green 1px solid;
38 width: 130px;
39 margin-bottom: 3px;
40 }
41 div.badge:hover div.appear {
42 display:block;
43 }
44
45 /*front page */
46 @media screen {
47 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EAF5FB;}
48 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
49 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
50 }
51
52 @media print handheld {
53 #front_left {}
54 #front_right {}
55 }
56
57 /* Space out main section titles */
58 h2 {margin-top:2.5ex;}
59 h3 {margin-top:1ex;}
60
61 table.wikitable,
62 table.prettytable {
63 margin: 1em 1em 1em 0;
64 background: #f9f9f9;
65 border: 1px #aaaaaa solid;
66 border-collapse: collapse;
67 }
68
69 table.wikitable th, table.wikitable td,
70 table.prettytable th, table.prettytable td {
71 border: 1px #aaaaaa solid;
72 padding: 0.2em;
73 }
74
75 table.wikitable th,
76 table.prettytable th {
77 background: #f2f2f2;
78 text-align: center;
79 }
80
81 table.wikitable caption,
82 table.prettytable caption {
83 margin-left: inherit;
84 margin-right: inherit;
85 }
86
87 /* Removes useless links from printout */
88 @media print {
89 .portlet, #privacy, #about, #disclaimer {display:none;}
90 }
91
92
93 /* Banner Styles used in EduTech wiki
94 - use class names like Banner_xxxx
95 */
96
97 .Banner_incomplete {
98 float:right;
99 clear:right;
100 width:200px;
101 border:1px solid orange;
102 background-color:#FFFACD;
103 padding:7px;
104 margin-bottom: 10px;
105 margin-left: 1em;
106 }
107
108 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
109 ul.pageby {
110 border:1px solid #60606F;
111 background-color:#E0E0EF;
112 font-size: 80%;
113 margin:1ex;
114 padding:1ex;
115 list-style-type:none;
116 }
117
118 .Banner_tutorial {
119 float:right;
120 clear:right;
121 width:200px;
122 border:1px solid blue;
123 background-color:#F8C9E4;
124 padding:7px;
125 margin-bottom: 10px;
126 margin-left: 1em;
127 }
128
129 .tut_goals{
130 background-color:#F8C9E4;
131 padding:7px;
132 margin-bottom: 10px;
133 border:1px solid #AAAAAA;
134 }
135
136 .Banner_copyright{
137 background-color:#d0f0c0;
138 padding:7px;
139 margin-bottom: 10px;
140 border:1px solid #AAAAAA;
141 }
142
143 .tagcloud {
144 width: 95%;
145 text-align: center;
146 background-color: #FDFDFD;
147 border: 1px solid #EEEEEE;
148 padding: 15px 10px 15px 10px;
149 }
150 .tagcloud a {
151 color: #0052CB;
152 margin-left: 10px;
153 margin-right: 10px;
154 font-weight: bold;
155 }
156
157 code {
158 border: 1px solid #ddd;
159 padding: 1px 4px;
160 border-radius: 2px;
161 }
162
163 /* category tree - first is just for portlet - second for all trees */
164 /*
165 #p-categorytree-portlet {font-size: 80% }
166 */
167 .CategoryTreeTag {font-size: 90%; }
168
169
170 /* Syntaxhighlight geshi */
171 div.mw-geshi {
172 border: 1px dotted grey;
173 padding: 2px;
174 margin-left:1em;
175 font-size: 120%;
176 margin-top:2px;
177 margin-right:2px;
178 margin-bottom:2px
179 }
180
181
182 .sidebar_banner {
183 margin-top: 5px;
184 margin-bottom: 5px;
185 }
186
187 h3 .editsection { font-size: 76%; font-weight: normal; }
188 h4 .editsection { font-size: 86%; font-weight: normal; }
189 h5 .editsection { font-weight: normal; }
190 h6 .editsection { font-size: 125%; font-weight: normal; }
191
192 /* Contribution Scores */
193 .contributionscores-wrapper { font-size: 80%; }
194 .contributionscores-title { margin-left: 0; padding-left: 0em; margin-bottom: 0;}
195 .contributionscores .header { border-bottom: 1px solid #999999; font-weight: bold; }
196 .contributionscores .odd { background-color: #eeeeee; }
197 .contributionscores .header td { padding-left: .2em; padding-right: .2em; }
198 .contributionscores .content { padding-left: .2em; padding-right: .2em; }
199
200 .GoBlock{
201 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
202 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
203 box-shadow:inset 0px 1px 0px 0px #ffffff;
204 background:rgb(200, 230, 140);
205 background-image: linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
206 background-image: -webkit-linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
207 -webkit-border-radius: 6px;
208 -moz-border-radius: 6px;
209 border-radius: 6px;
210 text-indent:0;
211 border:1px solid rgb(155,185,95);
212 display:inline-block;
213 color:#333333;
214 font-family:arial;
215 font-size:13px;
216 font-style:normal;
217 text-decoration:none;
218 -webkit-box-sizing: border-box;
219 -moz-box-sizing: border-box;
220 box-sizing: border-box;
221 padding:0px 8px;
222 text-align:center;
223 line-height:2.5em;
224 }
225
226 .StopBlock{
227 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
228 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
229 box-shadow:inset 0px 1px 0px 0px #ffffff;
230 background:rgb(200, 230, 140);
231 background-image: linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
232 background-image: -webkit-linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
233 -webkit-border-radius: 6px;
234 -moz-border-radius: 6px;
235 border-radius: 6px;
236 text-indent:0;
237 border:1px solid rgb(155,185,95);
238 display:inline-block;
239 color:#333333;
240 font-family:arial;
241 font-size:13px;
242 font-style:normal;
243 text-decoration:none;
244 -webkit-box-sizing: border-box;
245 -moz-box-sizing: border-box;
246 box-sizing: border-box;
247 padding:0px 8px;
248 text-align:center;
249 line-height:2.5em;
250 }
251
252 .tableBlue{
253 margin:auto;
254 background: #f9f9f9;
255 border-collapse: collapse;
256 width:98%;
257 text-align:center;
258 }
259
260 .tableBlue td{
261 border: 1px #aaaaaa solid;
262 padding:8px !important;
263 }
264
265 .tableBlue th{
266 background: rgb(200,220,240);
267 text-align: center;
268 font-weight:bold;
269 color:rgb(120,140,180);
270 padding: 8px 15px 8px 15px;
271 border: 1px #aaaaaa solid;
272 }
273
274 .tableBlue tr.row-odd{background:white;}
275 .tableBlue tr.row-even{background:rgb(235,245,255);}
276
277
278 /*
279 </pre>
280 */