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