Mercurial > hg > nginx-site
annotate xsls/style.xsls @ 134:0991bf45cbb8
Added "white-space: nowrap" to prevent date wrapping.
Additionally, moved all formatting into CSS where it should be.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 21 Oct 2011 21:16:08 +0000 |
parents | 523a80fc32b4 |
children | 921ab40baff4 |
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; } |
129
523a80fc32b4
Fixed a fallout from switching to standard HTML.
Ruslan Ermilov <ru@nginx.com>
parents:
126
diff
changeset
|
9 table.news p { margin-top: 0; } |
523a80fc32b4
Fixed a fallout from switching to standard HTML.
Ruslan Ermilov <ru@nginx.com>
parents:
126
diff
changeset
|
10 table.news td { vertical-align: top; } |
134
0991bf45cbb8
Added "white-space: nowrap" to prevent date wrapping.
Maxim Dounin <mdounin@mdounin.ru>
parents:
129
diff
changeset
|
11 table.news .date { text-align: right; |
0991bf45cbb8
Added "white-space: nowrap" to prevent date wrapping.
Maxim Dounin <mdounin@mdounin.ru>
parents:
129
diff
changeset
|
12 padding-right: 0.5em; |
0991bf45cbb8
Added "white-space: nowrap" to prevent date wrapping.
Maxim Dounin <mdounin@mdounin.ru>
parents:
129
diff
changeset
|
13 white-space: nowrap; } |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
14 div.directive { background: #EEEEEE; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
15 padding: 10pt 10pt 10pt 20pt; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
16 div.directive td { vertical-align: baseline; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
17 div.directive pre { padding: 0; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
18 margin: 0; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
19 span.initial { font-size: 200%; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
20 float: left; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
21 padding-right: 10pt;} |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
22 li { text-align: justify; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
23 td.list { background: #EEEEEE; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
24 blockquote.note { text-align: justify; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
25 background: #EEEEEE; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
26 border: none; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
27 padding: 10pt 10pt 10pt 10pt; } |
126
d4133c439eeb
'registered' element added
Sergey Budnevitch <sb@waeme.net>
parents:
112
diff
changeset
|
28 sup { font-size: 50%; } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
29 ') } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
30 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
31 X:if "$lang = 'he'" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
32 !{ normalize-space(' |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
33 pre { text-align: left; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
34 direction: ltr; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
35 code { direction: ltr; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
36 unicode-bidi: embed; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
37 .ltr { direction: ltr; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
38 unicode-bidi: embed; } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
39 ') } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
40 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
41 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
42 </style> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
43 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
44 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
45 } |