2 * Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser.
8 * Parser and Extension:Cite output reference numbers for <sup>[1]</sup> for <ref> tags.
11 * Cake is good<sup>[2]</sup>
12 * The cake is a lie<span class="reference">[1]</span>
19 vertical-align: super;
25 figure[typeof*='mw:Image'] {
34 margin: .5em 0 1.3em 1.4em;
43 margin: .5em 1.4em 1.3em 0;
51 margin: 0 auto .5em auto;
57 display: table-caption;
59 /* In mw-core the font-size is duplicated, 94% in thumbiner
60 and again 94% in thumbcaption. 88% for font size of the
61 caption results in the same behavior. */
66 border: 1px solid #ccc;
69 /* taken from .thumbcaption, plus .thumbinner */
71 background-color: #f9f9f9;
75 figure[typeof~='mw:Image/Thumb'],
76 figure[typeof~='mw:Image/Frame'] {
81 border: 1px solid #ccc;
82 border-bottom: 0; // No border to caption
83 border-collapse: collapse;
84 background-color: #f9f9f9;
85 // Default to right alignment. This is needed since Parsoid only specifies the
86 // alignment class when the alignment is explicitly set.
87 margin: .5em 0 1.3em 1.4em;
92 figure[typeof~='mw:Image/Thumb'] img,
93 figure[typeof~='mw:Image/Frame'] img,
94 .mw-image-border img {
95 border: 1px solid #cccccc;
99 // temporary hack for testing
101 background-color: #fff;