source: proiecte/swift/trunk/lib/hoard-371/doc/skin/basic.css @ 176

Last change on this file since 176 was 176, checked in by (none), 14 years ago
  • imported repo from "guagal"
File size: 2.6 KB
Line 
1/*
2
3* Copyright 2002-2004 The Apache Software Foundation
4
5*
6
7* Licensed under the Apache License, Version 2.0 (the "License");
8
9* you may not use this file except in compliance with the License.
10
11* You may obtain a copy of the License at
12
13*
14
15*     http://www.apache.org/licenses/LICENSE-2.0
16
17*
18
19* Unless required by applicable law or agreed to in writing, software
20
21* distributed under the License is distributed on an "AS IS" BASIS,
22
23* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
25* See the License for the specific language governing permissions and
26
27* limitations under the License.
28
29*/
30
31/**
32
33 * General
34
35 */
36
37
38
39img { border: 0; }
40
41
42
43#content table {
44
45  border: 0;
46
47  width: 100%;
48
49}
50
51#content th,
52
53#content td {
54
55  margin: 0;
56
57  padding: 0;
58
59  vertical-align: top;
60
61}
62
63
64
65.clearboth {
66
67  clear: both;
68
69}
70
71
72
73.frame {
74
75  border: solid black 1px;
76
77  margin: 1em 3em;
78
79}
80
81
82
83.frame .label {
84
85  background: #369;
86
87  color: white;
88
89  font-weight: bold;
90
91  padding: 5px 10px;
92
93}
94
95.frame .content {
96
97  padding: 5px 10px;
98
99  background: #F0F0FF;
100
101  color: black;
102
103  line-height: 120%;
104
105  font-size: 90%;
106
107}
108
109.warning .label {
110
111  background: #C00;
112
113  color: white;
114
115}
116
117.warning .content {
118
119  background: #FFF0F0;
120
121  color: black;
122
123}
124
125.fixme .label {
126
127  background: #C6C600;
128
129}
130
131
132
133/**
134
135 * Typography
136
137 */
138
139
140
141body {
142
143  font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif;
144
145  font-size: 100%;
146
147}
148
149
150
151#content {
152
153  font-family: Georgia, Palatino, Times, serif;
154
155  font-size: 95%;
156
157}
158
159#tabs {
160
161  font-size: 70%;
162
163}
164
165#menu {
166
167  font-size: 80%;
168
169}
170
171#footer {
172
173  font-size: 70%;
174
175}
176
177
178
179h1, h2, h3, h4, h5, h6 {
180
181  font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
182
183  font-weight: bold;
184
185  margin-top: 1em;
186
187  margin-bottom: .5em;
188
189}
190
191
192
193h1 {
194
195    margin-top: 0;
196
197    margin-bottom: 1em;
198
199  font-size: 1.4em;
200
201}
202
203#content h1 {
204
205  font-size: 160%;
206
207  margin-bottom: .5em;
208
209}
210
211#menu h1 {
212
213  margin: 0;
214
215  padding: 10px;
216
217  background: #336699;
218
219  color: white;
220
221}
222
223h2 { font-size: 120%; }
224
225h3 { font-size: 100%; }
226
227h4 { font-size: 90%; }
228
229h5 { font-size: 80%; }
230
231h6 { font-size: 75%; }
232
233
234
235p {
236
237  line-height: 120%;
238
239  text-align: left;
240
241  margin-top: .5em;
242
243  margin-bottom: 1em;
244
245}
246
247
248
249#content li,
250
251#content th,
252
253#content td {
254
255  line-height: 110%; 
256
257  margin-top: .1em;
258
259  margin-bottom: .1em;
260
261}
262
263
264
265#content .attribution {
266
267  text-align: right;
268
269  font-style: italic;
270
271  font-size: 85%;
272
273  margin-top: 1em;
274
275}
276
277
278
279.codefrag {
280
281  font-family: "Courier New", Courier, monospace;
282
283  font-size: 110%;
284
285}
Note: See TracBrowser for help on using the repository browser.