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 */
13 border: 1px solid
#aaa;
14 background-color: #f9f9f9;
20 * We want to display the ToC element with intrinsic width in block mode. The fit-content
21 * value for width is however not supported by large groups of browsers.
23 * We use display:table. Even though it should only contain other table-* display
24 * elements, there are no known problems with using this.
26 * Because IE < 8, FF 2 and other older browsers don't support display:table, we fallback to
27 * using inline-block mode, which features at least intrinsic width, but won't clear preceding
28 * inline elements. In practice inline elements surrounding the TOC are uncommon enough that
29 * this is an acceptable sacrifice.
33 display: -moz-inline-block
;
34 display: inline-block
;
44 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
47 border-collapse: collapse
;
50 /* Remove additional paddings inside table-cells that are not present in <div>s */
74 list-style-type: none
;
75 list-style-image: none
;
99 /* @noflip */div
.floatright
, table
.floatright
{
100 margin: 0 0 .5em .5em;
108 /* @noflip */div
.floatleft
, table
.floatleft
{
109 margin: 0 .5em .5em 0;
121 background-color: transparent
;
125 border: 1px solid
#ccc;
127 background-color: #f9f9f9;
134 border: 1px solid
#ccc;
142 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
147 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
158 /* …and replace it with the image */
161 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
163 /* Use same SVG support hack as mediawiki.legacy's shared.css */
164 background-image: url
(images
/magnify-clip-ltr
.png
);
166 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
168 background-image: linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
169 /* Don't annoy people who copy-paste everything too much */
170 -moz-user-select: none
;
171 -webkit-user-select: none
;
172 -ms-user-select: none
;
177 border: 1px solid
#dddddd;
180 /* Directionality-specific styles for thumbnails - their positioning depends on content language */
183 .mw-content-ltr .thumbcaption {
188 .mw-content-ltr .magnify {
195 .mw-content-ltr div.magnify a {
196 /* Use same SVG support hack as mediawiki.legacy's shared.css */
197 background-image: url
(images
/magnify-clip-ltr
.png
);
199 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
201 background-image: linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
205 .mw-content-rtl .thumbcaption {
210 .mw-content-rtl .magnify {
217 .mw-content-rtl div.magnify a {
218 /* Use same SVG support hack as mediawiki.legacy's shared.css */
219 background-image: url
(images
/magnify-clip-rtl
.png
);
221 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-rtl
.svg
);
223 background-image: linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-rtl
.svg
);
228 margin: .5em 0 1.3em 1.4em;
233 margin: .5em 1.4em 1.3em 0;