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