-=| Simon Paillard, 15.02.2011 00:21:02 +0100 |=- > On Mon, Feb 14, 2011 at 10:23:32PM +0100, Simon Paillard wrote: > > On Sun, Feb 06, 2011 at 10:46:31AM +0100, Vincent Zweije wrote: > > For those who want to reproduce it (as of now): > > http://www.debian.org/index.uk.html Still untranslated. Not good, but nice for reproducing the problem :) It seems the current layout somehow works around the issue as a side effect. The trans-note appears just below the splash, in the gap declared using margin-bottom of the splash. > Short summary: > - div.trans-note in debhome.css uses a absolute, causing issues This 'absolute' should go away. In narrow mode it causes the note to go right over the splash :/ > - this absolute position and "top: XXXpx" can be avoided if splash code moved > before the trans-note > - but trans-note is from template, and splash from index.wml -> I tried with > splash in from template/mainpage.wml > - but the span.download must be in index.wml to be translated (or content moved > to gettext and still in mainpage template?) > - if span.download is kept in index.wml, its html code will be after the > splash, what needs a negative top margin, what is not handled by epiphany, > our default web browser. > > Maybe moving the span.download to gettext is our better option... How about removing the trans-note definition from debhome.css altogether? This way it will look the same as on other pages (e.g. http://www.debian.org/CD/index.uk.html). True, it would be better to have it below the splash on the home page, but this would require hacks of all sorts to do without moving the splash in the template (and therefore the download too, ouch). Anyway, here's a snapshot of the homepage without the special style for trans-note in debhome.css for consideration: http://people.debian.org/~dmn/plain-trans-note-homepage.png Disclaimer: I head in the direction of simplifying just because I have no slightest idea what "moving download/splash to the template" involves. It that is not too hard, it would be better, generally.
Description: Digital signature