diff xsls/style.xsls @ 0:61e04fc01027

Initial import of the nginx.org website.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 11 Aug 2011 12:19:13 +0000
parents
children 2f7420346aee
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xsls/style.xsls	Thu Aug 11 12:19:13 2011 +0000
@@ -0,0 +1,29 @@
+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>
+}
+
+}