aboutsummaryrefslogtreecommitdiffhomepage
path: root/ocean.css
diff options
context:
space:
mode:
Diffstat (limited to 'ocean.css')
-rw-r--r--ocean.css600
1 files changed, 600 insertions, 0 deletions
diff --git a/ocean.css b/ocean.css
new file mode 100644
index 0000000..1110b40
--- /dev/null
+++ b/ocean.css
@@ -0,0 +1,600 @@
1/* @group Fundamentals */
2
3* { margin: 0; padding: 0 }
4
5/* Is this portable? */
6html {
7 background-color: white;
8 width: 100%;
9 height: 100%;
10}
11
12body {
13 background: white;
14 color: black;
15 text-align: left;
16 min-height: 100%;
17 position: relative;
18}
19
20p {
21 margin: 0.8em 0;
22}
23
24ul, ol {
25 margin: 0.8em 0 0.8em 2em;
26}
27
28dl {
29 margin: 0.8em 0;
30}
31
32dt {
33 font-weight: bold;
34}
35dd {
36 margin-left: 2em;
37}
38
39a { text-decoration: none; }
40a[href]:link { color: rgb(196,69,29); }
41a[href]:visited { color: rgb(171,105,84); }
42a[href]:hover { text-decoration:underline; }
43
44/* @end */
45
46/* @group Fonts & Sizes */
47
48/* Basic technique & IE workarounds from YUI 3
49 For reasons, see:
50 http://yui.yahooapis.com/3.1.1/build/cssfonts/fonts.css
51 */
52
53body {
54 font:13px/1.4 sans-serif;
55 *font-size:small; /* for IE */
56 *font:x-small; /* for IE in quirks mode */
57}
58
59h1 { font-size: 146.5%; /* 19pt */ }
60h2 { font-size: 131%; /* 17pt */ }
61h3 { font-size: 116%; /* 15pt */ }
62h4 { font-size: 100%; /* 13pt */ }
63h5 { font-size: 100%; /* 13pt */ }
64
65select, input, button, textarea {
66 font:99% sans-serif;
67}
68
69table {
70 font-size:inherit;
71 font:100%;
72}
73
74pre, code, kbd, samp, tt, .src {
75 font-family:monospace;
76 *font-size:108%;
77 line-height: 124%;
78}
79
80.links, .link {
81 font-size: 85%; /* 11pt */
82}
83
84#module-header .caption {
85 font-size: 182%; /* 24pt */
86}
87
88.info {
89 font-size: 85%; /* 11pt */
90}
91
92#table-of-contents, #synopsis {
93 /* font-size: 85%; /* 11pt */
94}
95
96
97/* @end */
98
99/* @group Common */
100
101.caption, h1, h2, h3, h4, h5, h6 {
102 font-weight: bold;
103 color: rgb(78,98,114);
104 margin: 0.8em 0 0.4em;
105}
106
107* + h1, * + h2, * + h3, * + h4, * + h5, * + h6 {
108 margin-top: 2em;
109}
110
111h1 + h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
112 margin-top: inherit;
113}
114
115ul.links {
116 list-style: none;
117 text-align: left;
118 float: right;
119 display: inline-table;
120 margin: 0 0 0 1em;
121}
122
123ul.links li {
124 display: inline;
125 border-left: 1px solid #d5d5d5;
126 white-space: nowrap;
127 padding: 0;
128}
129
130ul.links li a {
131 padding: 0.2em 0.5em;
132}
133
134.hide { display: none; }
135.show { display: inherit; }
136.clear { clear: both; }
137
138.collapser {
139 background-image: url(minus.gif);
140 background-repeat: no-repeat;
141}
142.expander {
143 background-image: url(plus.gif);
144 background-repeat: no-repeat;
145}
146p.caption.collapser,
147p.caption.expander {
148 background-position: 0 0.4em;
149}
150.collapser, .expander {
151 padding-left: 14px;
152 margin-left: -14px;
153 cursor: pointer;
154}
155
156pre {
157 padding: 0.25em;
158 margin: 0.8em 0;
159 background: rgb(229,237,244);
160 overflow: auto;
161 border-bottom: 0.25em solid white;
162 /* white border adds some space below the box to compensate
163 for visual extra space that paragraphs have between baseline
164 and the bounding box */
165}
166
167.src {
168 background: #f0f0f0;
169 padding: 0.2em 0.5em;
170}
171
172.keyword { font-weight: normal; }
173.def { font-weight: bold; }
174
175
176/* @end */
177
178/* @group Page Structure */
179
180#content {
181 margin: 0 auto;
182 padding: 0 2em 6em;
183}
184
185#package-header {
186 background: rgb(41,56,69);
187 border-top: 5px solid rgb(78,98,114);
188 color: #ddd;
189 padding: 0.2em;
190 position: relative;
191 text-align: left;
192}
193
194#package-header .caption {
195 background: url(hslogo-16.png) no-repeat 0em;
196 color: white;
197 margin: 0 2em;
198 font-weight: normal;
199 font-style: normal;
200 padding-left: 2em;
201}
202
203#package-header a:link, #package-header a:visited { color: white; }
204#package-header a:hover { background: rgb(78,98,114); }
205
206#module-header .caption {
207 color: rgb(78,98,114);
208 font-weight: bold;
209 border-bottom: 1px solid #ddd;
210}
211
212table.info {
213 float: right;
214 padding: 0.5em 1em;
215 border: 1px solid #ddd;
216 color: rgb(78,98,114);
217 background-color: #fff;
218 max-width: 40%;
219 border-spacing: 0;
220 position: relative;
221 top: -0.5em;
222 margin: 0 0 0 2em;
223}
224
225.info th {
226 padding: 0 1em 0 0;
227}
228
229div#style-menu-holder {
230 position: relative;
231 z-index: 2;
232 display: inline;
233}
234
235#style-menu {
236 position: absolute;
237 z-index: 1;
238 overflow: visible;
239 background: #374c5e;
240 margin: 0;
241 text-align: center;
242 right: 0;
243 padding: 0;
244 top: 1.25em;
245}
246
247#style-menu li {
248 display: list-item;
249 border-style: none;
250 margin: 0;
251 padding: 0;
252 color: #000;
253 list-style-type: none;
254}
255
256#style-menu li + li {
257 border-top: 1px solid #919191;
258}
259
260#style-menu a {
261 width: 6em;
262 padding: 3px;
263 display: block;
264}
265
266#footer {
267 background: #ddd;
268 border-top: 1px solid #aaa;
269 padding: 0.5em 0;
270 color: #666;
271 text-align: center;
272 position: absolute;
273 bottom: 0;
274 width: 100%;
275 height: 3em;
276}
277
278/* @end */
279
280/* @group Front Matter */
281
282#table-of-contents {
283 float: right;
284 clear: right;
285 background: #faf9dc;
286 border: 1px solid #d8d7ad;
287 padding: 0.5em 1em;
288 max-width: 20em;
289 margin: 0.5em 0 1em 1em;
290}
291
292#table-of-contents .caption {
293 text-align: center;
294 margin: 0;
295}
296
297#table-of-contents ul {
298 list-style: none;
299 margin: 0;
300}
301
302#table-of-contents ul ul {
303 margin-left: 2em;
304}
305
306#description .caption {
307 display: none;
308}
309
310#synopsis {
311 display: none;
312}
313
314.no-frame #synopsis {
315 display: block;
316 position: fixed;
317 right: 0;
318 height: 80%;
319 top: 10%;
320 padding: 0;
321 max-width: 75%;
322}
323
324#synopsis .caption {
325 float: left;
326 width: 29px;
327 color: rgba(255,255,255,0);
328 height: 110px;
329 margin: 0;
330 font-size: 1px;
331 padding: 0;
332}
333
334#synopsis p.caption.collapser {
335 background: url(synopsis.png) no-repeat -64px -8px;
336}
337
338#synopsis p.caption.expander {
339 background: url(synopsis.png) no-repeat 0px -8px;
340}
341
342#synopsis ul {
343 height: 100%;
344 overflow: auto;
345 padding: 0.5em;
346 margin: 0;
347}
348
349#synopsis ul ul {
350 overflow: hidden;
351}
352
353#synopsis ul,
354#synopsis ul li.src {
355 background-color: #faf9dc;
356 white-space: nowrap;
357 list-style: none;
358 margin-left: 0;
359}
360
361/* @end */
362
363/* @group Main Content */
364
365#interface div.top { margin: 2em 0; }
366#interface h1 + div.top,
367#interface h2 + div.top,
368#interface h3 + div.top,
369#interface h4 + div.top,
370#interface h5 + div.top {
371 margin-top: 1em;
372}
373#interface p.src .link {
374 float: right;
375 color: #919191;
376 border-left: 1px solid #919191;
377 background: #f0f0f0;
378 padding: 0 0.5em 0.2em;
379 margin: 0 -0.5em 0 0.5em;
380}
381
382#interface td.src .link {
383 float: right;
384 color: #919191;
385 border-left: 1px solid #919191;
386 background: #f0f0f0;
387 padding: 0 0.5em 0.2em;
388 margin: 0 -0.5em 0 0.5em;
389}
390
391#interface span.fixity {
392 color: #919191;
393 border-left: 1px solid #919191;
394 padding: 0.2em 0.5em 0.2em 0.5em;
395 margin: 0 -1em 0 1em;
396}
397
398#interface span.rightedge {
399 border-left: 1px solid #919191;
400 padding: 0.2em 0 0.2em 0;
401 margin: 0 0 0 1em;
402}
403
404#interface table { border-spacing: 2px; }
405#interface td {
406 vertical-align: top;
407 padding-left: 0.5em;
408}
409#interface td.src {
410 white-space: nowrap;
411}
412#interface td.doc p {
413 margin: 0;
414}
415#interface td.doc p + p {
416 margin-top: 0.8em;
417}
418
419.clearfix:after {
420 clear: both;
421 content: " ";
422 display: block;
423 height: 0;
424 visibility: hidden;
425}
426
427.subs dl {
428 margin: 0;
429}
430
431.subs dt {
432 float: left;
433 clear: left;
434 display: block;
435 margin: 1px 0;
436}
437
438.subs dd {
439 float: right;
440 width: 90%;
441 display: block;
442 padding-left: 0.5em;
443 margin-bottom: 0.5em;
444}
445
446.subs dd.empty {
447 display: none;
448}
449
450.subs dd p {
451 margin: 0;
452}
453
454/* Render short-style data instances */
455.inst ul {
456 height: 100%;
457 padding: 0.5em;
458 margin: 0;
459}
460
461.inst, .inst li {
462 list-style: none;
463 margin-left: 1em;
464}
465
466/* Workaround for bug in Firefox (issue #384) */
467.inst-left {
468 float: left;
469}
470
471.top p.src {
472 border-top: 1px solid #ccc;
473}
474
475.subs, .doc {
476 /* use this selector for one level of indent */
477 padding-left: 2em;
478}
479
480.warning {
481 color: red;
482}
483
484.arguments {
485 margin-top: -0.4em;
486}
487.arguments .caption {
488 display: none;
489}
490
491.fields { padding-left: 1em; }
492
493.fields .caption { display: none; }
494
495.fields p { margin: 0 0; }
496
497/* this seems bulky to me
498.methods, .constructors {
499 background: #f8f8f8;
500 border: 1px solid #eee;
501}
502*/
503
504/* @end */
505
506/* @group Auxillary Pages */
507
508
509.extension-list {
510 list-style-type: none;
511 margin-left: 0;
512}
513
514#mini {
515 margin: 0 auto;
516 padding: 0 1em 1em;
517}
518
519#mini > * {
520 font-size: 93%; /* 12pt */
521}
522
523#mini #module-list .caption,
524#mini #module-header .caption {
525 font-size: 125%; /* 15pt */
526}
527
528#mini #interface h1,
529#mini #interface h2,
530#mini #interface h3,
531#mini #interface h4 {
532 font-size: 109%; /* 13pt */
533 margin: 1em 0 0;
534}
535
536#mini #interface .top,
537#mini #interface .src {
538 margin: 0;
539}
540
541#mini #module-list ul {
542 list-style: none;
543 margin: 0;
544}
545
546#alphabet ul {
547 list-style: none;
548 padding: 0;
549 margin: 0.5em 0 0;
550 text-align: center;
551}
552
553#alphabet li {
554 display: inline;
555 margin: 0 0.25em;
556}
557
558#alphabet a {
559 font-weight: bold;
560}
561
562#index .caption,
563#module-list .caption { font-size: 131%; /* 17pt */ }
564
565#index table {
566 margin-left: 2em;
567}
568
569#index .src {
570 font-weight: bold;
571}
572#index .alt {
573 font-size: 77%; /* 10pt */
574 font-style: italic;
575 padding-left: 2em;
576}
577
578#index td + td {
579 padding-left: 1em;
580}
581
582#module-list ul {
583 list-style: none;
584 margin: 0 0 0 2em;
585}
586
587#module-list li {
588 clear: right;
589}
590
591#module-list span.collapser,
592#module-list span.expander {
593 background-position: 0 0.3em;
594}
595
596#module-list .package {
597 float: right;
598}
599
600/* @end */