fix svgfile aligments and add a test
[PyX.git] / www / main.css
blob91224a127c78e7c75a1a2de33a2b2041b9d6c98f
1 body {
2 margin: 0px;
3 padding: 0px;
4 color: #333;
5 background-color: #ffe;
6 font: 11pt verdana,helvetica,sans-serif;
9 img {
10 border-width: 0px;
13 a {
14 color:#a33;
15 text-decoration: None;
18 a:hover {
19 text-decoration: underline;
22 /* page layout */
24 /* background needed when neither navigation nor content fill the available
25 * vertical space (it's a workaround for browsers which do not support
26 * min-height properly) */
27 #background {
28 position: absolute;
29 top: 0px;
30 left: 0px;
31 width: 200px;
32 height: 100%;
33 border-right: 1px solid #88a;
34 background-color: #eed;
35 z-index: 1;
38 #navigation {
39 position: absolute;
40 top: 0px;
41 left: 0px;
42 width: 200px;
43 border-right: 1px solid #88a;
44 background-color: #eed;
45 z-index: 3;
48 /* the content is placed into a wrapper to enlarge
49 the navigation area to the size of the content */
51 #contentwrapper {
52 min-width: 700px;
53 top: 0px;
54 left: 0px;
55 border-left: 200px solid #eed;
56 z-index: 2;
59 #content {
60 padding-left: 25px;
61 padding-right: 25px;
62 border-left: 1px solid #88a;
65 /* navigation elements */
67 #navigation .logo {
68 margin-top: 20px;
69 margin-left: 39px;
72 #navigation .box {
73 width: 140px;
74 margin-top: 20px;
75 margin-left: 19px;
76 padding: 10px;
77 border: 1px dashed #88a;
78 background-color: #dcf;
81 #navigation .title {
82 margin-bottom: 10px;
83 border-bottom: 1px solid #88a;
84 font-size: 13pt;
85 font-weight: bolder;
88 #navigation .link {
89 font-size: 10pt;
92 #navigation .sublink {
93 margin-left: 10px;
94 font-size: 10pt;
97 #navigation .sflink {
98 padding-top: 60px;
99 padding-left: 56px;
100 padding-bottom: 20px;
103 #navigation .w3clink {
104 padding-left: 58px;
105 padding-bottom: 20px;
108 /* content elements */
110 #content h1 {
111 padding: 0px;
112 margin: 0px;
113 margin-top: 15px;
114 margin-bottom: 15px;
115 padding-bottom: 3px;
116 border-bottom: 1px solid #88a;
117 font-size: 18pt;
118 font-weight: bolder;
121 #content h2 {
122 padding: 0px;
123 margin: 0px;
124 padding-bottom: 10px;
125 font-size: 14pt;
126 font-weight: bolder;
129 #content h3 {
130 padding: 0px;
131 margin: 0px;
132 padding-bottom: 10px;
133 font-size: 12pt;
134 font-weight: bold;
137 #content .image {
138 margin-left: 10px;
139 margin-bottom: 10px;
140 padding: 10px;
141 border: 1px dashed #88a;
142 background-color: #eed;
143 float:right;
144 font-size: 9pt;
145 text-align: center;
146 font-style: italic;
149 #content p {
150 padding: 0px;
151 margin: 0px;
152 padding-bottom: 10pt;
155 #content dl {
156 padding: 0px;
157 margin: 0px;
160 #content dt {
161 padding: 0px;
162 margin: 0px;
163 padding-bottom: 5pt;
164 font-weight: bold;
167 #content dd {
168 padding: 0px;
169 margin: 0px;
170 padding-left: 25px;
171 padding-bottom: 15pt;
174 #content ul {
175 padding: 0px;
176 margin: 0px;
177 padding-left: 25px;
178 padding-bottom: 15pt;
181 #content li {
182 padding: 0px;
183 margin: 0px;
186 #content .tablepar {
187 padding: 0px;
188 margin: 0px;
189 padding-bottom: 15pt;
192 #content .tablehead {
193 background-color: #dcf;
196 #content .examplenavigations {
197 float: right;
200 #content .examplenavigation {
201 margin-left: 15px;
204 #content .exampleseparator {
205 margin-bottom: 15px;
206 border-bottom: 1px solid #88a;
207 clear: both;
210 #content .exampledownloads {
211 float: right;
214 #content .exampledownload {
215 margin-left: 10px;
216 text-align: center;
217 float: left;
220 #content .exampledownloadsize {
221 font-size: 8pt;
224 #content .examplethumbnail {
225 padding-left: 15px;
226 padding-bottom: 15px;
227 text-align: center;
228 float: right;
231 #content .examplebend {
232 padding-right: 5px;
233 float: left;
236 #content .exampleimage {
237 padding-bottom: 15px;
238 text-align: center;
239 clear: both;
242 #content .examplecode {
243 padding-bottom: 15px;
246 #content .codeindent {
247 padding-left: 50px;
250 /* python syntax */
252 #python .number {
253 color: #08c;
256 #python .op {
257 color: #00c;
260 #python .string {
261 color: #048;
264 #python .comment {
265 color: #080;
268 #python .name {
269 color: #000;
272 #python .keyword {
273 color: #c00;