« MediaWiki:Common.css » : différence entre les versions

De EduTech Wiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 15 : Ligne 15 :
padding: 0 1em;
padding: 0 1em;
white-space: pre;
white-space: pre;
background: rgba(0,0,0,0.25);
background: rgb(150, 187, 139);
line-height: 2em;
line-height: 2em;
border-radius: 0.2em 0.2em 0 0;
border-radius: 0em 0.2em 0 0;
z-index: 2;
z-index: 2;
position: relative;
position: relative;

Version du 3 mai 2021 à 10:42

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