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