Mercurial > hg > nginx-site
annotate xsls/style.xsls @ 112:d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
alignment issue via a different mean, and made default text
render as multi-line.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 20 Oct 2011 13:26:11 +0000 |
parents | 9151d4344e65 |
children | d4133c439eeb |
rev | line source |
---|---|
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
1 X:stylesheet { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
2 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
3 X:template style (lang) { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
4 |
93
9151d4344e65
Added required attribute "type" for the <style> element.
Ruslan Ermilov <ru@nginx.com>
parents:
71
diff
changeset
|
5 <style type="text/css">!{ normalize-space(' |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
6 html { -webkit-text-size-adjust: none; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
7 body { font-family: Georgia, serif; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
8 p { text-align: justify; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
9 div.directive { background: #EEEEEE; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
10 padding: 10pt 10pt 10pt 20pt; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
11 div.directive td { vertical-align: baseline; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
12 div.directive pre { padding: 0; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
13 margin: 0; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
14 span.initial { font-size: 200%; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
15 float: left; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
16 padding-right: 10pt;} |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
17 li { text-align: justify; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
18 td.list { background: #EEEEEE; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
19 blockquote.note { text-align: justify; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
20 background: #EEEEEE; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
21 border: none; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
22 padding: 10pt 10pt 10pt 10pt; } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
23 ') } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
24 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
25 X:if "$lang = 'he'" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
26 !{ normalize-space(' |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
27 pre { text-align: left; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
28 direction: ltr; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
29 code { direction: ltr; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
30 unicode-bidi: embed; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
31 .ltr { direction: ltr; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
32 unicode-bidi: embed; } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
33 ') } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
34 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
35 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
36 </style> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
37 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
38 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
39 } |