« MediaWiki:Common.css » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 9 : | Ligne 9 : | ||
.flexGrid p{margin:0;} | .flexGrid p{margin:0;} | ||
.flexGrid{ | |||
width: 100%; | |||
height: auto; | |||
max-width: 500px; | |||
} | |||
Version du 30 avril 2021 à 18:08
1 /** Le CSS placé ici sera appliqué à toutes les apparences. */
2
3 /*
4 <pre>
5 */
6
7
8 /*Fix a problem of margin alignement with flexGrid template*/
9
10 .flexGrid p{margin:0;}
11
12 .flexGrid{
13 width: 100%;
14 height: auto;
15 max-width: 500px;
16 }
17
18
19 /*css for template {{printonly}}*/
20
21 .hidden{
22 display:none;
23 }
24
25
26
27 /*css for template {{button}}*/
28
29 .modele-button{
30 background-color: #666;
31 border-radius:0.2em;
32 cursor:pointer;
33 display:inline-block;
34 font-size:0.85em;
35 font-weight:600;
36 padding: 0.125em 0.5em;
37 color:white;
38 margin:2px auto;
39 box-sizing:border-box;
40 }
41
42 .modele-button:hover{
43 transform: translateY(-1px);
44 box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.3);
45 }
46
47 .modele-button:active{
48 border:1px solid rgba(0,0,0,0.4);
49 }
50
51
52 .modele-button a{
53 color:#fff !important;
54 text-decoration:none !important;
55 }
56
57
58
59 /* Badges */
60
61 div.appear {
62 width: 184px;
63 border: red 2px solid;
64 background:#F8F8F8;
65 position: absolute;
66 top: 10px;
67 left:-6px;
68 display:none;go
69 padding: 0 3px 3px 3px;
70 z-index: 1000000;
71 }
72
73 div.appear_left {
74 width: 184px;
75 border: red 2px solid;
76 background:#F8F8F8;
77 position: absolute;
78 top: 10px;
79 left:-50%;
80 display:none;
81 padding: 0 3px 3px 3px;
82 z-index: 1000000;
83 }
84
85 div.badge {
86 cursor:pointer;
87 position: relative;
88 display: inline-block;
89 border: green 1px solid;
90 width: 130px;
91 margin-bottom: 3px;
92 text-align: center;
93 }
94
95 div.badge:hover div.appear, div.badge:hover div.appear_left{
96 display:block;
97 }
98
99 /*front page */
100
101 [class*="front-"] {width: 100%}
102
103 @media only screen and (min-width: 768px){
104 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EAF5FB;}
105 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
106 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
107 }
108
109 @media print{
110 #front_left {}
111 #front_right {}
112 }
113
114 /* Cours bases */
115 .PageFormsRadioButton {display:block;}
116
117 /* collection extension */
118
119 .onlyinprint {display: none}
120
121 /* Space out main section titles */
122 h1 {font-weight:bold;}
123 h2 {margin-top:3ex;font-weight:bold;}
124 h3 {margin-top:1ex;}
125
126 table.wikitable,
127 table.prettytable,
128 table.datatable {
129 margin: 1em 1em 1em 0;
130 background: #f9f9f9;
131 border: 1px #aaaaaa solid;
132 border-collapse: collapse;
133 }
134
135 table.datatable {
136 font-size:70%
137 }
138
139 table.wikitable th, table.wikitable td,
140 table.prettytable th, table.prettytable td {
141 border: 1px #aaaaaa solid;
142 padding: 0.2em;
143 }
144
145 table.datatable th, table.datatable td {
146 border: 1px #aaaaaa solid;
147 font-size:70%
148 padding: 0em;
149 }
150
151 table.wikitable th,
152 table.datatable th,
153 table.prettytable th {
154 background: #f2f2f2;
155 text-align: center;
156 }
157
158 table.wikitable caption,
159 table.datatable caption,
160 table.prettytable caption {
161 margin-left: inherit;
162 margin-right: inherit;
163 }
164
165 /* Removes useless links from printout */
166 @media print {
167 .portlet, #privacy, #about, #disclaimer {display:none;}
168 }
169
170
171 /* Banner Styles used in EduTech wiki
172 - use class names like Banner_xxxx
173 */
174
175 .Banner_incomplete {
176 float:right;
177 clear:right;
178 width:200px;
179 border:1px solid orange;
180 background-color:#FFFACD;
181 padding:7px;
182 margin-bottom: 10px;
183 margin-left: 1em;
184 }
185
186 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
187 ul.pageby {
188 border:1px solid #60606F;
189 background-color:#E0E0EF;
190 font-size: 80%;
191 margin:1ex;
192 padding:1ex;
193 list-style-type:none;
194 }
195
196 .Banner_tutorial {
197 float:right;
198 clear:right;
199 width:200px;
200 border:1px solid blue;
201 background-color:#F8C9E4;
202 padding:7px;
203 margin-bottom: 10px;
204 margin-left: 1em;
205 }
206
207 .tut_goals{
208 background-color:#F8C9E4;
209 padding:7px;
210 margin-bottom: 10px;
211 border:1px solid #AAAAAA;
212 }
213
214 .Banner_copyright{
215 background-color:#d0f0c0;
216 padding:7px;
217 margin-bottom: 10px;
218 border:1px solid #AAAAAA;
219 }
220
221 .tagcloud {
222 width: 95%;
223 text-align: center;
224 background-color: #FDFDFD;
225 border: 1px solid #EEEEEE;
226 padding: 15px 10px 15px 10px;
227 }
228 .tagcloud a {
229 color: #0052CB;
230 margin-left: 10px;
231 margin-right: 10px;
232 font-weight: bold;
233 }
234
235 code {
236 border: 1px solid #ddd;
237 padding: 1px 4px;
238 border-radius: 2px;
239 }
240
241 /* category tree - first is just for portlet - second for all trees */
242 /*
243 #p-categorytree-portlet {font-size: 80% }
244 */
245 .CategoryTreeTag {font-size: 90%; }
246
247
248 /* Syntaxhighlight geshi */
249 div.mw-geshi {
250 border: 1px dotted grey;
251 padding: 2px;
252 margin-left:1em;
253 font-size: 120%;
254 margin-top:2px;
255 margin-right:2px;
256 margin-bottom:2px
257 }
258
259
260 .sidebar_banner {
261 margin-top: 5px;
262 margin-bottom: 5px;
263 }
264
265 h3 .editsection { font-size: 76%; font-weight: normal; }
266 h4 .editsection { font-size: 86%; font-weight: normal; }
267 h5 .editsection { font-weight: normal; }
268 h6 .editsection { font-size: 125%; font-weight: normal; }
269
270 /* Contribution Scores */
271 .contributionscores-wrapper { font-size: 80%; }
272 .contributionscores-title { margin-left: 0; padding-left: 0em; margin-bottom: 0;}
273 .contributionscores .header { border-bottom: 1px solid #999999; font-weight: bold; }
274 .contributionscores .odd { background-color: #eeeeee; }
275 .contributionscores .header td { padding-left: .2em; padding-right: .2em; }
276 .contributionscores .content { padding-left: .2em; padding-right: .2em; }
277
278 .GoBlock{
279 background: rgb(207,234,153);
280 border-radius: 3px;
281 display:inline-block;
282 color:#333333;
283 font-family:arial;
284 font-size:0.9em;
285 box-sizing: border-box;
286 padding:0 13px;
287 text-align:center;
288 border: 1px solid rgba(0,0,0,0.05);
289 line-height:1.5em;
290 }
291
292 .StopBlock{
293 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
294 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
295 box-shadow:inset 0px 1px 0px 0px #ffffff;
296 background:rgb(200, 230, 140);
297 background-image: linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
298 background-image: -webkit-linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
299 -webkit-border-radius: 6px;
300 -moz-border-radius: 6px;
301 border-radius: 6px;
302 text-indent:0;
303 border:1px solid rgb(155,185,95);
304 display:inline-block;
305 color:#333333;
306 font-family:arial;
307 font-size:13px;
308 font-style:normal;
309 text-decoration:none;
310 -webkit-box-sizing: border-box;
311 -moz-box-sizing: border-box;
312 box-sizing: border-box;
313 padding:0px 8px;
314 text-align:center;
315 line-height:2.5em;
316 }
317
318 .tableBlue{
319 margin:auto;
320 background: #f9f9f9;
321 border-collapse: collapse;
322 width:98%;
323 text-align:center;
324 }
325
326 .tableBlue td{
327 border: 1px #aaaaaa solid;
328 padding:8px !important;
329 }
330
331 .tableBlue th{
332 background: rgb(200,220,240);
333 text-align: center;
334 font-weight:bold;
335 color:rgb(120,140,180);
336 padding: 8px 15px 8px 15px;
337 border: 1px #aaaaaa solid;
338 }
339
340 .tableBlue tr.row-odd{background:white;}
341 .tableBlue tr.row-even{background:rgb(235,245,255);}
342
343 /* Leyla formulaires STIC III/IV */
344
345 .annee.radioButtonItem {
346 width: 10%;
347 display: block;
348 float:left;
349 }
350
351 .technologie.checkboxLabel {
352 width: 25%;
353 display: block;
354 float:left;
355 }
356
357 .type.checkboxLabel {
358 width: 25%;
359 display: block;
360 float:left;
361 }
362
363 .domaine_enseignement.checkboxLabel {
364 width: 25%;
365 display: block;
366 float:left;
367 }
368
369 .niveau_enseignement.checkboxLabel {
370 width: 33.3%;
371 display: block;
372 float:left;
373 }
374
375 .public_cible.checkboxLabel {
376 width: 20%;
377 display: block;
378 float:left;
379 }
380 .public_age.checkboxLabel {
381 width: 20%;
382 display: block;
383 float:left;
384 }
385
386 /* for smartphone display*/
387 pre{
388 word-break: break-word;
389 }
390
391 /*
392 </pre>
393 */