Mercurial > hg > nginx-site
view xsls/style.xsls @ 7:cc28e27da275
Removed excessive use of properties; discussed with mdounin@.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 15 Aug 2011 10:16:53 +0000 |
parents | 61e04fc01027 |
children | 2f7420346aee |
line wrap: on
line source
X:stylesheet { X:template style (lang) { <style>!{ normalize-space(' html {-webkit-text-size-adjust:none} body { font-family: Georgia, serif; } p { text-align: justify; } p { text-indent: 20pt; } p.noindent { text-indent: 0pt; } li { text-align: justify; } td.list { background: #EEEEEE; } blockquote.note { text-align: justify; } blockquote.note { background: #EEEEEE; border: none; } blockquote.note { padding: 10pt 10pt 10pt 10pt; } ') } X:if "$lang = 'he'" { !{ normalize-space(' pre { text-align: left; direction: ltr; } code { direction: ltr; unicode-bidi: embed;} .ltr { direction: ltr; unicode-bidi: embed;} ') } } </style> } }