Mercurial > hg > nginx-site
diff xsls/style.xsls @ 802:8af7fe0794b0
Improved appearance of Chinese documentation.
Added the "lang" attibute and made the text left aligned.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 28 Dec 2012 13:17:39 +0000 |
parents | cd73f6e9aaf3 |
children | 2d49e9ef39c3 |
line wrap: on
line diff
--- a/xsls/style.xsls Thu Dec 27 17:16:39 2012 +0000 +++ b/xsls/style.xsls Fri Dec 28 13:17:39 2012 +0000 @@ -65,6 +65,15 @@ ') } } + X:if "$lang = 'cn'" { + !{ normalize-space(' + p { text-align: left; } + li { text-align: left; } + dd { text-align: left; } + blockquote.note { text-align: left; } + ') } + } + </style> }