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