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 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: 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
;
98 /* @noflip */div
.floatright
, table
.floatright
{
99 margin: 0 0 .5em .5em;
107 /* @noflip */div
.floatleft
, table
.floatleft
{
108 margin: 0 .5em .5em 0;
120 background-color: transparent
;
124 border: 1px solid
#ccc;
126 background-color: #f9f9f9;
133 border: 1px solid
#ccc;
141 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
146 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
157 /* …and replace it with the image */
160 /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
162 /* Use same SVG support hack as mediawiki.legacy's shared.css */
163 background-image: url
(images
/magnify-clip-ltr
.png
);
165 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
167 background-image: linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
168 /* Don't annoy people who copy-paste everything too much */
169 -moz-user-select: none
;
170 -webkit-user-select: none
;
171 -ms-user-select: none
;
176 border: 1px solid
#dddddd;
179 /* Directionality-specific styles for thumbnails - their positioning depends on content language */
182 .mw-content-ltr .thumbcaption {
187 .mw-content-ltr .magnify {
194 .mw-content-ltr div.magnify a {
195 /* Use same SVG support hack as mediawiki.legacy's shared.css */
196 background-image: url
(images
/magnify-clip-ltr
.png
);
198 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
200 background-image: linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-ltr
.svg
);
204 .mw-content-rtl .thumbcaption {
209 .mw-content-rtl .magnify {
216 .mw-content-rtl div.magnify a {
217 /* Use same SVG support hack as mediawiki.legacy's shared.css */
218 background-image: url
(images
/magnify-clip-rtl
.png
);
220 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-rtl
.svg
);
222 background-image: linear-gradient
(transparent
, transparent
), url
(images
/magnify-clip-rtl
.svg
);
227 margin: .5em 0 1.3em 1.4em;
232 margin: .5em 1.4em 1.3em 0;