* (bug 14398) mwsuggest.js: Let width of container be configurable
[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 and delete reasons */
96 p.mw-ipb-conveniencelinks, p.mw-filedelete-editreasons, p.mw-delete-editreasons {
97 font-size: 90%;
98 float: right;
99 }
100
101 /* Search results */
102 div.searchresult {
103 font-size: 95%;
104 width:38em;
105 }
106 .mw-search-results li {
107 padding-bottom: 1em;
108 }
109 .mw-search-result-data {
110 color: green;
111 font-size: 97%;
112 }
113
114 div#mw-search-interwiki {
115 float: right;
116 width: 18em;
117 border-style: solid;
118 border-color: #AAAAAA;
119 border-width: 1px;
120 margin-top: 2ex;
121 }
122
123 div#mw-search-interwiki li {
124 font-size: 95%;
125 }
126
127 .mw-search-interwiki-more {
128 float: right;
129 font-size: 90%;
130 }
131
132 span.searchalttitle {
133 font-size: 95%;
134 }
135
136 div.searchdidyoumean {
137 font-size: 127%;
138 padding-bottom:1ex;
139 padding-top:1ex;
140 }
141
142 /*
143 * UserRights stuff
144 */
145 .mw-userrights-disabled {
146 color: #888;
147 }
148
149 table.mw-userrights-groups * td,table.mw-userrights-groups * th {
150 padding-right: 1.5em;
151 }
152
153 /*
154 * OpenSearch ajax suggestions
155 */
156 .os-suggest {
157 overflow: auto;
158 overflow-x: hidden;
159 position: absolute;
160 top: 0px;
161 left: 0px;
162 width: 0px;
163 background-color: white;
164 background-color: Window;
165 border-style: solid;
166 border-color: #AAAAAA;
167 border-width: 1px;
168 z-index:99;
169 visibility:hidden;
170 font-size:95%;
171 }
172
173 table.os-suggest-results {
174 font-size: 95%;
175 cursor: pointer;
176 border: 0;
177 border-collapse: collapse;
178 width: 100%;
179 }
180
181 td.os-suggest-result, td.os-suggest-result-hl {
182 white-space: nowrap;
183 background-color: white;
184 background-color: Window;
185 color: black;
186 color: WindowText;
187 padding: 2px;
188 }
189 td.os-suggest-result-hl,
190 td.os-suggest-result-hl-webkit {
191 background-color: #4C59A6;
192 color: white;
193 }
194 td.os-suggest-result-hl {
195 /* System colors are misimplemented in Safari 3.0 and earlier,
196 making highlighted text illegible... */
197 background-color: Highlight;
198 color: HighlightText;
199 }
200
201 .os-suggest-toggle {
202 position: relative;
203 left: 1ex;
204 font-size: 65%;
205 }
206 .os-suggest-toggle-def {
207 position: absolute;
208 top: 0px;
209 left: 0px;
210 font-size: 65%;
211 visibility: hidden;
212 }
213
214 /* Page history styling */
215 /* the auto-generated edit comments */
216 .autocomment { color: gray; }
217 #pagehistory .history-user {
218 margin-left: 0.4em;
219 margin-right: 0.2em;
220 }
221 #pagehistory span.minor { font-weight: bold; }
222 #pagehistory li { border: 1px solid white; }
223 #pagehistory li.selected {
224 background-color: #f9f9f9;
225 border: 1px dashed #aaa;
226 }
227
228 table.mw-listgrouprights-table {
229 border: 1px solid #ccc;
230 border-collapse: collapse;
231 }
232
233 table.mw-listgrouprights-table tr {
234 vertical-align: top;
235 }
236
237 table.mw-listgrouprights-table td, table.mw-listgrouprights-table th {
238 padding: 0.5em 0.2em 0.5em 0.2em;
239 border: 1px solid #ccc;
240 }
241
242 /* Special:SpecialPages styling */
243 h4.mw-specialpagesgroup {
244 background-color: #dcdcdc;
245 padding: 2px;
246 margin: .3em 0em 0em 0em;
247 }
248 .mw-specialpagerestricted {
249 font-weight: bold;
250 }
251
252 #shared-image-dup, #shared-image-conflict {
253 font-style: italic;
254 }
255
256 /* Special:EmailUser styling */
257 table.mw-emailuser-table {
258 width: 98%;
259 }
260 td#mw-emailuser-sender, td#mw-emailuser-recipient {
261 font-weight: bold;
262 }
263