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
;
48 /* Remove additional paddings inside table-cells that are not present in <div>s */
70 list-style-type: none
;
71 list-style-image: none
;
86 border: 1px solid
#aaa;
87 background-color: #f9f9f9;
100 /* @noflip */div
.floatright
, table
.floatright
{
101 margin: 0 0 .5em .5em;
104 div
.floatright p
{ font-style: italic
; }
105 /* @noflip */div
.floatleft
, table
.floatleft
{
106 margin: 0 .5em .5em 0;
109 div
.floatleft p
{ font-style: italic
; }
114 background-color: transparent
;
117 border: 1px solid
#ccc;
118 padding: 3px !important
;
119 background-color: #f9f9f9;
125 border: 1px solid
#ccc;
130 padding: 3px !important
;
134 border: none
!important
;
135 background: none
!important
;
138 div
.magnify a
, div
.magnify img
{
140 border: none
!important
;
141 background: none
!important
;
143 /* @noflip */div
.tright
{
144 margin: .5em 0 1.3em 1.4em;
146 /* @noflip */div
.tleft
{
147 margin: .5em 1.4em 1.3em 0;
150 border: 1px solid
#dddddd;