]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/css/lilypond-website.css
e018b49774186c5467fccb989b8f7df228e31c90
[lilypond.git] / Documentation / css / lilypond-website.css
1 /* Generic elements */
2
3 html {
4   padding: 0;
5   margin: 0;
6 }
7
8 body {
9   position: absolute;
10   top: 0;
11   left: 0.5%;
12   right: 0.5%;
13   width: 99%;
14   min-width: 42em;
15   max-width: 70em;
16   font-size: 95%;
17   line-height: 1.5;
18   text-align: justify;
19   padding: 0;
20   margin: 0 auto;
21   /* fallback for IE8 which doesn't support multiple backgrounds */
22   background: url(../pictures/background-top-left.png) no-repeat top left;
23   background-color: rgb(245, 252, 242);
24   background-image: url(../pictures/background-top-right.png),
25     url(../pictures/background-top-left.png);
26   background-position: top right, top left;
27   background-repeat: no-repeat, no-repeat;
28 }
29
30 hr {
31   display: none;
32 }
33
34 p {
35   margin: 0.5em;
36 }
37
38 h1, h2, h3, h4, h5 {
39   margin: 1em 10px;
40 }
41
42 li {
43   margin-right: 1em;
44 }
45
46 a img {
47   border: 0;
48 }
49
50 /* Hyperlinks */
51
52 /* no dotted line around clicked tabs */
53 a:focus {
54   outline-style: none;
55 }
56
57 a:link {
58   color: #0c51ab;
59 }
60
61 a:visited {
62   color: #804f01;
63 }
64
65 a:hover {
66   color: #0105ad;
67 }
68
69 /* Table of Contents */
70 /* first level toc (unnumbered) */
71 div#tocframe {
72   position: absolute;
73   top: 0;
74   left: 0;
75   right: 0;
76   background: rgb(35, 155, 80);
77   background: linear-gradient(to top,
78     rgb(25, 115, 50),
79     rgb(45, 205, 115));
80   max-width: 70em;
81   font-size: 100%;
82   line-height: 1;
83   padding: 0;
84   border-bottom-left-radius: 7px;
85   border-bottom-right-radius: 7px;
86   margin: 0;
87 }
88
89 #tocframe a {
90   color: #fff;
91   text-decoration: none;
92 }
93
94 #tocframe ul.toc {
95   list-style-type: none;
96   padding: 0;
97   margin: 0;
98 }
99
100 #tocframe > ul:first-child > li:first-child a {
101   border-bottom-left-radius: 7px;
102 }
103
104 #tocframe > ul:first-child > li:first-child a span {
105   background: url(../pictures/lily-home-32x32.png) no-repeat scroll 0% 40% transparent;
106   padding: 16px 0px 16px 38px;
107 }
108
109 #tocframe > ul:first-child > li:last-child {
110   border-bottom-right-radius: 7px;
111 }
112
113 #tocframe li {
114   display: inline;
115   padding: 0;
116   margin: 0;
117 }
118
119 /* search box */
120 #tocframe li form {
121   float: left;
122   width: 16%;
123   font-size: 100%;
124   padding: 0.5em 0.8%;
125   margin: 0 0 0 1%;
126 }
127
128 #tocframe li form input {
129   display: block;
130   float: left;
131   width: 92%;
132   font-size: 90%;
133   color: rgb(85, 85, 85);
134   background: rgb(235, 242, 232);
135   padding: 0.1em 0.1em 0.1em 0.6em;
136   border: 0;
137   margin: 0;
138   border-radius: 7px;
139 }
140
141 #tocframe li form input[type="hidden"] {
142   position: relative;
143   height: 0;
144   overflow: hidden;
145   padding: 0;
146   margin: 0;
147 }
148
149 #tocframe li a {
150   float: left;
151   width: 16%;
152   text-align: center;
153   font-weight: bold;
154   padding: 0.68em 0;
155   margin: 0;
156   border-right: 1px solid rgba(25, 100, 40, 0.25);
157 }
158
159 #tocframe li a:hover {
160   background: rgb(45, 165, 90);
161   background: linear-gradient(to top,
162     rgb(35, 125, 60),
163     rgb(55, 215, 125));
164 }
165
166 #tocframe li.toc_current a,
167 #tocframe li.toc_current a:hover {
168   background: rgb(0, 120, 30);
169   background: linear-gradient(to top,
170     rgb(0, 85, 20),
171     rgb(15, 175, 85));
172   color: #fff;
173 }
174
175 /* second level toc (unnumberedsec) */
176 #tocframe .toc .toc {
177   position: absolute;
178   top: 3.8em;
179   left: 0.5%;
180   right: 0.5%;
181   font-size: 82%;
182   padding: 0;
183   margin: 0;
184 }
185
186 #tocframe .toc .toc li {
187   display: inline;
188   padding: 0;
189   margin: 0;
190 }
191
192 #tocframe .toc .toc li:first-child a {
193   border-top-left-radius: 7px;
194   border-bottom-left-radius: 7px;
195   border-left: 1px solid rgba(85, 130, 70, 0.25);
196 }
197
198 #tocframe .toc .toc li:last-child a {
199   border-top-right-radius: 7px;
200   border-bottom-right-radius: 7px;
201 }
202
203 #tocframe .toc .toc li a {
204   float: left;
205   width: auto;
206   background: rgb(165, 215, 150);
207   background: linear-gradient(to top,
208     rgb(130, 200, 110),
209     rgb(200, 230, 190));
210   line-height: 2;
211   color: #000;
212   text-decoration: none;
213   text-indent: 0;
214   font-weight: normal;
215   padding: 0 0.5em;
216   margin: 0;
217   border-right: 1px solid rgba(85, 130, 70, 0.25);
218 }
219
220 #tocframe .toc .toc li a:hover {
221   background: rgb(175, 225, 160);
222   background: linear-gradient(to top,
223     rgb(140, 210, 120),
224     rgb(210, 240, 200));
225 }
226
227 #tocframe .toc .toc li.toc_current a,
228 #tocframe .toc .toc li.toc_current a:hover {
229   background: rgb(135, 185, 120);
230   background: linear-gradient(to top,
231     rgb(100, 170, 80),
232     rgb(170, 200, 160));
233 }
234
235 /* third level toc (unnumberedsubsec) */
236 #tocframe .toc .toc .toc {
237   position: absolute;
238   top: 2em;
239   left: 5%;
240   font-size: 100%;
241 }
242
243 #tocframe .toc .toc .toc li {
244   display: inline;
245   padding: 0;
246   margin: 0;
247 }
248
249 #tocframe .toc .toc .toc li a {
250   float: left;
251   width: auto;
252   background: #ceffae;
253   text-decoration: none;
254   text-indent: 0;
255   font-weight: normal;
256   padding: 0 0.75em;
257   margin: 0;
258 }
259
260 #tocframe .toc .toc .toc li a:hover {
261   background: #bdee9d;
262 }
263
264 #tocframe .toc .toc .toc li.toc_current a {
265   background: #acdd8c;
266 }
267
268 #tocframe .toc .toc .toc li.toc_current a:hover {
269   background: #acdd8c;
270 }
271
272 /* Divs */
273 div#main {
274   position: relative;
275   /* this value may need to be adjusted */
276   top: 7.7em;
277   left: 0;
278   right: 0;
279   width: 100%;
280   max-width: 70em;
281   margin: 0 auto 11.7em;
282   /* Necessary to stretch over floated content;
283    * will cause scrollbars to appear for content
284    * that is wider than the width of this div.
285    *
286    * FIXME: This breaks Konqueror 3 and 4.
287    */
288   overflow: auto;
289 }
290
291 #main > a:first-child {
292   position: absolute;
293   top: -10em;
294 }
295
296 div#pageHeader {
297   width: 100%;
298   height: 10em;
299   padding-top: 2em;
300   border: solid #ddd;
301   border-width: 0;
302   margin: 0 0 1.4em 0;
303 }
304
305 #pageHeader .heading {
306   font-size: 4em;
307   text-align: left;
308   padding: 0;
309   margin: 0 0 0 340px;
310 }
311
312 #pageHeader p {
313   font-size: 1.2em;
314   font-style: italic;
315   text-align: left;
316   padding: 0;
317   margin: 0 0 0 340px;
318 }
319
320 div#lilylogo {
321   position: absolute;
322   top: 0;
323   left: 0;
324 }
325
326 div#cmws {
327   position: absolute;
328   top: 0;
329   left: 50%;
330 }
331
332 div#quickSummary {
333   text-align: left;
334   margin: 3em 14em 25px 0;
335   font-size: 19px;
336 }
337
338 #quickSummary p {
339   padding: 0.5em;
340   margin: 0;
341 }
342
343 #homepage-main {
344   padding: 0;
345   margin: 0 14em 1em 0;
346 }
347
348 #homepage-example-image-wrapper {
349   padding: 3em 0em 1.5em;
350 }
351
352 .example-image-wrapper {
353   padding: 2em 0em 0.5em;
354 }
355
356 .example-image-wrapper img {
357   padding: 0em 0em 1em;
358 }
359
360 /* .news-item is styled below with columns */
361
362 .testimonial-item {
363   /* Not sure how to style the testimonials */
364   clear: both;
365   margin: 2em 0;
366 }
367
368 .testimonial-item .subsubheading {
369   text-align: left;
370   padding: 0 0 0 0.5em;
371 }
372
373 .testimonial-item img.float-left,
374 .testimonial-item img.float-right {
375   margin: 1em 1em 2em;
376 }
377
378 .testimonial-item p {
379   padding: 0 0.5em;
380 }
381
382 #homepage-sidebar {
383   position: absolute;
384   top: 0;
385   right: 0;
386   width: 12em;
387   text-align: left;
388   /* negate the top-margin of the first .subheading */
389   margin-top: -0.5em;
390 }
391
392 #homepage-sidebar .subheading {
393   font-size: 15.2px;
394   background: #5b7f64;
395   color: #fff;
396   padding: 0.2em 0.5em 0.1em 0.7em;
397   margin: 0.5em 0 0.7em;
398   border-radius: 5px;
399 }
400
401 #homepage-sidebar p,
402 #pondingsText {
403   padding: 0em 0.5em 0.5em;
404   margin: 0;
405 }
406
407 div#footer {
408   clear: both;
409   width: 100%;
410   border-top: 10px solid #5b7f64;
411 }
412
413 div#language {
414   position: absolute;
415   top: 0;
416   left: 0;
417   right: 50%;
418   width: 50%;
419   text-indent: 0.5em;
420   padding: 0;
421 }
422
423 #language h3 {
424   padding: 0;
425   border-bottom: 10px solid #5b7f64;
426   margin: 0;
427 }
428
429 #language p {
430   padding: 0;
431   margin: 0.25em 0 0 0;
432 }
433
434 /* used on website; not certain about the above ones.
435     see Issue 1105 */
436 p#languages {
437   float: left;
438   width: 45%;
439   padding: 0.7em;
440   margin: 0;
441   text-align: left;
442 }
443
444 #verifier_texinfo {
445   font-size: 0.8em;
446   float: right;
447   width: 48%;
448   padding: 0.5em;
449 }
450
451 #verifier_texinfo h3 {
452   position: relative;
453   height: 0;
454   text-indent: -9999em;
455   padding: 0;
456   margin: 0;
457 }
458
459 #verifier_texinfo img {
460   vertical-align: middle;
461   padding: 0;
462   margin: 0 0 0 0.5em;
463 }
464
465 #verifier_texinfo p {
466   clear: right;
467   text-align: right;
468   padding: 0;
469   margin: 0;
470 }
471
472 h1.unnumbered, h2.unnumberedsec, h3.unnumberedsubsec {
473   position: relative;
474   height: 0;
475   text-indent: -999em;
476   padding: 0;
477   margin: 0;
478   overflow: hidden;
479 }
480
481 table {
482   text-align: left;
483   padding: 0 0 0 0.5em;
484   border-left: 3px solid #5b7f64;
485   margin: 1em 0 0 1em;
486 }
487
488 table td {
489   padding: 0.4em;
490 }
491
492 table a {
493   text-align: left;
494 }
495
496 .verbatim {
497   margin: 10px;
498 }
499
500 .float-left {
501   float: left;
502 }
503
504 .float-center {
505   text-align: center;
506   display: block;
507   margin: 0 auto;
508 }
509
510 .float-right {
511   float: right;
512 }
513
514 img.float-left,
515 img.float-right {
516   background: #fff;
517   padding: 1em;
518   border: 1px solid #bbb;
519   margin: 0.1em 0.5em;
520 }
521
522 div.float-left a.clickable,
523 div.float-right a.clickable {
524   text-decoration: overline;
525   margin-left: 1em;
526 }
527
528 div.float-center a.clickable {
529   text-decoration: overline;
530 }
531
532 .clear-both {
533   clear: both;
534 }
535
536 .align-right {
537   text-align: right;
538 }
539
540 .heading-center {
541   text-align: center;
542   width: 75%;
543   margin: 0 auto;
544 }
545
546 .heading-center h2 {
547   padding: 0.25em 0;
548   margin: 0;
549 }
550
551 /* Columns */
552
553 /* color1 */
554 .column-center-top {
555   float: left;
556   width: 99.5%;
557   text-align: left;
558   border: 1px solid #9ccc7c;
559   margin: 1em auto;
560 }
561
562 .column-center-middle-color2,
563 .column-center-middle-color3,
564 .news-item {
565   clear: both;
566   float: left;
567   width: 99.5%;
568   text-align: left;
569   margin: 1em auto;
570 }
571
572 .column-left-top {
573   float: left;
574   width: 49%;
575   margin: 1em 0;
576 }
577
578 .column-left-bottom {
579   clear: both;
580   float: left;
581   width: 49%;
582   margin: 1em 0;
583 }
584
585 .column-right-top {
586   float: right;
587   width: 49%;
588   margin: 1em 0;
589 }
590
591 .column-right-bottom {
592   float: right;
593   width: 49%;
594   margin: 1em 0;
595 }
596
597 /* color2 */
598 .column-left-top,
599 .column-left-bottom,
600 .column-center-middle-color2,
601 .news-item {
602   border: 1px solid #adce82;
603 }
604
605 /* color3 */
606 .column-right-top,
607 .column-right-bottom,
608 .column-center-middle-color3 {
609   border: 1px solid #bdd088;
610 }
611
612 /* color4 */
613 .column-center-bottom {
614   clear: both;
615   float: left;
616   width: 99.5%;
617   text-align: center;
618   border: 1px solid #ccd38f;
619   margin: 1em auto 0;
620 }
621
622 .column-center-top,
623 .column-center-middle-color2,
624 .column-center-middle-color3,
625 .column-center-bottom,
626 .column-left-top,
627 .column-left-bottom,
628 .column-right-top,
629 .column-right-bottom,
630 .news-item {
631   background: #fff;
632   border-radius: 5px;
633 }
634
635 /* color1 */
636 .column-center-top h3 {
637   background: #9ccc7c;
638   background: linear-gradient(to top,
639     rgb(140, 210, 118),
640     rgb(212, 242, 201));
641   text-align: left;
642   border-bottom: 1px solid #9ccc7c;
643 }
644
645 /* color2 */
646 .column-left-top h3,
647 .column-left-bottom h3,
648 .column-center-middle-color2 h3,
649 .news-item h3 {
650   background: #adce82;
651   background: linear-gradient(to top,
652     rgb(173, 206, 130),
653     rgb(221, 243, 204));
654   border-bottom: 1px solid #adce82;
655 }
656
657 .news-item h3 {
658   font-size: 15.2px;
659 }
660
661 /* color3 */
662 .column-right-top h3,
663 .column-right-bottom h3,
664 .column-center-middle-color3 h3 {
665   background: #bdd088;
666   background: linear-gradient(to top,
667     rgb(189, 208, 136),
668     rgb(231, 243, 207));
669   border-bottom: 1px solid #bdd088;
670 }
671
672 /* color4 */
673 .column-center-bottom h3 {
674   background: #ccd38f;
675   background: linear-gradient(to top,
676     rgb(204, 211, 143),
677     rgb(237, 244, 208));
678   text-align: left;
679   border-bottom: 1px solid #ccd38f;
680 }
681
682 .column-center-top h3,
683 .column-center-middle-color2 h3,
684 .column-center-middle-color3 h3,
685 .column-center-bottom h3,
686 .column-left-top h3,
687 .column-left-bottom h3,
688 .column-right-top h3,
689 .column-right-bottom h3,
690 .news-item h3 {
691   text-align: left;
692   padding: 3px 0.5em 0;
693   margin: 0;
694   border-top-left-radius: 5px;
695   border-top-right-radius: 5px;
696 }
697
698 .column-center-top h4,
699 .column-center-middle-color2 h4,
700 .column-center-middle-color3 h4,
701 .column-center-bottom h4,
702 .column-left-top h4,
703 .column-left-bottom h4,
704 .column-right-top h4,
705 .column-right-bottom h4 {
706   text-align: left;
707   padding: 0.5em 0.5em 0;
708   margin: 0 0 0.5em 0;
709 }
710
711 .column-center-top ul,
712 .column-center-middle-color2 ul,
713 .column-center-middle-color3 ul,
714 .column-center-bottom ul,
715 .column-left-top ul,
716 .column-left-bottom ul,
717 .column-right-top ul,
718 .column-right-bottom ul {
719   list-style-type: none;
720   padding: 0;
721   margin: 0.5em 0;
722 }
723
724 .column-center-top li,
725 .column-center-middle-color2 li,
726 .column-center-middle-color3 li,
727 .column-center-bottom li,
728 .column-left-top li,
729 .column-left-bottom li,
730 .column-right-top li,
731 .column-right-bottom li {
732   text-align: left;
733   padding: 0 0.5em 0;
734   margin: 0 0 0.5em 0;
735 }
736
737 .column-center-top p,
738 .column-center-middle-color2 p,
739 .column-center-middle-color3 p,
740 .column-center-bottom p,
741 .column-left-top p,
742 .column-left-bottom p,
743 .column-right-top p,
744 .column-right-bottom p {
745   text-align: left;
746 }
747
748 .column-center-top img.float-left,
749 .column-center-top img.float-right,
750 .column-center-middle-color2 img.float-left,
751 .column-center-middle-color2 img.float-right,
752 .column-center-middle-color3 img.float-left,
753 .column-center-middle-color3 img.float-right,
754 .column-center-bottom img.float-left,
755 .column-center-bottom img.float-right,
756 .column-left-top img.float-left,
757 .column-left-top img.float-right,
758 .column-left-bottom img.float-left,
759 .column-left-bottom img.float-right,
760 .column-right-top img.float-left,
761 .column-right-top img.float-right,
762 .column-right-bottom img.float-left,
763 .column-right-bottom img.float-right {
764   margin: 0.5em;
765 }
766
767 .keep-bullets ul {
768   list-style-type: disc;
769   padding: 0;
770   margin: 0.5em 1.5em;
771 }
772
773 .keep-bullets li {
774   padding: 0;
775 }
776
777 .normal-table table {
778   padding : 0em;
779   border-left: 2px;
780   margin: 0em;
781   width: 67%;
782 }
783
784 .normal-table table td {
785   padding: 0em;
786 }
787
788 .normal-table table a {
789 }
790
791 .normal-table p {
792   line-height: 0.8;
793 }
794
795 .example {
796   position: relative;
797   left: -2.5em;
798   text-align: left;
799 }
800
801 .h-scroll-auto {
802   position: relative;
803   left: 1em;
804   width: 250px;
805   overflow: auto;
806 }
807
808 .warning,
809 .contactBox {
810   background: #eef;
811   text-align: left;
812   margin: 1em;
813   padding: 0;
814   border: 1px solid rgb(160, 160, 175);
815   border-radius: 5px;
816 }
817
818 .contactBox {
819   float: left;
820 }
821
822 .warning p,
823 .contactBox p {
824   padding: 0.5em;
825   margin: 0;
826 }
827
828 .hide {
829   position: relative;
830   text-indent: -999em;
831   height: 0;
832   overflow: hidden;
833 }
834
835 .help {
836   background: #f77;
837   color: black;
838   text-align: center;
839   font-weight: bold;
840   width: 75%;
841   padding: 1em;
842   border: 10px dotted green;
843   margin: 1em auto;
844 }
845
846 .legal {
847   font-size: 0.6em;
848 }
849
850 .link-headings a {
851   font-weight: bold;
852 }
853
854 .detail {
855   font-size: 0.8em;
856 }
857
858 .detail a {
859   font-weight: normal;
860 }
861
862 /* kill title, probably best done in the init file, though */
863 h1.settitle {
864   position: relative;
865   height: 0;
866   text-indent: -999em;
867   padding: 0;
868   margin: 0;
869   overflow: hidden;
870 }