From a28f13b43e4e6d436d7f0fec0e0ef126412e5806 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sun, 30 May 2010 17:36:14 +0100 Subject: [PATCH] Web: make "other languages" in left footer. --- Documentation/css/lilypond-web.css | 23 +++++++++++++++++++---- scripts/build/website_post.py | 5 ++++- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/Documentation/css/lilypond-web.css b/Documentation/css/lilypond-web.css index 25d90befd1..a04e628821 100644 --- a/Documentation/css/lilypond-web.css +++ b/Documentation/css/lilypond-web.css @@ -512,10 +512,7 @@ a[name="Unstable"] + h4 { div#footer { clear: both; - position: relative; width: 100%; - /* FIXME: may need to be adjusted */ - margin-top: 7em; } div#language { @@ -539,12 +536,30 @@ div#language { margin: 0.25em 0 0 0; } +/* used on website; not certain about the above ones. + see Issue 1105 */ +p#languages { +/* + position: relative; + bottom: 0; + left: 0; + right: 30%; +*/ + float: left; + width: 45%; + margin: 3em 0; + text-align: left; +} + #verifier_texinfo { +/* position: relative; bottom: 0; right: 0; left: 50%; - width: 50%; +*/ + float: right; + width: 48%; } #verifier_texinfo h3 { diff --git a/scripts/build/website_post.py b/scripts/build/website_post.py index a1d2215f29..f27b5786f6 100644 --- a/scripts/build/website_post.py +++ b/scripts/build/website_post.py @@ -178,8 +178,11 @@ for file in html_files: langlink = addLangExt(link[:-4], lang, "pdf") line = line.replace(link, langlink) ### add language selection footer - if (line.find("") >= 0): + if (line.find("
") >= 0): + outfile.write("
\n") outfile.write( lang_footer ) + if (line.find("= 0): + outfile.write("
\n") outfile.write(line) outfile.close() -- 2.39.5