From: Patrick McCarty Date: Mon, 4 Jan 2010 07:52:21 +0000 (-0800) Subject: Web: CSS: more nitpicks. X-Git-Tag: release/2.13.11-1~103 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5c736578919108960b1b67d2fd0f7d26f50dad4e;p=lilypond.git Web: CSS: more nitpicks. - White hyperlinks unreadable for color2, color3, etc. Change to black. - Remove underlines for a:hover in top navbar (except for li.toc_current) to be consistent with second-level navbar. --- diff --git a/Documentation/css/lilypond-web.css b/Documentation/css/lilypond-web.css index ff5dcb3ecb..623627f737 100644 --- a/Documentation/css/lilypond-web.css +++ b/Documentation/css/lilypond-web.css @@ -174,7 +174,6 @@ div#tocframe { #tocframe li a:hover { background: url(../pictures/nav-hover.png); - text-decoration: underline; } #tocframe li.toc_current a, @@ -228,13 +227,6 @@ div#tocframe { margin: 0; } -#tocframe .toc .toc li.toc_current a, -#tocframe .toc .toc li.toc_current a:hover { - background: #8cbc6c url(../pictures/nav-active-2.png) repeat-x top left; - color: #fff; - text-decoration: underline; -} - #tocframe .toc .toc li a:hover { background: #bdee9d; } @@ -242,28 +234,32 @@ div#tocframe { /* colored second-level TOC items */ #tocframe .toc .toc li.color1 a { background: #9ccc7c url(../pictures/color1-bg.png) repeat-x top left; - text-decoration: none; } #tocframe .toc .toc li.color2 a { background: #bbcf81 url(../pictures/color2-bg.png) repeat-x top left; - text-decoration: none; } #tocframe .toc .toc li.color3 a { background: #dbd286 url(../pictures/color3-bg.png) repeat-x top left; - text-decoration: none; } #tocframe .toc .toc li.color4 a { background: #fad58c url(../pictures/color4-bg.png) repeat-x top left; - text-decoration: none; +} + +#tocframe .toc .toc li.toc_current a, +#tocframe .toc .toc li.toc_current a:hover { + color: #000; + text-decoration: underline; } /* having this useless style makes the perl init file easier */ #tocframe .toc .toc li.colorDefault a, #tocframe .toc .toc li.colorDefault a:hover { + background: #8cbc6c url(../pictures/nav-active-2.png) repeat-x top left; color: #fff; + text-decoration: underline; } #tocframe .toc .toc li.color1 a:hover {