Ajax suggestions:
[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 /* Stop floats from intruding into edit area in previews */
13 #toolbar, #wpTextbox1 { clear: both; }
14
15 div#mw-js-message {
16 margin: 1em 5%;
17 padding: 0.5em 2.5%;
18 border: solid 1px #ddd;
19 background-color: #fcfcfc;
20 }
21
22 /* Edit section links */
23 .editsection {
24 float: right;
25 margin-left: 5px;
26 }
27
28 /**
29 * File histories
30 */
31 table.filehistory {
32 border:1px solid #ccc;
33 border-collapse:collapse;
34 }
35
36 table.filehistory th,
37 table.filehistory td {
38 padding: 0 0.2em 0 0.2em;
39 vertical-align:top;
40 border:1px solid #ccc;
41 }
42 table.filehistory th {
43 text-align: left;
44 }
45 table.filehistory td.mw-imagepage-filesize,
46 table.filehistory th.mw-imagepage-filesize {
47 white-space:nowrap;
48 }
49
50 /*
51 * rev_deleted stuff
52 */
53 li span.deleted, span.history-deleted {
54 text-decoration: line-through;
55 color: #888;
56 font-style: italic;
57 }
58
59 /**
60 * Forms
61 */
62 body.ltr td.mw-label { text-align: right; }
63 body.ltr td.mw-input { text-align: left; }
64 body.ltr td.mw-submit { text-align: left; }
65 body.rtl td.mw-label { text-align: left; }
66 body.rtl td.mw-input { text-align: right; }
67 body.rtl td.mw-submit { text-align: right; }
68
69 td.mw-label { vertical-align: top; }
70 td.mw-submit { white-space: nowrap; }
71
72 /**
73 * Image captions
74 */
75 body.rtl .thumbcaption { text-align:right; }
76 body.rtl .magnify { float:left; }
77
78 body.ltr .thumbcaption { text-align:left; }
79 body.ltr .magnify { float:right; }
80
81 /**
82 * Hidden categories
83 */
84 .mw-hidden-cats-hidden { display: none; }
85 .catlinks-allhidden { display: none; }
86
87 /* Convenience links to edit block and delete reasons */
88 p.mw-ipb-conveniencelinks, p.mw-filedelete-editreasons, p.mw-delete-editreasons {
89 font-size: 90%;
90 float: right;
91 }
92
93 /* Search results */
94 div.searchresult {
95 font-size: 95%;
96 width:38em;
97 }
98 .mw-search-results li {
99 padding-bottom: 1em;
100 }
101 .mw-search-result-data {
102 color: green;
103 font-size: 97%;
104 }
105
106 div#mw-search-interwiki {
107 float: right;
108 width: 18em;
109 border-style: solid;
110 border-color: #AAAAAA;
111 border-width: 1px;
112 margin-top: 2ex;
113 }
114
115 div#mw-search-interwiki li {
116 font-size: 95%;
117 }
118
119 .mw-search-interwiki-more {
120 float: right;
121 font-size: 90%;
122 }
123
124 span.searchalttitle {
125 font-size: 95%;
126 }
127
128 div.searchdidyoumean {
129 font-size: 127%;
130 padding-bottom:1ex;
131 padding-top:1ex;
132 }
133
134 /*
135 * UserRights stuff
136 */
137 .mw-userrights-disabled {
138 color: #888;
139 }
140
141 table.mw-userrights-groups * td,table.mw-userrights-groups * th {
142 padding-right: 1.5em;
143 }
144
145 /*
146 * OpenSearch ajax suggestions
147 */
148 .os-suggest {
149 overflow: auto;
150 overflow-x: hidden;
151 position: absolute;
152 top: 0px;
153 left: 0px;
154 width: 0px;
155 background-color: white;
156 border-style: solid;
157 border-color: #AAAAAA;
158 border-width: 1px;
159 z-index:99;
160 visibility:hidden;
161 font-size:95%;
162 }
163
164 table.os-suggest-results {
165 font-size: 95%;
166 cursor: pointer;
167 border: 0;
168 }
169
170 td.os-suggest-result, td.os-suggest-result-hl {
171 align: left;
172 white-space: nowrap;
173 background-color: white;
174 }
175 td.os-suggest-result-hl {
176 background-color: #4C59A6;
177 color: white;
178 }
179 .os-suggest-toggle {
180 position: relative;
181 left: 1ex;
182 font-size: 65%;
183 }
184 .os-suggest-toggle-def {
185 position: absolute;
186 top: 0px;
187 left: 0px;
188 font-size: 65%;
189 visibility: hidden;
190 }
191
192 /* Page history styling */
193 /* the auto-generated edit comments */
194 .autocomment { color: gray; }
195 #pagehistory .history-user {
196 margin-left: 0.4em;
197 margin-right: 0.2em;
198 }
199 #pagehistory span.minor { font-weight: bold; }
200 #pagehistory li { border: 1px solid white; }
201 #pagehistory li.selected {
202 background-color: #f9f9f9;
203 border: 1px dashed #aaa;
204 }
205
206 table.mw-listgrouprights-table {
207 border: 1px solid #ccc;
208 border-collapse: collapse;
209 }
210
211 table.mw-listgrouprights-table tr {
212 vertical-align: top;
213 }
214
215 table.mw-listgrouprights-table td, table.mw-listgrouprights-table th {
216 padding: 0.5em 0.2em 0.5em 0.2em;
217 border: 1px solid #ccc;
218 }
219
220 /* Special:SpecialPages styling */
221 h4.mw-specialpagesgroup {
222 background-color: #dcdcdc;
223 padding: 2px;
224 margin: .3em 0em 0em 0em;
225 }
226