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