X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fcss%2Flilypond-website.css;h=fb90a9defcee6faa7f4db1f153a10431bd58de34;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=ca445710ae6a447d46d8a278e808b907993bd2f4;hpb=d2762a4f1add2bb04d6fc34d3c7ae03eeb7d500f;p=lilypond.git diff --git a/Documentation/css/lilypond-website.css b/Documentation/css/lilypond-website.css index ca445710ae..fb90a9defc 100644 --- a/Documentation/css/lilypond-website.css +++ b/Documentation/css/lilypond-website.css @@ -13,12 +13,18 @@ body { width: 99%; min-width: 42em; max-width: 70em; - font-size: 95%; + font-size: 0.95em; line-height: 1.5; - background: #fff url(../pictures/background-image.png) no-repeat 0 0; text-align: justify; padding: 0; margin: 0 auto; + /* fallback for IE8 which doesn't support multiple backgrounds */ + background: url(../pictures/background-top-left.png) no-repeat top left; + background-color: rgb(245, 252, 242); + background-image: url(../pictures/background-top-right.png), + url(../pictures/background-top-left.png); + background-position: top right, top left; + background-repeat: no-repeat, no-repeat; } hr { @@ -72,7 +78,7 @@ div#tocframe { rgb(25, 115, 50), rgb(45, 205, 115)); max-width: 70em; - font-size: 100%; + font-size: 1em; line-height: 1; padding: 0; border-bottom-left-radius: 7px; @@ -96,7 +102,7 @@ div#tocframe { } #tocframe > ul:first-child > li:first-child a span { - background: url("../pictures/lily-home-32x32.png") no-repeat scroll 0% 40% transparent; + background: url(../pictures/lily-home-32x32.png) no-repeat scroll 0% 40% transparent; padding: 16px 0px 16px 38px; } @@ -114,7 +120,7 @@ div#tocframe { #tocframe li form { float: left; width: 16%; - font-size: 100%; + font-size: 1em; padding: 0.5em 0.8%; margin: 0 0 0 1%; } @@ -123,9 +129,9 @@ div#tocframe { display: block; float: left; width: 92%; - font-size: 90%; + font-size: 0.9em; color: rgb(85, 85, 85); - background: rgb(200, 230, 200); + background: rgb(235, 242, 232); padding: 0.1em 0.1em 0.1em 0.6em; border: 0; margin: 0; @@ -172,7 +178,7 @@ div#tocframe { top: 3.8em; left: 0.5%; right: 0.5%; - font-size: 82%; + font-size: 0.82em; padding: 0; margin: 0; } @@ -231,7 +237,7 @@ div#tocframe { position: absolute; top: 2em; left: 5%; - font-size: 100%; + font-size: 1em; } #tocframe .toc .toc .toc li { @@ -282,7 +288,6 @@ div#main { overflow: auto; } -/* FIXME: does not work in IE<=6 */ #main > a:first-child { position: absolute; top: -10em; @@ -326,18 +331,8 @@ div#cmws { div#quickSummary { text-align: left; - margin: 4em 13em 0 0; -} - -#quickSummary .subheading { - background: linear-gradient(to right, - rgb(79, 130, 99), - rgb(79, 130, 99) 10%, - rgb(255, 255, 255) 75%, - rgb(255, 255, 255)); - color: #fff; - padding: 0 0.5em; - margin: 0; + margin: 3em 14em 25px 0; + font-size: 1.25em; } #quickSummary p { @@ -345,30 +340,25 @@ div#quickSummary { margin: 0; } -div.separator { - background: transparent url(../pictures/squiggle.jpg) no-repeat 50% 50%; - height: 36px; - padding: 10px; - margin: 0 13em 0 0; +#homepage-main { + padding: 0; + margin: 0 14em 1em 0; } -div#news { - padding: 0; - margin: 0 13em 1em 0; +#homepage-example-image-wrapper { + padding: 3em 0em 1.5em; } -div.news-item { - padding: 1em 0; +.example-image-wrapper { + padding: 2em 0em 0.5em; } -.news-item .subsubheading { - text-align: left; - padding: 0.5em 0.5em 0 0.5em; - border-top: 1px solid #5b7f64; - margin: 0; - overflow: hidden; +.example-image-wrapper img { + padding: 0em 0em 1em; } +/* .news-item is styled below with columns */ + .testimonial-item { /* Not sure how to style the testimonials */ clear: both; @@ -389,68 +379,28 @@ div.news-item { padding: 0 0.5em; } -.news-item p { - text-align: left; - padding: 0.5em; - margin: 0; -} - -div#latestVersion { - position: absolute; - top: 16em; - right: 0; -} - -div#wildCardBox { +#homepage-sidebar { position: absolute; top: 0; right: 0; -} - -div#latestVersion, -div#wildCardBox { width: 12em; - text-align: center; - border-left: 1px solid #5b7f64; - border-top-left-radius: 5px; + text-align: left; + /* negate the top-margin of the first .subheading */ + margin-top: -0.5em; } -#latestVersion .subheading, -#wildCardBox .subheading { +#homepage-sidebar .subheading { + font-size: 1em; background: #5b7f64; color: #fff; - text-align: center; - padding: 0 0.5em; - margin: 0; - border-top-left-radius: 5px; - border-top-right-radius: 5px; -} - -/* this might not work in certain browsers */ -a[name="Stable"] + h4 { - background: #bdee9d; - background: linear-gradient(to top, - rgb(140, 210, 118), - rgb(212, 243, 201)); -} - -/* this might not work in certain browsers */ -a[name="Unstable"] + h4 { - background: #fad58c; - background: linear-gradient(to top, - rgb(183, 213, 131), - rgb(231, 243, 207)); + padding: 0.2em 0.5em 0.1em 0.7em; + margin: 0.5em 0 0.7em; + border-radius: 5px; } -#latestVersion .subsubheading { - padding: 0.25em 0.25em 0; - border-bottom: 1px solid #5b7f64; - margin: 0; -} - -#latestVersion p { - font-size: 90%; - padding: 0.5em; +#homepage-sidebar p, +#pondingsText { + padding: 0em 0.5em 0.5em; margin: 0; } @@ -570,12 +520,15 @@ img.float-right { } div.float-left a.clickable, -div.float-center a.clickable, div.float-right a.clickable { text-decoration: overline; margin-left: 1em; } +div.float-center a.clickable { + text-decoration: overline; +} + .clear-both { clear: both; } @@ -607,8 +560,10 @@ div.float-right a.clickable { } .column-center-middle-color2, -.column-center-middle-color3 { +.column-center-middle-color3, +.news-item { clear: both; + float: left; width: 99.5%; text-align: left; margin: 1em auto; @@ -642,7 +597,8 @@ div.float-right a.clickable { /* color2 */ .column-left-top, .column-left-bottom, -.column-center-middle-color2 { +.column-center-middle-color2, +.news-item { border: 1px solid #adce82; } @@ -656,6 +612,7 @@ div.float-right a.clickable { /* color4 */ .column-center-bottom { clear: both; + float: left; width: 99.5%; text-align: center; border: 1px solid #ccd38f; @@ -669,8 +626,9 @@ div.float-right a.clickable { .column-left-top, .column-left-bottom, .column-right-top, -.column-right-bottom { - background: #f5fffa; +.column-right-bottom, +.news-item { + background: #fff; border-radius: 5px; } @@ -687,7 +645,8 @@ div.float-right a.clickable { /* color2 */ .column-left-top h3, .column-left-bottom h3, -.column-center-middle-color2 h3 { +.column-center-middle-color2 h3, +.news-item h3 { background: #adce82; background: linear-gradient(to top, rgb(173, 206, 130), @@ -695,6 +654,10 @@ div.float-right a.clickable { border-bottom: 1px solid #adce82; } +.news-item h3 { + font-size: 1em; +} + /* color3 */ .column-right-top h3, .column-right-bottom h3, @@ -723,7 +686,8 @@ div.float-right a.clickable { .column-left-top h3, .column-left-bottom h3, .column-right-top h3, -.column-right-bottom h3 { +.column-right-bottom h3, +.news-item h3 { text-align: left; padding: 3px 0.5em 0; margin: 0; @@ -744,6 +708,12 @@ div.float-right a.clickable { margin: 0 0 0.5em 0; } +/* Used for google summer of code project ideas, for example. */ +.bigger-subsubheadings h4 { + font-size: 1.17em; + margin: 1.5em 0 0.5em 0; +} + .column-center-top ul, .column-center-middle-color2 ul, .column-center-middle-color3 ul,