xref: /freebsd/contrib/lyaml/doc/ldoc.css (revision 2bc180ef045e5911cce0cea1c2a139cffd2b577a)
1/* BEGIN RESET
2
3Copyright (c) 2010, Yahoo! Inc. All rights reserved.
4Code licensed under the BSD License:
5http://developer.yahoo.com/yui/license.html
6version: 2.8.2r1
7*/
8html {
9    color: #000;
10    background: #FFF;
11}
12body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td {
13    margin: 0;
14    padding: 0;
15}
16table {
17    border-collapse: collapse;
18    border-spacing: 0;
19}
20fieldset,img {
21    border: 0;
22}
23address,caption,cite,code,dfn,em,strong,th,var,optgroup {
24    font-style: inherit;
25    font-weight: inherit;
26}
27del,ins {
28    text-decoration: none;
29}
30li {
31    margin-left: 20px;
32}
33caption,th {
34    text-align: left;
35}
36h1,h2,h3,h4,h5,h6 {
37    font-size: 100%;
38    font-weight: bold;
39}
40q:before,q:after {
41    content: '';
42}
43abbr,acronym {
44    border: 0;
45    font-variant: normal;
46}
47sup {
48    vertical-align: baseline;
49}
50sub {
51    vertical-align: baseline;
52}
53legend {
54    color: #000;
55}
56input,button,textarea,select,optgroup,option {
57    font-family: inherit;
58    font-size: inherit;
59    font-style: inherit;
60    font-weight: inherit;
61}
62input,button,textarea,select {*font-size:100%;
63}
64/* END RESET */
65
66body {
67    margin-left: 1em;
68    margin-right: 1em;
69    font-family: arial, helvetica, geneva, sans-serif;
70    background-color: #ffffff; margin: 0px;
71}
72
73code, tt { font-family: monospace; font-size: 1.1em; }
74span.parameter { font-family:monospace; }
75span.parameter:after { content:":"; }
76span.types:before { content:"("; }
77span.types:after { content:")"; }
78.type { font-weight: bold; font-style:italic }
79
80body, p, td, th { font-size: .95em; line-height: 1.2em;}
81
82p, ul { margin: 10px 0 0 0px;}
83
84strong { font-weight: bold;}
85
86em { font-style: italic;}
87
88h1 {
89    font-size: 1.5em;
90    margin: 20px 0 20px 0;
91}
92h2, h3, h4 { margin: 15px 0 10px 0; }
93h2 { font-size: 1.25em; }
94h3 { font-size: 1.15em; }
95h4 { font-size: 1.06em; }
96
97a:link { font-weight: bold; color: #004080; text-decoration: none; }
98a:visited { font-weight: bold; color: #006699; text-decoration: none; }
99a:link:hover { text-decoration: underline; }
100
101hr {
102    color:#cccccc;
103    background: #00007f;
104    height: 1px;
105}
106
107blockquote { margin-left: 3em; }
108
109ul { list-style-type: disc; }
110
111p.name {
112    font-family: "Andale Mono", monospace;
113    padding-top: 1em;
114}
115
116pre {
117    background-color: rgb(245, 245, 245);
118    border: 1px solid #C0C0C0; /* silver */
119    padding: 10px;
120    margin: 10px 0 10px 0;
121    overflow: auto;
122    font-family: "Andale Mono", monospace;
123}
124
125pre.example {
126    font-size: .85em;
127}
128
129table.index { border: 1px #00007f; }
130table.index td { text-align: left; vertical-align: top; }
131
132#container {
133    margin-left: 1em;
134    margin-right: 1em;
135    background-color: #f0f0f0;
136}
137
138#product {
139    text-align: center;
140    border-bottom: 1px solid #cccccc;
141    background-color: #ffffff;
142}
143
144#product big {
145    font-size: 2em;
146}
147
148#main {
149    background-color: #f0f0f0;
150    border-left: 2px solid #cccccc;
151}
152
153#navigation {
154    float: left;
155    width: 14em;
156    vertical-align: top;
157    background-color: #f0f0f0;
158    overflow: visible;
159}
160
161#navigation h2 {
162    background-color:#e7e7e7;
163    font-size:1.1em;
164    color:#000000;
165    text-align: left;
166    padding:0.2em;
167    border-top:1px solid #dddddd;
168    border-bottom:1px solid #dddddd;
169}
170
171#navigation ul
172{
173    font-size:1em;
174    list-style-type: none;
175    margin: 1px 1px 10px 1px;
176}
177
178#navigation li {
179    text-indent: -1em;
180    display: block;
181    margin: 3px 0px 0px 22px;
182}
183
184#navigation li li a {
185    margin: 0px 3px 0px -1em;
186}
187
188#content {
189    margin-left: 14em;
190    padding: 1em;
191    width: 700px;
192    border-left: 2px solid #cccccc;
193    border-right: 2px solid #cccccc;
194    background-color: #ffffff;
195}
196
197#about {
198    clear: both;
199    padding: 5px;
200    border-top: 2px solid #cccccc;
201    background-color: #ffffff;
202}
203
204@media print {
205    body {
206        font: 12pt "Times New Roman", "TimeNR", Times, serif;
207    }
208    a { font-weight: bold; color: #004080; text-decoration: underline; }
209
210    #main {
211        background-color: #ffffff;
212        border-left: 0px;
213    }
214
215    #container {
216        margin-left: 2%;
217        margin-right: 2%;
218        background-color: #ffffff;
219    }
220
221    #content {
222        padding: 1em;
223        background-color: #ffffff;
224    }
225
226    #navigation {
227        display: none;
228    }
229    pre.example {
230        font-family: "Andale Mono", monospace;
231        font-size: 10pt;
232        page-break-inside: avoid;
233    }
234}
235
236table.module_list {
237    border-width: 1px;
238    border-style: solid;
239    border-color: #cccccc;
240    border-collapse: collapse;
241}
242table.module_list td {
243    border-width: 1px;
244    padding: 3px;
245    border-style: solid;
246    border-color: #cccccc;
247}
248table.module_list td.name { background-color: #f0f0f0; min-width: 200px; }
249table.module_list td.summary { width: 100%; }
250
251
252table.function_list {
253    border-width: 1px;
254    border-style: solid;
255    border-color: #cccccc;
256    border-collapse: collapse;
257}
258table.function_list td {
259    border-width: 1px;
260    padding: 3px;
261    border-style: solid;
262    border-color: #cccccc;
263}
264table.function_list td.name { background-color: #f0f0f0; min-width: 200px; }
265table.function_list td.summary { width: 100%; }
266
267ul.nowrap {
268    overflow:auto;
269    white-space:nowrap;
270}
271
272dl.table dt, dl.function dt {border-top: 1px solid #ccc; padding-top: 1em;}
273dl.table dd, dl.function dd {padding-bottom: 1em; margin: 10px 0 0 20px;}
274dl.table h3, dl.function h3 {font-size: .95em;}
275
276/* stop sublists from having initial vertical space */
277ul ul { margin-top: 0px; }
278ol ul { margin-top: 0px; }
279ol ol { margin-top: 0px; }
280ul ol { margin-top: 0px; }
281
282/* make the target distinct; helps when we're navigating to a function */
283a:target + * {
284  background-color: #FF9;
285}
286
287
288/* styles for prettification of source */
289pre .comment { color: #558817; }
290pre .constant { color: #a8660d; }
291pre .escape { color: #844631; }
292pre .keyword { color: #aa5050; font-weight: bold; }
293pre .library { color: #0e7c6b; }
294pre .marker { color: #512b1e; background: #fedc56; font-weight: bold; }
295pre .string { color: #8080ff; }
296pre .number { color: #f8660d; }
297pre .operator { color: #2239a8; font-weight: bold; }
298pre .preprocessor, pre .prepro { color: #a33243; }
299pre .global { color: #800080; }
300pre .user-keyword { color: #800080; }
301pre .prompt { color: #558817; }
302pre .url { color: #272fc2; text-decoration: underline; }
303
304