summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Morris <paulwmorris@gmail.com>2015-02-11 12:08:34 -0500
committerJames Lowe <pkx166h@gmail.com>2015-02-19 15:30:44 +0000
commitd41686f992941f8fa8c567b6c1643d5dd4de17fc (patch)
treef51d19f7d820e9a0e74511dc1b754019a042b9ce
parentda6815333b6e6dae0303adf5d84271592163d94b (diff)
Web: fix column headings that lack gradients
Issus 4288 put column h3 headers together add and use column-center-middle-colorX classes remove .color1 .color2 .color3 .color4 classes
-rw-r--r--Documentation/css/lilypond-website-ie-fixes.css6
-rw-r--r--Documentation/css/lilypond-website.css171
-rw-r--r--Documentation/web/download.itexi4
-rw-r--r--Documentation/web/introduction.itexi4
4 files changed, 82 insertions, 103 deletions
diff --git a/Documentation/css/lilypond-website-ie-fixes.css b/Documentation/css/lilypond-website-ie-fixes.css
index 716bf366cd..86fe49ad87 100644
--- a/Documentation/css/lilypond-website-ie-fixes.css
+++ b/Documentation/css/lilypond-website-ie-fixes.css
@@ -53,12 +53,14 @@ a[name="Unstable"] + h4 {
}
.column-left-top h3,
-.column-left-bottom h3 {
+.column-left-bottom h3,
+.column-center-middle-color2 h3 {
background: #adce82 url(../pictures/color2-bg.png) repeat-x top left;
}
.column-right-top h3,
-.column-right-bottom h3 {
+.column-right-bottom h3,
+.column-center-middle-color3 h3 {
background: #bdd088 url(../pictures/color3-bg.png) repeat-x top left;
}
diff --git a/Documentation/css/lilypond-website.css b/Documentation/css/lilypond-website.css
index 60c0f815a4..8538a39eaa 100644
--- a/Documentation/css/lilypond-website.css
+++ b/Documentation/css/lilypond-website.css
@@ -599,6 +599,8 @@ div.float-right a.clickable {
}
/* Columns */
+
+/* color1 */
.column-center-top {
float: left;
width: 99.5%;
@@ -607,14 +609,12 @@ 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 {
+ clear: both;
+ width: 99.5%;
text-align: left;
- border-bottom: 1px solid #9ccc7c;
+ margin: 1em auto;
}
.column-left-top {
@@ -630,21 +630,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%;
@@ -657,21 +642,21 @@ 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 {
+ 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;
width: 99.5%;
@@ -680,6 +665,49 @@ div.float-right a.clickable {
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 {
+ background: #f5fffa;
+}
+
+/* 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 {
+ background: #adce82;
+ background: linear-gradient(to top,
+ rgb(173, 206, 130),
+ rgb(221, 243, 204));
+ border-bottom: 1px solid #adce82;
+}
+
+/* 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;
@@ -690,16 +718,9 @@ 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,
@@ -711,6 +732,8 @@ div.float-right a.clickable {
}
.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,
@@ -722,6 +745,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,
@@ -733,6 +758,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,
@@ -744,6 +771,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,
@@ -754,6 +783,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,
@@ -767,62 +800,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;
diff --git a/Documentation/web/download.itexi b/Documentation/web/download.itexi
index b4c6e2f13b..ece6c7b39f 100644
--- a/Documentation/web/download.itexi
+++ b/Documentation/web/download.itexi
@@ -82,7 +82,7 @@ latest unstable version
@divEnd
-@divClass{column-center-bottom}
+@divClass{column-center-middle-color2}
@subheading Software License
@@ -91,7 +91,7 @@ LilyPond is published under the
@divEnd
-@divClass{color1}
+@divClass{column-center-bottom}
@subheading Sponsors
diff --git a/Documentation/web/introduction.itexi b/Documentation/web/introduction.itexi
index 3942a42959..cf00fadf64 100644
--- a/Documentation/web/introduction.itexi
+++ b/Documentation/web/introduction.itexi
@@ -466,7 +466,7 @@ not require hundreds of dollars of software!
@c @divClass{column-left-top}
-@divClass{color2}
+@divClass{column-center-middle-color2}
@divClass{keep-bullets}
@subheading What are the benefits to users?
@@ -507,7 +507,7 @@ available for copying, modifications, and distribution.
@c @divClass{column-right-top}
-@divClass{color3}
+@divClass{column-center-middle-color3}
@divClass{keep-bullets}
@subheading Why do LilyPond developers @qq{give away} their work for free?