]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/css/lilypond-website.css
Web: revise site background
[lilypond.git] / Documentation / css / lilypond-website.css
index 032feebdd964a4a8aa66774e2d46eb5d43a922fb..0115fbd417aa59500bc3f812aada29bfed2bc14d 100644 (file)
@@ -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;
+  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;
+  /* fallback for IE8 which doesn't support multiple backgrounds */
+  background: url(../pictures/background-top-left.png) no-repeat top left;
 }
 
 hr {
@@ -75,10 +81,6 @@ div#tocframe {
   font-size: 100%;
   line-height: 1;
   padding: 0;
-  -moz-border-radius-bottomleft: 7px;
-  -moz-border-radius-bottomright: 7px;
-  -webkit-border-bottom-left-radius: 7px;
-  -webkit-border-bottom-right-radius: 7px;
   border-bottom-left-radius: 7px;
   border-bottom-right-radius: 7px;
   margin: 0;
@@ -96,19 +98,15 @@ div#tocframe {
 }
 
 #tocframe > ul:first-child > li:first-child a {
-  -moz-border-radius-bottomleft: 7px;
-  -webkit-border-bottom-left-radius: 7px;
   border-bottom-left-radius: 7px;
 }
 
 #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;
 }
 
 #tocframe > ul:first-child > li:last-child {
-  -moz-border-radius-bottomright: 7px;
-  -webkit-border-bottom-right-radius: 7px;
   border-bottom-right-radius: 7px;
 }
 
@@ -133,12 +131,10 @@ 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;
-  -moz-border-radius: 7px;
-  -webkit-border-radius: 7px;
   border-radius: 7px;
 }
 
@@ -194,20 +190,12 @@ div#tocframe {
 }
 
 #tocframe .toc .toc li:first-child a {
-  -moz-border-radius-topleft: 7px;
-  -moz-border-radius-bottomleft: 7px;
-  -webkit-border-top-left-radius: 7px;
-  -webkit-border-bottom-left-radius: 7px;
   border-top-left-radius: 7px;
   border-bottom-left-radius: 7px;
   border-left: 1px solid rgba(85, 130, 70, 0.25);
 }
 
 #tocframe .toc .toc li:last-child a {
-  -moz-border-radius-topright: 7px;
-  -moz-border-radius-bottomright: 7px;
-  -webkit-border-top-right-radius: 7px;
-  -webkit-border-bottom-right-radius: 7px;
   border-top-right-radius: 7px;
   border-bottom-right-radius: 7px;
 }
@@ -300,7 +288,6 @@ div#main {
   overflow: auto;
 }
 
-/* FIXME: does not work in IE<=6 */
 #main > a:first-child {
   position: absolute;
   top: -10em;
@@ -344,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 {
@@ -363,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;
-}
-
-div.news-item {
-  padding: 1em 0;
+  margin: 0 14em 1em 0;
 }
 
-.news-item .subsubheading {
-  text-align: left;
-  padding: 0 0 0 0.5em;
-  border-bottom: 1px solid #5b7f64;
-  margin: 0;
-  overflow: hidden;
-}
+/* .news-item is styled below with columns */
 
 .testimonial-item {
   /* Not sure how to style the testimonials */
@@ -407,72 +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;
-  width: 12em;
-  text-align: center;
-  border-left: 1px solid #5b7f64;
-}
-
-div#wildCardBox {
+div#homePageSideBar {
   position: absolute;
-  top: 0.0em;
+  top: 0;
   right: 0;
   width: 12em;
-  text-align: center;
-  border-left: 1px solid #5b7f64;
-}
-
-#latestVersion .subheading {
-  background: #5b7f64;
-  color: #fff;
-  text-align: center;
-  padding: 0 0.5em;
-  margin: 0;
+  text-align: left;
 }
 
-#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-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));
-}
-
-#latestVersion .subsubheading {
-  padding: 0.08em 0.25em;
-  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 {
@@ -552,7 +473,7 @@ h1.unnumbered, h2.unnumberedsec, h3.unnumberedsubsec {
 table {
   text-align: left;
   padding: 0 0 0 0.5em;
-  border-left: 3px solid green;
+  border-left: 3px solid #5b7f64;
   margin: 1em 0 0 1em;
 }
 
@@ -617,6 +538,8 @@ div.float-right a.clickable {
 }
 
 /* Columns */
+
+/* color1 */
 .column-center-top {
   float: left;
   width: 99.5%;
@@ -625,14 +548,14 @@ div.float-right a.clickable {
   margin: 1em auto;
 }
 
-/* color1 */
-.column-center-top h3 {
-  background: #9ccc7c;
-  background: linear-gradient(to top,
-    rgb(140, 210, 118),
-    rgb(212, 242, 201));
+.column-center-middle-color2,
+.column-center-middle-color3,
+.news-item {
+  clear: both;
+  float: left;
+  width: 99.5%;
   text-align: left;
-  border-bottom: 1px solid #9ccc7c;
+  margin: 1em auto;
 }
 
 .column-left-top {
@@ -648,21 +571,6 @@ div.float-right a.clickable {
   margin: 1em 0;
 }
 
-.column-left-top,
-.column-left-bottom {
-  border: 1px solid #adce82;
-}
-
-/* color2 */
-.column-left-top h3,
-.column-left-bottom h3 {
-  background: #adce82;
-  background: linear-gradient(to top,
-    rgb(173, 206, 130),
-    rgb(221, 243, 204));
-  border-bottom: 1px solid #adce82;
-}
-
 .column-right-top {
   float: right;
   width: 49%;
@@ -675,29 +583,81 @@ div.float-right a.clickable {
   margin: 1em 0;
 }
 
-.column-right-top,
-.column-right-bottom {
-  border: 1px solid #bdd088;
+/* color2 */
+.column-left-top,
+.column-left-bottom,
+.column-center-middle-color2,
+.news-item {
+  border: 1px solid #adce82;
 }
 
 /* color3 */
-.column-right-top h3,
-.column-right-bottom h3 {
-  background: #bdd088;
-  background: linear-gradient(to top,
-    rgb(189, 208, 136),
-    rgb(231, 243, 207));
-  border-bottom: 1px solid #bdd088;
+.column-right-top,
+.column-right-bottom,
+.column-center-middle-color3 {
+  border: 1px solid #bdd088;
 }
 
+/* color4 */
 .column-center-bottom {
   clear: both;
+  float: left;
   width: 99.5%;
   text-align: center;
   border: 1px solid #ccd38f;
   margin: 1em auto 0;
 }
 
+.column-center-top,
+.column-center-middle-color2,
+.column-center-middle-color3,
+.column-center-bottom,
+.column-left-top,
+.column-left-bottom,
+.column-right-top,
+.column-right-bottom,
+.news-item {
+  background: #fff;
+  border-radius: 5px;
+}
+
+/* color1 */
+.column-center-top h3 {
+  background: #9ccc7c;
+  background: linear-gradient(to top,
+    rgb(140, 210, 118),
+    rgb(212, 242, 201));
+  text-align: left;
+  border-bottom: 1px solid #9ccc7c;
+}
+
+/* color2 */
+.column-left-top h3,
+.column-left-bottom h3,
+.column-center-middle-color2 h3,
+.news-item h3 {
+  background: #adce82;
+  background: linear-gradient(to top,
+    rgb(173, 206, 130),
+    rgb(221, 243, 204));
+  border-bottom: 1px solid #adce82;
+}
+
+.news-item h3 {
+  font-size: 15.2px;
+}
+
+/* color3 */
+.column-right-top h3,
+.column-right-bottom h3,
+.column-center-middle-color3 h3 {
+  background: #bdd088;
+  background: linear-gradient(to top,
+    rgb(189, 208, 136),
+    rgb(231, 243, 207));
+  border-bottom: 1px solid #bdd088;
+}
+
 /* color4 */
 .column-center-bottom h3 {
   background: #ccd38f;
@@ -708,27 +668,25 @@ div.float-right a.clickable {
   border-bottom: 1px solid #ccd38f;
 }
 
-.column-center-top,
-.column-center-bottom,
-.column-left-top,
-.column-left-bottom,
-.column-right-top,
-.column-right-bottom {
-  background: #f5fffa;
-}
-
 .column-center-top h3,
+.column-center-middle-color2 h3,
+.column-center-middle-color3 h3,
 .column-center-bottom h3,
 .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: 0 0.5em;
+  padding: 3px 0.5em 0;
   margin: 0;
+  border-top-left-radius: 5px;
+  border-top-right-radius: 5px;
 }
 
 .column-center-top h4,
+.column-center-middle-color2 h4,
+.column-center-middle-color3 h4,
 .column-center-bottom h4,
 .column-left-top h4,
 .column-left-bottom h4,
@@ -740,6 +698,8 @@ div.float-right a.clickable {
 }
 
 .column-center-top ul,
+.column-center-middle-color2 ul,
+.column-center-middle-color3 ul,
 .column-center-bottom ul,
 .column-left-top ul,
 .column-left-bottom ul,
@@ -751,6 +711,8 @@ div.float-right a.clickable {
 }
 
 .column-center-top li,
+.column-center-middle-color2 li,
+.column-center-middle-color3 li,
 .column-center-bottom li,
 .column-left-top li,
 .column-left-bottom li,
@@ -762,6 +724,8 @@ div.float-right a.clickable {
 }
 
 .column-center-top p,
+.column-center-middle-color2 p,
+.column-center-middle-color3 p,
 .column-center-bottom p,
 .column-left-top p,
 .column-left-bottom p,
@@ -772,6 +736,10 @@ div.float-right a.clickable {
 
 .column-center-top img.float-left,
 .column-center-top img.float-right,
+.column-center-middle-color2 img.float-left,
+.column-center-middle-color2 img.float-right,
+.column-center-middle-color3 img.float-left,
+.column-center-middle-color3 img.float-right,
 .column-center-bottom img.float-left,
 .column-center-bottom img.float-right,
 .column-left-top img.float-left,
@@ -785,62 +753,6 @@ div.float-right a.clickable {
   margin: 0.5em;
 }
 
-/* Centered divs by color */
-div.color1,
-div.color2,
-div.color3,
-div.color4 {
-  clear: both;
-  width: 99.5%;
-  background: #f5fffa;
-  margin: 1em auto;
-}
-
-div.color1 h3,
-div.color2 h3,
-div.color3 h3,
-div.color4 h3 {
-  padding: 0 0.5em;
-  margin: 0;
-}
-
-div.color1 {
-  border: 1px solid #9ccc7c;
-  margin: 1em auto;
-}
-
-div.color1 h3 {
-  background: #9ccc7c;
-  border-bottom: 1px solid #9ccc7c;
-}
-
-div.color2 {
-  border: 1px solid #adce82;
-}
-
-div.color2 h3 {
-  background: #adce82;
-  border-bottom: 1px solid #adce82;
-}
-
-div.color3 {
-  border: 1px solid #bdd088;
-}
-
-div.color3 h3 {
-  background: #bdd088;
-  border-bottom: 1px solid #bdd088;
-}
-
-div.color4 {
-  border: 1px solid #ccd38f;
-}
-
-div.color4 h3 {
-  background: #ccd38f;
-  border-bottom: 1px solid #ccd38f;
-}
-
 .keep-bullets ul {
   list-style-type: disc;
   padding: 0;
@@ -882,38 +794,26 @@ div.color4 h3 {
   overflow: auto;
 }
 
-.warning {
+.warning,
+.contactBox {
   background: #eef;
   text-align: left;
-  padding: 0;
-  border: 1px solid green;
-  /* Experimental rounded corners */
-  -moz-border-radius: 10px;
-  -webkit-border-radius: 10px;
-  border-radius: 10px;
   margin: 1em;
-}
-
-.warning p {
-  padding: 0.5em;
-  margin: 0;
+  padding: 0;
+  border: 1px solid rgb(160, 160, 175);
+  border-radius: 5px;
 }
 
 .contactBox {
   float: left;
-  background: #eef;
-  text-align: left;
-  border: 1px solid green;
-  padding: 0;
-  margin: 1em;
 }
 
+.warning p,
 .contactBox p {
   padding: 0.5em;
   margin: 0;
 }
 
-
 .hide {
   position: relative;
   text-indent: -999em;