31
31
<!--**==========================================================================
33
Outputs CSS that controls the appearance of block elements
35
REMARK: Describe this template
37
<xsl:template name="mal2html.block.css">
43
<xsl:value-of select="$theme.color.text_light"/><xsl:text>;
45
div.desc { margin: 0 0 0.2em 0; }
46
div.desc-listing, div.desc-synopsis { font-style: italic; }
47
div.desc-figure { margin: 0.2em 0 0 0; }
49
background: url('</xsl:text>
50
<xsl:value-of select="$theme.watermark.code"/><xsl:text>') no-repeat top right;
51
border: solid 2px </xsl:text>
52
<xsl:value-of select="$theme.color.gray_border"/><xsl:text>;
53
padding: 0.5em 1em 0.5em 1em;
56
border-left: solid 4px </xsl:text>
57
<xsl:value-of select="$theme.color.gray_border"/><xsl:text>;
64
<xsl:value-of select="$theme.color.text_light"/><xsl:text>;
65
border: solid 1px </xsl:text>
66
<xsl:value-of select="$theme.color.gray_border"/><xsl:text>;
67
background-color: </xsl:text>
68
<xsl:value-of select="$theme.color.gray_background"/><xsl:text>;
72
padding: 0.5em 1em 0.5em 1em;
75
<xsl:value-of select="$theme.color.text"/><xsl:text>;
76
border: solid 1px </xsl:text>
77
<xsl:value-of select="$theme.color.gray_border"/><xsl:text>;
78
background-color: </xsl:text>
79
<xsl:value-of select="$theme.color.background"/><xsl:text>;
81
div.listing-contents { margin: 0; padding: 0; }
83
padding: 0.5em 6px 0.5em 6px;
84
border-top: solid 1px </xsl:text>
85
<xsl:value-of select="$theme.color.red_border"/><xsl:text>;
86
border-bottom: solid 1px </xsl:text>
87
<xsl:value-of select="$theme.color.red_border"/><xsl:text>;
88
background-color: </xsl:text>
89
<xsl:value-of select="$theme.color.yellow_background"/><xsl:text>;
93
min-height: </xsl:text><xsl:value-of select="$theme.icon.admon.size"/><xsl:text>px;
94
padding-left: </xsl:text>
95
<xsl:value-of select="$theme.icon.admon.size + 12"/><xsl:text>px;
96
background-position: left top;
97
background-repeat: no-repeat;
98
background-image: url("</xsl:text>
99
<xsl:value-of select="$theme.icon.admon.note"/><xsl:text>");
101
div.note-advanced div.note-inner { <!-- background-image: url("</xsl:text>
102
<xsl:value-of select="$theme.icon.admon.advanced"/><xsl:text>"); --> }
103
div.note-bug div.note-inner { background-image: url("</xsl:text>
104
<xsl:value-of select="$theme.icon.admon.bug"/><xsl:text>"); }
105
div.note-important div.note-inner { background-image: url("</xsl:text>
106
<xsl:value-of select="$theme.icon.admon.important"/><xsl:text>"); }
107
div.note-tip div.note-inner { background-image: url("</xsl:text>
108
<xsl:value-of select="$theme.icon.admon.tip"/><xsl:text>"); }
109
div.note-warning div.note-inner { background-image: url("</xsl:text>
110
<xsl:value-of select="$theme.icon.admon.warning"/><xsl:text>"); }
111
div.note-contents { margin: 0; padding: 0; }
115
background-image: url('</xsl:text>
116
<xsl:value-of select="$theme.watermark.blockquote"/><xsl:text>');
117
background-repeat: no-repeat;
118
background-position: top left;
126
margin: 0; padding: 0;
130
color: </xsl:text><xsl:value-of select="$theme.color.text_light"/><xsl:text>;
134
color: </xsl:text><xsl:value-of select="$theme.color.text_light"/><xsl:text>;
136
div.cite-quote::before {
138
content: '― ';
141
padding: 0.5em 1em 0.5em 1em;
142
background-color: </xsl:text>
143
<xsl:value-of select="$theme.color.gray_background"/><xsl:text>;
144
border: solid 2px </xsl:text>
145
<xsl:value-of select="$theme.color.gray_border"/><xsl:text>;
147
div.synopsis-contents {
149
padding: 0.5em 1em 0.5em 1em;
150
border-top: solid 2px;
151
border-bottom: solid 2px;
152
border-color: </xsl:text>
153
<xsl:value-of select="$theme.color.blue_border"/><xsl:text>;
154
background-color: </xsl:text>
155
<xsl:value-of select="$theme.color.gray_background"/><xsl:text>;
157
div.synopsis pre.code {
166
<!--**==========================================================================