Mercurial > hg > nginx-site
comparison xslt/style.xslt @ 170:cd2698ea00ab
Added generated XSLTs.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 02 Nov 2011 19:31:11 +0000 |
parents | |
children | becf9ff52b55 |
comparison
equal
deleted
inserted
replaced
169:b7b160e4e046 | 170:cd2698ea00ab |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
3 | |
4 <xsl:template name="style"> | |
5 <xsl:param name="lang"/> | |
6 | |
7 <style type="text/css"> | |
8 <xsl:value-of select=" normalize-space(' body { font-family: Georgia, serif; } p { text-align: justify; } table.news p { margin-top: 0; } table.news td { vertical-align: baseline; } table.news .date { text-align: right; padding-right: 0.5em; white-space: nowrap; } div.directive { background: #EEEEEE; padding: 10pt 10pt 10pt 20pt; } div.directive td { vertical-align: baseline; } div.directive pre { padding: 0; margin: 0; } span.initial { font-size: 200%; float: left; padding-right: 10pt;} li { text-align: justify; } td.list { background: #EEEEEE; } blockquote.note { text-align: justify; background: #EEEEEE; border: none; padding: 10pt 10pt 10pt 10pt; } sup { font-size: 50%; } ')"/> | |
9 | |
10 <xsl:if test="$lang = 'he'"> | |
11 | |
12 <xsl:value-of select=" normalize-space(' pre { text-align: left; direction: ltr; } code { direction: ltr; unicode-bidi: embed; } .ltr { direction: ltr; unicode-bidi: embed; } ')"/> | |
13 </xsl:if> | |
14 | |
15 </style> | |
16 </xsl:template> | |
17 | |
18 </xsl:stylesheet> |