Mercurial > hg > nginx-site
comparison xslt/style.xslt @ 3045:91a2ee74ca72
Regenerated.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 14 Feb 2024 20:05:53 +0300 |
parents | 086e307d8b28 |
children | 55d1bf4bf7fd |
comparison
equal
deleted
inserted
replaced
3044:6c78190bc1cb | 3045:91a2ee74ca72 |
---|---|
14 font-family: sans-serif; | 14 font-family: sans-serif; |
15 line-height: 1.4em; | 15 line-height: 1.4em; |
16 text-align: center; | 16 text-align: center; |
17 margin: 0; | 17 margin: 0; |
18 padding: 0; } | 18 padding: 0; } |
19 #banner { background: black; | |
20 color: #F2F2F2; | |
21 line-height: 1.2em; | |
22 padding: .3em 0; | |
23 box-shadow: 0 5px 10px black; } | |
24 #banner a { color: #00B140; } | |
25 #main { text-align: left; | 19 #main { text-align: left; |
26 margin: 0 auto; | 20 margin: 0 auto; |
27 min-width: 32em; | 21 min-width: 32em; |
28 max-width: 64em; } | 22 max-width: 64em; } |
29 #menu { float: right; | 23 #menu { float: right; |
105 left:0; | 99 left:0; |
106 width:100%; | 100 width:100%; |
107 height:100%; } | 101 height:100%; } |
108 ') "/> | 102 ') "/> |
109 | 103 |
110 <xsl:if test="$lang = 'he'"> | |
111 <xsl:value-of select=" normalize-space(' | |
112 pre { text-align: left; | |
113 direction: ltr; } | |
114 code { direction: ltr; | |
115 unicode-bidi: embed; } | |
116 .ltr { direction: ltr; | |
117 unicode-bidi: embed; } | |
118 ') "/> | |
119 </xsl:if> | |
120 | |
121 <xsl:if test="$lang = 'cn'"> | |
122 <xsl:value-of select=" normalize-space(' | |
123 p { text-align: left; } | |
124 li { text-align: left; } | |
125 dd { text-align: left; } | |
126 blockquote.note { text-align: left; } | |
127 ') "/> | |
128 </xsl:if> | |
129 | |
130 </style> | 104 </style> |
131 </xsl:template> | 105 </xsl:template> |
132 | 106 |
133 </xsl:stylesheet> | 107 </xsl:stylesheet> |