added some precautionary checks in bdecoder
[libtorrent.git] / docs / style.css
blob9204e2fe89ae23009116274154d96d48fcde6230
1 html>body { font-size: 13px; }
3 #main {
4 font-family: Verdana;
5 text-align: left;
6 margin-top: 10px;
9 /* Base elements */
11 * {margin: 0; padding: 0;}
12 body { font: 0.8125em Verdana, sans-serif;}
14 h1, h2, h3 {
15 font: 1.5em Georgia "Times New Roman", serif;
16 letter-spacing: 1px;
17 padding-bottom: 0.5em;
20 h1 { font-size: 180%; }
21 h2 { font-size: 130%; }
22 h3 { font-size: 100%; }
24 p {
25 font-size: 92%;
26 line-height: 1.4em;
29 a {
30 text-decoration: none;
31 color: #8D370A;
32 border-bottom: dotted 1px #8D370A;
35 a:hover {
36 border-bottom: solid 1px #8D370A;
37 background: #eee;
40 ul, ol { /*line-height: 1.8em;*/ }
41 ul { list-style: square; }
42 li { margin-left: 2.8em; font-size: 92%; }
44 p, ul, ol, img {margin-bottom: 1em;}
47 .document {
48 margin-left: 10px;
49 margin-right: 10px;
52 .document a {
53 border: none;
54 color: black;
57 .document a:hover {
58 background: none;
61 .document a.reference {
62 color: #8D370A;
63 border-bottom: dotted 1px #8D370A;
66 .document a.reference:hover {
67 border-bottom: solid 1px #8D370A;
68 background: #eee;
71 div.section {
72 margin-bottom: 3em;
75 div.section div.section div.section {
76 margin-bottom: 2em;
79 h3 { text-transform: uppercase; }
81 div.section p, div.section ul, div.section dl {
84 table.docinfo {
85 text-align: left;
86 float: right;
87 width: 200px;
88 margin-right: 0px;
89 margin-left: 20px;
90 margin-bottom: 20px;
93 table.docinfo th {
94 border-top: none;
95 font-size: 72%;
96 padding-left: 10px;
99 table.docinfo td {
100 padding-left: 10px;
101 font-size: 88%;
104 table.docinfo tr.field td, table.docinfo tr.field th {display: none;}
106 h1.title { text-align: center; }
108 dt {
109 font-size: 100%;
110 letter-spacing: 2px;
111 line-height: 1em;
112 color: #315586;
113 color: #000;
114 font-family: Tahoma;
115 font-weight: bold;
118 dd {
119 /* line-height: 1.5em;*/
120 margin-left: 1em;
121 margin-bottom: 1em;
122 font-size: 92%;
125 tt {
126 font: 1em "Courier New", "Courier";
127 color: #315566;
130 pre {
131 font-family: "Courier", monospace;
132 margin-right: 10px;
133 background: #C1E5F6;
134 border-left: solid 2px #6185A6;
135 border-right: solid 2px #6185A6;
136 padding: 5px 10px 5px 10px;
138 background: #f6f6f6;
139 border: solid 1px #ddd;
140 margin: 1em 0;
143 div.warning, div.note, div.important {
144 width: 80%;
145 margin: 1.5em auto;
146 background: #C1E5F6;
147 background: #F1FFF5;
148 border: solid 1px #D1DFD5;
149 padding: 5px 10px 5px 10px;
152 p.admonition-title {
153 font-family: Georgia, "Lucida Grande";
154 font-size: 128%;
155 letter-spacing: 2px;
156 text-transform: uppercase;
157 margin: 0 0 0.5em 0;
158 border-bottom: solid 1px #D1DFD5
161 div.sidebar {
162 background: #f8f8e8;
163 float: right;
164 width: 20em;
165 margin-right: 1em;
166 border: solid 1px #e5e5d5;
167 padding: 1.3em;
170 div.sidebar p.sidebar-title {
171 font: 1.3em Georgia;
172 border-bottom: solid 1px #e5e5d5;
173 padding-bottom: 0.5em;
174 margin: 0 0 0.5em 0;
177 h1 { font-size: 230%; }
178 h2 { font-size: 180%; }
179 h3 { font-size: 130%; }
181 table { margin-bottom: 1em; border-collapse: collapse; }
182 table, th, td { border: none; }
184 th, td { padding: 0.3em; }
186 th {
187 text-align: left;
188 background: #f0f0e0;
189 border-right: solid 1px #f0f0e0;
190 border-top: solid 1px #e8e8d8;
191 border-bottom: solid 1px #e8e8d8;
194 td {
195 background: #f8f8e8;
196 border-right: solid 1px #f8f8e8;
197 border-bottom: solid 1px #e8e8d8;
200 td td {
201 background: #e8e8d8;
202 border-right: solid 1px #e8e8d8;
203 border-bottom: solid 1px #d8d8c8;
206 div.topic {
207 border-left: solid 1px #eee;
208 padding-left: 1em;
209 margin: 0 0 1.5em;
212 p.topic-title {
213 font: 1.3em Georgia, "Times New Roman", serif;
216 /* TOC */
218 div.contents {
219 border: none;
222 #table-of-contents {
223 margin-left: 20px;
224 padding: 0 0 1em;
225 width: 200px;
226 float: right;
227 clear: right;
228 border-right: solid 1px #A1C5D6;
231 #table-of-contents p {
232 font-family: Georgia, "Times New Roman", serif;
233 color: #AD370A;
234 padding: 0.5em;
235 margin: 0;
238 #table-of-contents li {
239 margin: 0 0.5em 0 0.5em;
242 #table-of-contents ul {
243 margin: 0;
244 padding: 0 0 0 0.8em;
245 list-style: none;
246 text-align: left;
249 #table-of-contents a.reference {
250 border: none;
251 font: 0.88em Tahoma;
252 font-weight: bold;
253 color: #000050;
254 margin-right: 1em;
255 padding-left: 15px;
258 #table-of-contents li li a.reference {
259 font-weight: normal;
260 background: none;
261 padding: 0;
264 #table-of-contents a.reference:hover {text-decoration: underline;}
266 dd p {
267 font-size: 100%;
270 dd pre {
271 font-size: 108.7%;
274 li p, li li { font-size: 100%; }
276 #librarySidebar {
277 float: left;
278 width: 150px;
281 #libraryBody {
282 border-left: solid 1px #eee;
283 padding-left: 10px;
284 margin-left: 158px;
285 margin-right: 10px;
288 /* IE Hacks */
290 /* Hides from IE-mac \*/
291 * html li pre { height: 1%; }
292 * html .topic pre { height: 1%; }
293 * html #table-of-contents ul ul { height: 1%; }
294 /* End hide from IE-mac */