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