2 * MediaWiki style sheet for general styles on complex content
4 * Styles for complex things which are a standard part of page content
5 * (ie: the CSS classing built into the system), like the TOC.
8 /* Table of Contents */
12 border: 1px solid
#aaa;
13 background-color: #f9f9f9;
19 * We want to display the ToC element with intrinsic width in block mode. The fit-content
20 * value for width is however not supported by large groups of browsers.
22 * We use display:table. Even though it should only contain other table-* display
23 * elements, there are no known problems with using this.
25 * Because IE < 8, FF 2 and other older browsers don't support display:table, we fallback to
26 * using inline-block mode, which features at least intrinsic width, but won't clear preceding
27 * inline elements. In practice inline elements surrounding the TOC are uncommon enough that
28 * this is an acceptable sacrifice.
32 display: -moz-inline-block
;
33 display: inline-block
;
43 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
46 border-collapse: collapse
;
49 /* Remove additional paddings inside table-cells that are not present in <div>s */
73 list-style-type: none
;
74 list-style-image: none
;
91 border: 1px solid
#aaa;
92 background-color: #f9f9f9;
105 /* @noflip */div
.floatright
, table
.floatright
{
106 margin: 0 0 .5em .5em;
114 /* @noflip */div
.floatleft
, table
.floatleft
{
115 margin: 0 .5em .5em 0;
127 background-color: transparent
;
131 border: 1px solid
#ccc;
133 background-color: #f9f9f9;
140 border: 1px solid
#ccc;
148 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
153 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
164 /* …and replace it with the image */
167 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
169 /* Use same SVG support hack as mediawiki.legacy's shared.css */
170 background-image: url
(images
/magnify-clip-ltr
.png
);
172 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
174 background-image: linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
175 /* Don't annoy people who copy-paste everything too much */
176 -moz-user-select: none
;
177 -webkit-user-select: none
;
178 -ms-user-select: none
;
183 border: 1px solid
#dddddd;
186 /* Directionality-specific styles for thumbnails - their positioning depends on content language */
189 .mw-content-ltr .thumbcaption {
194 .mw-content-ltr .magnify {
201 .mw-content-ltr div.magnify a {
202 /* Use same SVG support hack as mediawiki.legacy's shared.css */
203 background-image: url
(images
/magnify-clip-ltr
.png
);
205 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
207 background-image: linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
211 .mw-content-rtl .thumbcaption {
216 .mw-content-rtl .magnify {
223 .mw-content-rtl div.magnify a {
224 /* Use same SVG support hack as mediawiki.legacy's shared.css */
225 background-image: url
(images
/magnify-clip-rtl
.png
);
227 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-rtl
.svg
);
229 background-image: linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-rtl
.svg
);
234 margin: .5em 0 1.3em 1.4em;
239 margin: .5em 1.4em 1.3em 0;