Mercurial > hg > nginx-site
annotate xsls/style.xsls @ 1094:1171d273df8f
Added SPDY advisory link.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 04 Mar 2014 19:33:16 +0400 |
parents | 2d49e9ef39c3 |
children | f39a8b156b3b |
rev | line source |
---|---|
580
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
496
diff
changeset
|
1 <!-- |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
496
diff
changeset
|
2 Copyright (C) Igor Sysoev |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
496
diff
changeset
|
3 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
496
diff
changeset
|
4 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
496
diff
changeset
|
5 |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
6 X:stylesheet { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
7 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
8 X:template style (lang) { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
9 |
93
9151d4344e65
Added required attribute "type" for the <style> element.
Ruslan Ermilov <ru@nginx.com>
parents:
71
diff
changeset
|
10 <style type="text/css">!{ normalize-space(' |
1079
2d49e9ef39c3
Explicitly set background and font colors for body.
Valentin Bartenev <vbart@nginx.com>
parents:
802
diff
changeset
|
11 body { background: white; |
2d49e9ef39c3
Explicitly set background and font colors for body.
Valentin Bartenev <vbart@nginx.com>
parents:
802
diff
changeset
|
12 color: black; |
2d49e9ef39c3
Explicitly set background and font colors for body.
Valentin Bartenev <vbart@nginx.com>
parents:
802
diff
changeset
|
13 font-family: Georgia, serif; } |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
14 p { text-align: justify; } |
129
523a80fc32b4
Fixed a fallout from switching to standard HTML.
Ruslan Ermilov <ru@nginx.com>
parents:
126
diff
changeset
|
15 table.news p { margin-top: 0; } |
167
921ab40baff4
Fixed vertical alignment of the news table cells.
Ruslan Ermilov <ru@nginx.com>
parents:
134
diff
changeset
|
16 table.news td { vertical-align: baseline; } |
134
0991bf45cbb8
Added "white-space: nowrap" to prevent date wrapping.
Maxim Dounin <mdounin@mdounin.ru>
parents:
129
diff
changeset
|
17 table.news .date { text-align: right; |
0991bf45cbb8
Added "white-space: nowrap" to prevent date wrapping.
Maxim Dounin <mdounin@mdounin.ru>
parents:
129
diff
changeset
|
18 padding-right: 0.5em; |
0991bf45cbb8
Added "white-space: nowrap" to prevent date wrapping.
Maxim Dounin <mdounin@mdounin.ru>
parents:
129
diff
changeset
|
19 white-space: nowrap; } |
778
cd73f6e9aaf3
Donation page refactored: multi-column layout, donated sums ranges.
Maxim Konovalov <maxim@nginx.com>
parents:
693
diff
changeset
|
20 table.donors td { vertical-align: baseline; } |
cd73f6e9aaf3
Donation page refactored: multi-column layout, donated sums ranges.
Maxim Konovalov <maxim@nginx.com>
parents:
693
diff
changeset
|
21 table.donors li { text-align: left; } |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
22 div.directive { background: #EEEEEE; |
286
53dc6d25ec2d
Fixed padding in <directive> and text alignment in <tag-desc>.
Ruslan Ermilov <ru@nginx.com>
parents:
168
diff
changeset
|
23 padding: 10pt 10pt 10pt 0; } |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
24 div.directive td { vertical-align: baseline; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
25 div.directive pre { padding: 0; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
26 margin: 0; } |
328
05bddd18056f
Show the history information in a less intrusive manner.
Ruslan Ermilov <ru@nginx.com>
parents:
286
diff
changeset
|
27 div.directive p { margin: 5pt 0 0 0; |
05bddd18056f
Show the history information in a less intrusive manner.
Ruslan Ermilov <ru@nginx.com>
parents:
286
diff
changeset
|
28 font-size: 80%; } |
692
31ba6a104186
Fixed the logo location and banner text direction for the Hebrew.
Vladimir Homutov <vl@nginx.com>
parents:
691
diff
changeset
|
29 div#banner { background: #EEEEEE; |
691
023e9f139c3c
Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents:
580
diff
changeset
|
30 padding: 10pt 10pt 10pt 0; } |
693
095d1972dad9
Added ability to switch languages without context change.
Vladimir Homutov <vl@nginx.com>
parents:
692
diff
changeset
|
31 a.notrans { color: gray; |
095d1972dad9
Added ability to switch languages without context change.
Vladimir Homutov <vl@nginx.com>
parents:
692
diff
changeset
|
32 text-decoration:none; } |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
33 span.initial { font-size: 200%; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
34 float: left; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
35 padding-right: 10pt;} |
473
cac48e2d0d9b
Added the "compact" attribute to the "list" element.
Ruslan Ermilov <ru@nginx.com>
parents:
354
diff
changeset
|
36 li { text-align: justify; |
cac48e2d0d9b
Added the "compact" attribute to the "list" element.
Ruslan Ermilov <ru@nginx.com>
parents:
354
diff
changeset
|
37 padding-top: 0.5em; } |
cac48e2d0d9b
Added the "compact" attribute to the "list" element.
Ruslan Ermilov <ru@nginx.com>
parents:
354
diff
changeset
|
38 .compact li { padding-top: 0; } |
496
a57994ede438
Added the notion of compactness to the tag type lists.
Ruslan Ermilov <ru@nginx.com>
parents:
473
diff
changeset
|
39 dt { padding-top: 0.5em; } |
a57994ede438
Added the notion of compactness to the tag type lists.
Ruslan Ermilov <ru@nginx.com>
parents:
473
diff
changeset
|
40 .compact dt { padding-top: 0; } |
286
53dc6d25ec2d
Fixed padding in <directive> and text alignment in <tag-desc>.
Ruslan Ermilov <ru@nginx.com>
parents:
168
diff
changeset
|
41 dd { text-align: justify; } |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
42 td.list { background: #EEEEEE; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
43 blockquote.note { text-align: justify; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
44 background: #EEEEEE; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
45 border: none; |
354
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
328
diff
changeset
|
46 margin: 1em; |
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
328
diff
changeset
|
47 padding: 0.5em; } |
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
328
diff
changeset
|
48 blockquote.example { |
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
328
diff
changeset
|
49 background: transparent; |
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
328
diff
changeset
|
50 border: none; |
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
328
diff
changeset
|
51 margin: 1em; |
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
328
diff
changeset
|
52 padding: 0.5em; } |
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
328
diff
changeset
|
53 blockquote.example pre { |
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
328
diff
changeset
|
54 padding: 0; |
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
328
diff
changeset
|
55 margin: 0; } |
126
d4133c439eeb
'registered' element added
Sergey Budnevitch <sb@waeme.net>
parents:
112
diff
changeset
|
56 sup { font-size: 50%; } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
57 ') } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
58 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
59 X:if "$lang = 'he'" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
60 !{ normalize-space(' |
112
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
61 pre { text-align: left; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
62 direction: ltr; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
63 code { direction: ltr; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
64 unicode-bidi: embed; } |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
65 .ltr { direction: ltr; |
d3e240f7157c
Inside the "directive" prologue block, addressed the vertical
Ruslan Ermilov <ru@nginx.com>
parents:
93
diff
changeset
|
66 unicode-bidi: embed; } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
67 ') } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
68 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
69 |
802
8af7fe0794b0
Improved appearance of Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
778
diff
changeset
|
70 X:if "$lang = 'cn'" { |
8af7fe0794b0
Improved appearance of Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
778
diff
changeset
|
71 !{ normalize-space(' |
8af7fe0794b0
Improved appearance of Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
778
diff
changeset
|
72 p { text-align: left; } |
8af7fe0794b0
Improved appearance of Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
778
diff
changeset
|
73 li { text-align: left; } |
8af7fe0794b0
Improved appearance of Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
778
diff
changeset
|
74 dd { text-align: left; } |
8af7fe0794b0
Improved appearance of Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
778
diff
changeset
|
75 blockquote.note { text-align: left; } |
8af7fe0794b0
Improved appearance of Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
778
diff
changeset
|
76 ') } |
8af7fe0794b0
Improved appearance of Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
778
diff
changeset
|
77 } |
8af7fe0794b0
Improved appearance of Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
778
diff
changeset
|
78 |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
79 </style> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
80 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
81 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
82 } |