X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fcss%2Flilypond-website.css;h=46723fa47f48969c8b60e45cc2b1d683ba4e9b44;hb=45161ded881c15cd010824aba22b7b8ba4cfe5ed;hp=ca445710ae6a447d46d8a278e808b907993bd2f4;hpb=d2762a4f1add2bb04d6fc34d3c7ae03eeb7d500f;p=lilypond.git diff --git a/Documentation/css/lilypond-website.css b/Documentation/css/lilypond-website.css index ca445710ae..46723fa47f 100644 --- a/Documentation/css/lilypond-website.css +++ b/Documentation/css/lilypond-website.css @@ -15,10 +15,16 @@ body { max-width: 70em; font-size: 95%; 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 { @@ -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; } @@ -125,7 +131,7 @@ div#tocframe { width: 92%; font-size: 90%; 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; @@ -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: 19px; } #quickSummary p { @@ -345,29 +340,12 @@ 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; -} - div#news { padding: 0; - margin: 0 13em 1em 0; + margin: 0 14em 1em 0; } -div.news-item { - padding: 1em 0; -} - -.news-item .subsubheading { - text-align: left; - padding: 0.5em 0.5em 0 0.5em; - border-top: 1px solid #5b7f64; - margin: 0; - overflow: hidden; -} +/* .news-item is styled below with columns */ .testimonial-item { /* Not sure how to style the testimonials */ @@ -389,69 +367,33 @@ 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 { +div#homePageSideBar { 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; } -#latestVersion .subheading, -#wildCardBox .subheading { +#homePageSideBar .subheading { + font-size: 15.2px; background: #5b7f64; color: #fff; - text-align: center; - padding: 0 0.5em; + padding: 0.2em 0.5em 0em 0.7em; 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)); + border-radius: 5px; } -#latestVersion .subsubheading { - padding: 0.25em 0.25em 0; - border-bottom: 1px solid #5b7f64; +#homePageSideBar p, +#pondingsText { + padding: 0.7em 0.5em; margin: 0; } -#latestVersion p { - font-size: 90%; - padding: 0.5em; - margin: 0; +/* for better spacing between "download" and "manuals" links */ +#homePageSideBar p:nth-of-type(2n) { + padding-top: 0; + margin-top: -3px; } div#footer { @@ -607,8 +549,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 +586,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 +601,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 +615,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 +634,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 +643,10 @@ div.float-right a.clickable { border-bottom: 1px solid #adce82; } +.news-item h3 { + font-size: 15.2px; +} + /* color3 */ .column-right-top h3, .column-right-bottom h3, @@ -723,7 +675,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;