Redesign Special:Search:
[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 }
110 .mw-search-result-data {
111 color: green;
112 font-size: 97%;
113 }
114
115 td#mw-search-menu {
116 padding-left:6em;
117 font-size:85%;
118 }
119
120 div#mw-search-interwiki {
121 float: right;
122 width: 18em;
123 border-style: solid;
124 border-color: #AAAAAA;
125 border-width: 1px;
126 margin-top: 2ex;
127 }
128
129 div#mw-search-interwiki li {
130 font-size: 95%;
131 }
132
133 .mw-search-interwiki-more {
134 float: right;
135 font-size: 90%;
136 }
137
138 span.searchalttitle {
139 font-size: 95%;
140 }
141
142 div.searchdidyoumean {
143 font-size: 127%;
144 padding-bottom:1ex;
145 padding-top:1ex;
146 }
147
148 /*
149 * UserRights stuff
150 */
151 .mw-userrights-disabled {
152 color: #888;
153 }
154
155 table.mw-userrights-groups * td,table.mw-userrights-groups * th {
156 padding-right: 1.5em;
157 }
158
159 /*
160 * OpenSearch ajax suggestions
161 */
162 .os-suggest {
163 overflow: auto;
164 overflow-x: hidden;
165 position: absolute;
166 top: 0px;
167 left: 0px;
168 width: 0px;
169 background-color: white;
170 background-color: Window;
171 border-style: solid;
172 border-color: #AAAAAA;
173 border-width: 1px;
174 z-index:99;
175 visibility:hidden;
176 font-size:95%;
177 }
178
179 table.os-suggest-results {
180 font-size: 95%;
181 cursor: pointer;
182 border: 0;
183 border-collapse: collapse;
184 width: 100%;
185 }
186
187 td.os-suggest-result, td.os-suggest-result-hl {
188 white-space: nowrap;
189 background-color: white;
190 background-color: Window;
191 color: black;
192 color: WindowText;
193 padding: 2px;
194 }
195 td.os-suggest-result-hl,
196 td.os-suggest-result-hl-webkit {
197 background-color: #4C59A6;
198 color: white;
199 }
200 td.os-suggest-result-hl {
201 /* System colors are misimplemented in Safari 3.0 and earlier,
202 making highlighted text illegible... */
203 background-color: Highlight;
204 color: HighlightText;
205 }
206
207 .os-suggest-toggle {
208 position: relative;
209 left: 1ex;
210 font-size: 65%;
211 }
212 .os-suggest-toggle-def {
213 position: absolute;
214 top: 0px;
215 left: 0px;
216 font-size: 65%;
217 visibility: hidden;
218 }
219
220 /* Page history styling */
221 /* the auto-generated edit comments */
222 .autocomment { color: gray; }
223 #pagehistory .history-user {
224 margin-left: 0.4em;
225 margin-right: 0.2em;
226 }
227 #pagehistory span.minor { font-weight: bold; }
228 #pagehistory li { border: 1px solid white; }
229 #pagehistory li.selected {
230 background-color: #f9f9f9;
231 border: 1px dashed #aaa;
232 }
233
234 /*
235 * Special:ListGroupRights styling
236 * Special:Statistics styling
237 */
238
239 table.mw-listgrouprights-table,
240 table.mw-statistics-table {
241 border: 1px solid #ccc;
242 border-collapse: collapse;
243 }
244
245 table.mw-listgrouprights-table tr {
246 vertical-align: top;
247 }
248
249 table.mw-listgrouprights-table td, table.mw-listgrouprights-table th,
250 table.mw-statistics-table td, table.mw-statistics-table th {
251 padding: 0.5em 0.2em 0.5em 0.2em;
252 border: 1px solid #ccc;
253 }
254
255 td.mw-statistics-numbers {
256 text-align: right;
257 }
258
259 /* Special:SpecialPages styling */
260 h4.mw-specialpagesgroup {
261 background-color: #dcdcdc;
262 padding: 2px;
263 margin: .3em 0em 0em 0em;
264 }
265 .mw-specialpagerestricted {
266 font-weight: bold;
267 }
268
269 #shared-image-dup, #shared-image-conflict {
270 font-style: italic;
271 }
272
273 /* Special:EmailUser styling */
274 table.mw-emailuser-table {
275 width: 98%;
276 }
277 td#mw-emailuser-sender, td#mw-emailuser-recipient {
278 font-weight: bold;
279 }
280
281 /*
282 * Recreating deleted page warning
283 * Reupload file warning
284 * Page protection warning
285 * incl. log entries for these warnings
286 */
287 div.mw-warning-with-logexcerpt {
288 padding: 3px;
289 margin-bottom: 3px;
290 border: 2px solid #2F6FAB;
291 }
292 div.mw-warning-with-logexcerpt ul li {
293 font-size: 90%;
294 }
295