Mercurial > hg > nginx-site
comparison xsls/content.xsls @ 354:4e3b681cae20
Unified the padding and margins of examples and notes blocks.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 25 Jan 2012 13:33:12 +0000 |
parents | 4c6d2c614d2c |
children | 6135f3c95bf6 |
comparison
equal
deleted
inserted
replaced
353:7b6155ac373b | 354:4e3b681cae20 |
---|---|
20 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } | 20 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } |
21 | 21 |
22 X:template = "initial" { <span class="initial"><b> !!; </b></span> } | 22 X:template = "initial" { <span class="initial"><b> !!; </b></span> } |
23 | 23 |
24 | 24 |
25 X:template = "programlisting" { <blockquote><pre> !!; </pre></blockquote> } | 25 X:template = "programlisting" { <blockquote class="example"><pre> !!; </pre></blockquote> } |
26 | 26 |
27 X:template = "para/programlisting" { | 27 X:template = "para/programlisting" { |
28 X:text disable-output-escaping="yes" {</p> } | 28 X:text disable-output-escaping="yes" {</p> } |
29 <blockquote><pre> !!; </pre></blockquote> | 29 <blockquote class="example"><pre> !!; </pre></blockquote> |
30 X:text disable-output-escaping="yes" {<p> } | 30 X:text disable-output-escaping="yes" {<p> } |
31 } | 31 } |
32 | 32 |
33 | 33 |
34 X:template = "note" { <blockquote class="note"> !!; </blockquote> } | 34 X:template = "note" { <blockquote class="note"> !!; </blockquote> } |
106 | 106 |
107 X:template = "command" { <code> !!; </code> } | 107 X:template = "command" { <code> !!; </code> } |
108 | 108 |
109 X:template = "emphasis" { <strong> !!; </strong> } | 109 X:template = "emphasis" { <strong> !!; </strong> } |
110 | 110 |
111 X:template = "example" { <blockquote><pre> !!; </pre></blockquote> } | 111 X:template = "example" { <blockquote class="example"><pre> !!; </pre></blockquote> } |
112 | 112 |
113 X:template = "para/example" { | 113 X:template = "para/example" { |
114 X:text disable-output-escaping="yes" {</p> } | 114 X:text disable-output-escaping="yes" {</p> } |
115 <blockquote><pre> !!; </pre></blockquote> | 115 <blockquote class="example"><pre> !!; </pre></blockquote> |
116 X:text disable-output-escaping="yes" {<p> } | 116 X:text disable-output-escaping="yes" {<p> } |
117 } | 117 } |
118 | 118 |
119 X:template = "literal" { <code> !!; </code> } | 119 X:template = "literal" { <code> !!; </code> } |
120 | 120 |