MediaWiki:Common.css
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: 260px;
11 border: red 2px solid;
12 background:#F8F8F8;
13 position: relative;
14 top: 1px;
15 left:1px;
16 display:none;
17 padding: 0 20px 20px 20px;
18 z-index: 1000000;
19 }
20 div.badge {
21 cursor:pointer;
22 border: #000 2px solid;
23 width: 5px;
24 }
25 div.badge:hover div.appear {
26 display:block;
27 }
28
29 /*front page */
30 @media screen {
31 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EAF5FB;}
32 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
33 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
34 }
35
36 @media print handheld {
37 #front_left {}
38 #front_right {}
39 }
40
41 /* Space out main section titles */
42 h2 {margin-top:2.5ex;}
43 h3 {margin-top:1ex;}
44
45 table.wikitable,
46 table.prettytable {
47 margin: 1em 1em 1em 0;
48 background: #f9f9f9;
49 border: 1px #aaaaaa solid;
50 border-collapse: collapse;
51 }
52
53 table.wikitable th, table.wikitable td,
54 table.prettytable th, table.prettytable td {
55 border: 1px #aaaaaa solid;
56 padding: 0.2em;
57 }
58
59 table.wikitable th,
60 table.prettytable th {
61 background: #f2f2f2;
62 text-align: center;
63 }
64
65 table.wikitable caption,
66 table.prettytable caption {
67 margin-left: inherit;
68 margin-right: inherit;
69 }
70
71 /* Removes useless links from printout */
72 @media print {
73 .portlet, #privacy, #about, #disclaimer {display:none;}
74 }
75
76
77 /* Banner Styles used in EduTech wiki
78 - use class names like Banner_xxxx
79 */
80
81 .Banner_incomplete {
82 float:right;
83 clear:right;
84 width:200px;
85 border:1px solid orange;
86 background-color:#FFFACD;
87 padding:7px;
88 margin-bottom: 10px;
89 margin-left: 1em;
90 }
91
92 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
93 ul.pageby {
94 border:1px solid #60606F;
95 background-color:#E0E0EF;
96 font-size: 80%;
97 margin:1ex;
98 padding:1ex;
99 list-style-type:none;
100 }
101
102 .Banner_tutorial {
103 float:right;
104 clear:right;
105 width:200px;
106 border:1px solid blue;
107 background-color:#F8C9E4;
108 padding:7px;
109 margin-bottom: 10px;
110 margin-left: 1em;
111 }
112
113 .tut_goals{
114 background-color:#F8C9E4;
115 padding:7px;
116 margin-bottom: 10px;
117 border:1px solid #AAAAAA;
118 }
119
120 .Banner_copyright{
121 background-color:#d0f0c0;
122 padding:7px;
123 margin-bottom: 10px;
124 border:1px solid #AAAAAA;
125 }
126
127 .tagcloud {
128 width: 95%;
129 text-align: center;
130 background-color: #FDFDFD;
131 border: 1px solid #EEEEEE;
132 padding: 15px 10px 15px 10px;
133 }
134 .tagcloud a {
135 color: #0052CB;
136 margin-left: 10px;
137 margin-right: 10px;
138 font-weight: bold;
139 }
140
141 code {
142 border: 1px solid #ddd;
143 padding: 1px 4px;
144 border-radius: 2px;
145 }
146
147 /* category tree - first is just for portlet - second for all trees */
148 /*
149 #p-categorytree-portlet {font-size: 80% }
150 */
151 .CategoryTreeTag {font-size: 90%; }
152
153
154 /* Syntaxhighlight geshi */
155 div.mw-geshi {
156 border: 1px dotted grey;
157 padding: 2px;
158 margin-left:1em;
159 font-size: 120%;
160 margin-top:2px;
161 margin-right:2px;
162 margin-bottom:2px
163 }
164
165
166 .sidebar_banner {
167 margin-top: 5px;
168 margin-bottom: 5px;
169 }
170
171 h3 .editsection { font-size: 76%; font-weight: normal; }
172 h4 .editsection { font-size: 86%; font-weight: normal; }
173 h5 .editsection { font-weight: normal; }
174 h6 .editsection { font-size: 125%; font-weight: normal; }
175
176 /* Contribution Scores */
177 .contributionscores-wrapper { font-size: 80%; }
178 .contributionscores-title { margin-left: 0; padding-left: 0em; margin-bottom: 0;}
179 .contributionscores .header { border-bottom: 1px solid #999999; font-weight: bold; }
180 .contributionscores .odd { background-color: #eeeeee; }
181 .contributionscores .header td { padding-left: .2em; padding-right: .2em; }
182 .contributionscores .content { padding-left: .2em; padding-right: .2em; }
183
184 .GoBlock{
185 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
186 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
187 box-shadow:inset 0px 1px 0px 0px #ffffff;
188 background:rgb(200, 230, 140);
189 background-image: linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
190 background-image: -webkit-linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
191 -webkit-border-radius: 6px;
192 -moz-border-radius: 6px;
193 border-radius: 6px;
194 text-indent:0;
195 border:1px solid rgb(155,185,95);
196 display:inline-block;
197 color:#333333;
198 font-family:arial;
199 font-size:13px;
200 font-style:normal;
201 text-decoration:none;
202 -webkit-box-sizing: border-box;
203 -moz-box-sizing: border-box;
204 box-sizing: border-box;
205 padding:0px 8px;
206 text-align:center;
207 line-height:2.5em;
208 }
209
210 .StopBlock{
211 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
212 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
213 box-shadow:inset 0px 1px 0px 0px #ffffff;
214 background:rgb(200, 230, 140);
215 background-image: linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
216 background-image: -webkit-linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
217 -webkit-border-radius: 6px;
218 -moz-border-radius: 6px;
219 border-radius: 6px;
220 text-indent:0;
221 border:1px solid rgb(155,185,95);
222 display:inline-block;
223 color:#333333;
224 font-family:arial;
225 font-size:13px;
226 font-style:normal;
227 text-decoration:none;
228 -webkit-box-sizing: border-box;
229 -moz-box-sizing: border-box;
230 box-sizing: border-box;
231 padding:0px 8px;
232 text-align:center;
233 line-height:2.5em;
234 }
235
236 .tableBlue{
237 margin:auto;
238 background: #f9f9f9;
239 border-collapse: collapse;
240 width:98%;
241 text-align:center;
242 }
243
244 .tableBlue td{
245 border: 1px #aaaaaa solid;
246 padding:8px !important;
247 }
248
249 .tableBlue th{
250 background: rgb(200,220,240);
251 text-align: center;
252 font-weight:bold;
253 color:rgb(120,140,180);
254 padding: 8px 15px 8px 15px;
255 border: 1px #aaaaaa solid;
256 }
257
258 .tableBlue tr.row-odd{background:white;}
259 .tableBlue tr.row-even{background:rgb(235,245,255);}
260
261
262 /*
263 </pre>
264 */