1 | # |
---|
2 | # xhtml11-quirks.conf |
---|
3 | # |
---|
4 | # Workarounds for IE6's broken # and incomplete CSS2. |
---|
5 | # |
---|
6 | |
---|
7 | [image-blockmacro] |
---|
8 | <div class="imageblock{style? {style}}{role? {role}}"{id? id="{id}"}{align? style="text-align:{align};"}{float? style="float:{float};"}> |
---|
9 | <div class="content"> |
---|
10 | <a class="image" href="{link}"> |
---|
11 | {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} /> |
---|
12 | {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext(r'{target}')[1][1:]};base64, |
---|
13 | {data-uri#}{sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}" /> |
---|
14 | {link#}</a> |
---|
15 | </div> |
---|
16 | <div class="image-title">{caption={figure-caption} {counter:figure-number}: }{title}</div> |
---|
17 | </div> |
---|
18 | |
---|
19 | [sidebarblock] |
---|
20 | <div class="sidebarblock{role? {role}}"{id? id="{id}"}> |
---|
21 | <div class="sidebar-content"> |
---|
22 | <div class="sidebar-title">{title}</div> |
---|
23 | | |
---|
24 | </div></div> |
---|
25 | |
---|
26 | [quoteblock] |
---|
27 | <div class="quoteblock{role? {role}}"{id? id="{id}"}> |
---|
28 | <div class="title">{title}</div> |
---|
29 | <div class="quoteblock-content"> |
---|
30 | | |
---|
31 | </div> |
---|
32 | <div class="quoteblock-attribution"> |
---|
33 | <em>{citetitle}</em><br /> |
---|
34 | — {attribution} |
---|
35 | </div></div> |
---|
36 | |
---|
37 | [verseblock] |
---|
38 | <div class="verseblock{role? {role}}"{id? id="{id}"}> |
---|
39 | <div class="title">{title}</div> |
---|
40 | <pre class="verseblock-content"> |
---|
41 | | |
---|
42 | </pre> |
---|
43 | <div class="verseblock-attribution"> |
---|
44 | <em>{citetitle}</em><br /> |
---|
45 | — {attribution} |
---|
46 | </div></div> |
---|
47 | |
---|
48 | [exampleblock] |
---|
49 | <div class="exampleblock{role? {role}}"{id? id="{id}"}> |
---|
50 | <div class="title">{caption={example-caption} {counter:example-number}: }{title}</div> |
---|
51 | <div class="exampleblock-content"> |
---|
52 | | |
---|
53 | </div></div> |
---|
54 | |
---|
55 | [sect2] |
---|
56 | <div class="sect2{style? {style}}{role? {role}}"> |
---|
57 | # The <div> is because the IE6 adjacent-sibling CSS selector is broken. |
---|
58 | <h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3><div style="clear:left"></div> |
---|
59 | | |
---|
60 | </div> |
---|
61 | |
---|