8dad1e1a250ba46d62c638367cb09b9f88ab9710
[lhc/web/wiklou.git] / skins / common / shared.css
1 /**
2 * CSS in this file is used by *all* skins (that have any CSS at all). Be
3 * careful what you put in here, since what looks good in one skin may not in
4 * another, but don't ignore the poor non-Monobook users either.
5 */
6 .mw-plusminus-null { color: #aaa; }
7
8 .texvc { direction: ltr; unicode-bidi: embed; }
9 img.tex { vertical-align: middle; }
10 span.texhtml { font-family: serif; }
11
12 /* add a bit of margin space between the preview and the toolbar */
13 /* this replaces the ugly <p><br /></p> we used to insert into the page source */
14 #wikiPreview.ontop { margin-bottom: 1em; }
15
16 /* Stop floats from intruding into edit area in previews */
17 #toolbar, #wpTextbox1 { clear: both; }
18
19 div#mw-js-message {
20 margin: 1em 5%;
21 padding: 0.5em 2.5%;
22 border: solid 1px #ddd;
23 background-color: #fcfcfc;
24 }
25
26 /* Edit section links */
27 .editsection {
28 float: right;
29 margin-left: 5px;
30 }
31
32 /**
33 * File histories
34 */
35 table.filehistory {
36 border:1px solid #ccc;
37 border-collapse:collapse;
38 }
39
40 table.filehistory th,
41 table.filehistory td {
42 padding: 0 0.2em 0 0.2em;
43 vertical-align:top;
44 border:1px solid #ccc;
45 }
46 table.filehistory th {
47 text-align: left;
48 }
49 table.filehistory td.mw-imagepage-filesize,
50 table.filehistory th.mw-imagepage-filesize {
51 white-space:nowrap;
52 }
53
54 table.filehistory td.filehistory-selected {
55 font-weight: bold;
56 }
57
58 /*
59 * rev_deleted stuff
60 */
61 li span.deleted, span.history-deleted {
62 text-decoration: line-through;
63 color: #888;
64 font-style: italic;
65 }
66
67 /**
68 * Forms
69 */
70 body.ltr td.mw-label { text-align: right; }
71 body.ltr td.mw-input { text-align: left; }
72 body.ltr td.mw-submit { text-align: left; }
73 body.rtl td.mw-label { text-align: left; }
74 body.rtl td.mw-input { text-align: right; }
75 body.rtl td.mw-submit { text-align: right; }
76
77 td.mw-label { vertical-align: top; }
78 td.mw-submit { white-space: nowrap; }
79
80 /**
81 * Image captions
82 */
83 body.rtl .thumbcaption { text-align:right; }
84 body.rtl .magnify { float:left; }
85
86 body.ltr .thumbcaption { text-align:left; }
87 body.ltr .magnify { float:right; }
88
89 /**
90 * Hidden categories
91 */
92 .mw-hidden-cats-hidden { display: none; }
93 .catlinks-allhidden { display: none; }
94
95 /* Convenience links to edit block, delete and protect reasons */
96 p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
97 p.mw-filedelete-editreasons, p.mw-delete-editreasons {
98 font-size: 90%;
99 float: right;
100 }
101
102 /* Search results */
103 div.searchresult {
104 font-size: 95%;
105 width:38em;
106 }
107 .mw-search-results li {
108 padding-bottom: 1em;
109 list-style:none;
110 }
111 .mw-search-result-data {
112 color: green;
113 font-size: 97%;
114 }
115
116 td#mw-search-menu {
117 padding-left:6em;
118 font-size:85%;
119 }
120
121 div#mw-search-interwiki {
122 float: right;
123 width: 18em;
124 border-style: solid;
125 border-color: #AAAAAA;
126 border-width: 1px;
127 margin-top: 2ex;
128 }
129
130 div#mw-search-interwiki li {
131 font-size: 95%;
132 }
133
134 .mw-search-interwiki-more {
135 float: right;
136 font-size: 90%;
137 }
138
139 span.searchalttitle {
140 font-size: 95%;
141 }
142
143 div.searchdidyoumean {
144 font-size: 127%;
145 padding-bottom:1ex;
146 padding-top:1ex;
147 }
148
149 .searchmatch {
150 font-weight: bold;
151 }
152
153 div.searchresults {
154 border:1px solid darkblue;
155 padding-top: 5px;
156 padding-bottom: 5px;
157 padding-left: 15px;
158 padding-right: 15px;
159 }
160
161 /*
162 * UserRights stuff
163 */
164 .mw-userrights-disabled {
165 color: #888;
166 }
167
168 table.mw-userrights-groups * td,table.mw-userrights-groups * th {
169 padding-right: 1.5em;
170 }
171
172 /*
173 * OpenSearch ajax suggestions
174 */
175 .os-suggest {
176 overflow: auto;
177 overflow-x: hidden;
178 position: absolute;
179 top: 0px;
180 left: 0px;
181 width: 0px;
182 background-color: white;
183 background-color: Window;
184 border-style: solid;
185 border-color: #AAAAAA;
186 border-width: 1px;
187 z-index:99;
188 visibility:hidden;
189 font-size:95%;
190 }
191
192 table.os-suggest-results {
193 font-size: 95%;
194 cursor: pointer;
195 border: 0;
196 border-collapse: collapse;
197 width: 100%;
198 }
199
200 td.os-suggest-result, td.os-suggest-result-hl {
201 white-space: nowrap;
202 background-color: white;
203 background-color: Window;
204 color: black;
205 color: WindowText;
206 padding: 2px;
207 }
208 td.os-suggest-result-hl,
209 td.os-suggest-result-hl-webkit {
210 background-color: #4C59A6;
211 color: white;
212 }
213 td.os-suggest-result-hl {
214 /* System colors are misimplemented in Safari 3.0 and earlier,
215 making highlighted text illegible... */
216 background-color: Highlight;
217 color: HighlightText;
218 }
219
220 .os-suggest-toggle {
221 position: relative;
222 left: 1ex;
223 font-size: 65%;
224 }
225 .os-suggest-toggle-def {
226 position: absolute;
227 top: 0px;
228 left: 0px;
229 font-size: 65%;
230 visibility: hidden;
231 }
232
233 /* Page history styling */
234 /* the auto-generated edit comments */
235 .autocomment { color: gray; }
236 #pagehistory .history-user {
237 margin-left: 0.4em;
238 margin-right: 0.2em;
239 }
240 #pagehistory span.minor { font-weight: bold; }
241 #pagehistory li { border: 1px solid white; }
242 #pagehistory li.selected {
243 background-color: #f9f9f9;
244 border: 1px dashed #aaa;
245 }
246
247 /*
248 * Special:ListGroupRights styling
249 * Special:Statistics styling
250 */
251
252 table.mw-listgrouprights-table,
253 table.mw-statistics-table {
254 border: 1px solid #ccc;
255 border-collapse: collapse;
256 }
257
258 table.mw-listgrouprights-table tr {
259 vertical-align: top;
260 }
261
262 table.mw-listgrouprights-table td, table.mw-listgrouprights-table th,
263 table.mw-statistics-table td, table.mw-statistics-table th {
264 padding: 0.5em 0.2em 0.5em 0.2em;
265 border: 1px solid #ccc;
266 }
267
268 td.mw-statistics-numbers {
269 text-align: right;
270 }
271
272 /* Special:SpecialPages styling */
273 h4.mw-specialpagesgroup {
274 background-color: #dcdcdc;
275 padding: 2px;
276 margin: .3em 0em 0em 0em;
277 }
278 .mw-specialpagerestricted {
279 font-weight: bold;
280 }
281
282 #shared-image-dup, #shared-image-conflict {
283 font-style: italic;
284 }
285
286 /* Special:EmailUser styling */
287 table.mw-emailuser-table {
288 width: 98%;
289 }
290 td#mw-emailuser-sender, td#mw-emailuser-recipient {
291 font-weight: bold;
292 }
293
294 /*
295 * Recreating deleted page warning
296 * Reupload file warning
297 * Page protection warning
298 * incl. log entries for these warnings
299 */
300 div.mw-warning-with-logexcerpt {
301 padding: 3px;
302 margin-bottom: 3px;
303 border: 2px solid #2F6FAB;
304 }
305 div.mw-warning-with-logexcerpt ul li {
306 font-size: 90%;
307 }