comparison xslt/style.xslt @ 778:cd73f6e9aaf3

Donation page refactored: multi-column layout, donated sums ranges.
author Maxim Konovalov <maxim@nginx.com>
date Mon, 10 Dec 2012 10:45:23 +0000
parents 91dd4a7fadbb
children 6c3349baa1d3
comparison
equal deleted inserted replaced
777:284dc43b13d3 778:cd73f6e9aaf3
3 3
4 <xsl:template name="style"> 4 <xsl:template name="style">
5 <xsl:param name="lang"/> 5 <xsl:param name="lang"/>
6 6
7 <style type="text/css"> 7 <style type="text/css">
8 <xsl:value-of select=" 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 0; } div.directive td { vertical-align: baseline; } div.directive pre { padding: 0; margin: 0; } div.directive p { margin: 5pt 0 0 0; font-size: 80%; } div#banner { background: #EEEEEE; padding: 10pt 10pt 10pt 0; } a.notrans { color: gray; text-decoration:none; } span.initial { font-size: 200%; float: left; padding-right: 10pt;} li { text-align: justify; padding-top: 0.5em; } .compact li { padding-top: 0; } dt { padding-top: 0.5em; } .compact dt { padding-top: 0; } dd { text-align: justify; } td.list { background: #EEEEEE; } blockquote.note { text-align: justify; background: #EEEEEE; border: none; margin: 1em; padding: 0.5em; } blockquote.example { background: transparent; border: none; margin: 1em; padding: 0.5em; } blockquote.example pre { padding: 0; margin: 0; } sup { font-size: 50%; } ')"/> 8 <xsl:value-of select=" 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; } table.donors td { vertical-align: baseline; } table.donors li { text-align: left; } div.directive { background: #EEEEEE; padding: 10pt 10pt 10pt 0; } div.directive td { vertical-align: baseline; } div.directive pre { padding: 0; margin: 0; } div.directive p { margin: 5pt 0 0 0; font-size: 80%; } div#banner { background: #EEEEEE; padding: 10pt 10pt 10pt 0; } a.notrans { color: gray; text-decoration:none; } span.initial { font-size: 200%; float: left; padding-right: 10pt;} li { text-align: justify; padding-top: 0.5em; } .compact li { padding-top: 0; } dt { padding-top: 0.5em; } .compact dt { padding-top: 0; } dd { text-align: justify; } td.list { background: #EEEEEE; } blockquote.note { text-align: justify; background: #EEEEEE; border: none; margin: 1em; padding: 0.5em; } blockquote.example { background: transparent; border: none; margin: 1em; padding: 0.5em; } blockquote.example pre { padding: 0; margin: 0; } sup { font-size: 50%; } ')"/>
9 9
10 <xsl:if test="$lang = 'he'"> 10 <xsl:if test="$lang = 'he'">
11 11
12 <xsl:value-of select=" normalize-space(' pre { text-align: left; direction: ltr; } code { direction: ltr; unicode-bidi: embed; } .ltr { direction: ltr; unicode-bidi: embed; } ')"/> 12 <xsl:value-of select=" normalize-space(' pre { text-align: left; direction: ltr; } code { direction: ltr; unicode-bidi: embed; } .ltr { direction: ltr; unicode-bidi: embed; } ')"/>
13 </xsl:if> 13 </xsl:if>