MediaWiki:Common.css

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