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