Mercurial > hg > nginx-site
changeset 692:31ba6a104186
Fixed the logo location and banner text direction for the Hebrew.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 28 Sep 2012 11:04:16 +0000 |
parents | 023e9f139c3c |
children | 095d1972dad9 |
files | xsls/body.xsls xsls/style.xsls |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xsls/body.xsls +++ b/xsls/body.xsls @@ -19,7 +19,8 @@ X:template body (lang) { <table width="100%"> <tr> <td width="70%"> - <div class="banner"> + <div id="banner"> + X:if "@lang = 'he'" { X:attribute "class" { X:text{ltr} } } <center> <table> <tr> @@ -39,6 +40,7 @@ X:template body (lang) { </div> </td> <td align="right"> + X:if "@lang = 'he'" { X:attribute "align" { X:text{left} } } <a href="http://nginx.org"> <img src="http://nginx.org/nginx.gif" alt="nginx" border="0"/> </a>
--- a/xsls/style.xsls +++ b/xsls/style.xsls @@ -22,7 +22,7 @@ X:template style (lang) { margin: 0; } div.directive p { margin: 5pt 0 0 0; font-size: 80%; } - div.banner { background: #EEEEEE; + div#banner { background: #EEEEEE; padding: 10pt 10pt 10pt 0; } span.initial { font-size: 200%; float: left;