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 text-align: center;
41 }
42
43 div.badge:hover div.appear, div.badge:hover div.appear_left{
44 display:block;
45 }
46
47 /*front page */
48 @media only screen and (min-width: 768px){
49 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EAF5FB;}
50 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
51 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
52 }
53
54 @media print{
55 #front_left {}
56 #front_right {}
57 }
58
59 /* collection extension */
60
61 .onlyinprint {display: none}
62
63 /* Space out main section titles */
64 h1 {font-weight:bold;}
65 h2 {margin-top:2.5ex;}
66 h3 {margin-top:1ex;}
67
68 table.wikitable,
69 table.prettytable,
70 table.datatable {
71 margin: 1em 1em 1em 0;
72 background: #f9f9f9;
73 border: 1px #aaaaaa solid;
74 border-collapse: collapse;
75 }
76
77 table.datatable {
78 font-size:70%
79 }
80
81 table.wikitable th, table.wikitable td,
82 table.prettytable th, table.prettytable td {
83 border: 1px #aaaaaa solid;
84 padding: 0.2em;
85 }
86
87 table.datatable th, table.datatable td {
88 border: 1px #aaaaaa solid;
89 font-size:70%
90 padding: 0em;
91 }
92
93 table.wikitable th,
94 table.datatable th,
95 table.prettytable th {
96 background: #f2f2f2;
97 text-align: center;
98 }
99
100 table.wikitable caption,
101 table.datatable caption,
102 table.prettytable caption {
103 margin-left: inherit;
104 margin-right: inherit;
105 }
106
107 /* Removes useless links from printout */
108 @media print {
109 .portlet, #privacy, #about, #disclaimer {display:none;}
110 }
111
112
113 /* Banner Styles used in EduTech wiki
114 - use class names like Banner_xxxx
115 */
116
117 .Banner_incomplete {
118 float:right;
119 clear:right;
120 width:200px;
121 border:1px solid orange;
122 background-color:#FFFACD;
123 padding:7px;
124 margin-bottom: 10px;
125 margin-left: 1em;
126 }
127
128 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
129 ul.pageby {
130 border:1px solid #60606F;
131 background-color:#E0E0EF;
132 font-size: 80%;
133 margin:1ex;
134 padding:1ex;
135 list-style-type:none;
136 }
137
138 .Banner_tutorial {
139 float:right;
140 clear:right;
141 width:200px;
142 border:1px solid blue;
143 background-color:#F8C9E4;
144 padding:7px;
145 margin-bottom: 10px;
146 margin-left: 1em;
147 }
148
149 .tut_goals{
150 background-color:#F8C9E4;
151 padding:7px;
152 margin-bottom: 10px;
153 border:1px solid #AAAAAA;
154 }
155
156 .Banner_copyright{
157 background-color:#d0f0c0;
158 padding:7px;
159 margin-bottom: 10px;
160 border:1px solid #AAAAAA;
161 }
162
163 .tagcloud {
164 width: 95%;
165 text-align: center;
166 background-color: #FDFDFD;
167 border: 1px solid #EEEEEE;
168 padding: 15px 10px 15px 10px;
169 }
170 .tagcloud a {
171 color: #0052CB;
172 margin-left: 10px;
173 margin-right: 10px;
174 font-weight: bold;
175 }
176
177 code {
178 border: 1px solid #ddd;
179 padding: 1px 4px;
180 border-radius: 2px;
181 }
182
183 /* category tree - first is just for portlet - second for all trees */
184 /*
185 #p-categorytree-portlet {font-size: 80% }
186 */
187 .CategoryTreeTag {font-size: 90%; }
188
189
190 /* Syntaxhighlight geshi */
191 div.mw-geshi {
192 border: 1px dotted grey;
193 padding: 2px;
194 margin-left:1em;
195 font-size: 120%;
196 margin-top:2px;
197 margin-right:2px;
198 margin-bottom:2px
199 }
200
201
202 .sidebar_banner {
203 margin-top: 5px;
204 margin-bottom: 5px;
205 }
206
207 h3 .editsection { font-size: 76%; font-weight: normal; }
208 h4 .editsection { font-size: 86%; font-weight: normal; }
209 h5 .editsection { font-weight: normal; }
210 h6 .editsection { font-size: 125%; font-weight: normal; }
211
212 /* Contribution Scores */
213 .contributionscores-wrapper { font-size: 80%; }
214 .contributionscores-title { margin-left: 0; padding-left: 0em; margin-bottom: 0;}
215 .contributionscores .header { border-bottom: 1px solid #999999; font-weight: bold; }
216 .contributionscores .odd { background-color: #eeeeee; }
217 .contributionscores .header td { padding-left: .2em; padding-right: .2em; }
218 .contributionscores .content { padding-left: .2em; padding-right: .2em; }
219
220 .GoBlock{
221 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
222 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
223 box-shadow:inset 0px 1px 0px 0px #ffffff;
224 background:rgb(200, 230, 140);
225 background-image: linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
226 background-image: -webkit-linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
227 -webkit-border-radius: 6px;
228 -moz-border-radius: 6px;
229 border-radius: 6px;
230 text-indent:0;
231 border:1px solid rgb(155,185,95);
232 display:inline-block;
233 color:#333333;
234 font-family:arial;
235 font-size:13px;
236 font-style:normal;
237 text-decoration:none;
238 -webkit-box-sizing: border-box;
239 -moz-box-sizing: border-box;
240 box-sizing: border-box;
241 padding:0px 8px;
242 text-align:center;
243 }
244
245 .StopBlock{
246 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
247 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
248 box-shadow:inset 0px 1px 0px 0px #ffffff;
249 background:rgb(200, 230, 140);
250 background-image: linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
251 background-image: -webkit-linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
252 -webkit-border-radius: 6px;
253 -moz-border-radius: 6px;
254 border-radius: 6px;
255 text-indent:0;
256 border:1px solid rgb(155,185,95);
257 display:inline-block;
258 color:#333333;
259 font-family:arial;
260 font-size:13px;
261 font-style:normal;
262 text-decoration:none;
263 -webkit-box-sizing: border-box;
264 -moz-box-sizing: border-box;
265 box-sizing: border-box;
266 padding:0px 8px;
267 text-align:center;
268 line-height:2.5em;
269 }
270
271 .tableBlue{
272 margin:auto;
273 background: #f9f9f9;
274 border-collapse: collapse;
275 width:98%;
276 text-align:center;
277 }
278
279 .tableBlue td{
280 border: 1px #aaaaaa solid;
281 padding:8px !important;
282 }
283
284 .tableBlue th{
285 background: rgb(200,220,240);
286 text-align: center;
287 font-weight:bold;
288 color:rgb(120,140,180);
289 padding: 8px 15px 8px 15px;
290 border: 1px #aaaaaa solid;
291 }
292
293 .tableBlue tr.row-odd{background:white;}
294 .tableBlue tr.row-even{background:rgb(235,245,255);}
295
296
297 /*
298 </pre>
299 */