Mercurial > hg > nginx-site
view xsls/style.xsls @ 173:6b81a1950ecb
Improved on "try_files" documentation:
- documented that "root" and "alias" affect the path being checked;
- provided an example of using a URI as the last argument;
- documented that last argument can point to a named location.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 07 Nov 2011 08:46:15 +0000 |
parents | 70d8e39bbaa8 |
children | 53dc6d25ec2d |
line wrap: on
line source
X:stylesheet { X:template style (lang) { <style type="text/css">!{ 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%; } ') } 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> } }