On 2009-09-07, Patrick Schmidt wrote: > Hi all, > > I proudly present draft 9 of the new website. > > http://lilypond.org/~graham/out/ > > Please comment.
Very cool. I like it. One comment about the lily-home-png: I don't really like the gray top/bottom border you are using, since the other gradient images don't have this border. > BTW: Has anybody out there a clue why the lily-home-png (the tab > with the lily on the left) appears to be a wee bit smaller than the > rest of the main menu bar even though all pngs have the same size? Yes, this is because there are hair-splitting calculations going on in the CSS. The tiny "border" that appears underneath the top navigation bar is the result of background colors showing through, since the line-height/padding of the text is slightly larger than the gradient images. In other words, everything is currently estimated, and I don't know how to make it more exact. The lily-home-png image appears to be a different size because of this estimation. The attached patch seems to provide better results, but I don't know if this is what you want. I've only tested Firefox 3.5.2. Thanks, Patrick
>From 96b67be5cfc7ce8c72dcd9d7340ffeccb0a343d9 Mon Sep 17 00:00:00 2001 From: Patrick McCarty <[email protected]> Date: Mon, 7 Sep 2009 12:48:43 -0700 Subject: [PATCH] Fix TOC issue --- texinfo/css/alt4.css | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/texinfo/css/alt4.css b/texinfo/css/alt4.css index 9686708..2574151 100644 --- a/texinfo/css/alt4.css +++ b/texinfo/css/alt4.css @@ -138,7 +138,7 @@ url(../pictures/lily-home.png) no-repeat 50% 50%, #582007;*/ width: 17%; background: #6aec7c url(../pictures/nav-bg-3.png); font-size: 100%; - padding: 0.5em 0.8%; + padding: 0.45em 0.8%; margin: 0; } @@ -170,7 +170,7 @@ url(../pictures/lily-home.png) no-repeat 50% 50%, #582007;*/ width: 18%; text-align: center; font-weight: bold; - padding: 0.71em 0; + padding: 0.68em 0; margin: 0; background: #6aec7c url(../pictures/nav-bg-3.png); } -- 1.6.4.2
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
