Re: [HACKERS] Small issue in online devel documentation build

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: [HACKERS] Small issue in online devel documentation build
Date: 2017-03-10 16:21:33
Message-ID: d483b69d-aae1-e286-c1b0-2e00b59ae108@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

Web team, any thoughts on the CSS details?

On 3/4/17 02:00, Fabien COELHO wrote:
>
> Hello Peter,
>
>> I think what you are looking at is the web site stylesheet.
>
> Yep.
>
>> The whole thing looks fine to me using the default stylesheet. On the
>> web site, it looks wrong to me too. I don't know what the rationale for
>> using 1.3em for <code> is, but apparently it's not working correctly.
>
> Indeed. The idea of relative size is to be able to adjust the size for the
> whole page and have everything scale accordingly... however this mostly
> works well with text, but not with images. It seems that the trend is now
> to specify absolute size, and to let the browser do whole page scaling as
> required by the user.
>
>> We could perhaps consider which markup style is better, but the problem
>> is that it's hard to enforce either way going forward. So we need to
>> find the root of the problem.
>
> The root of the problem is the combination of relative size & nesting, so
> one or the other has to be removed:
>
> (1) don't nest in the input (patch I sent)
> (2) don't use relative sizes (update the web site CSS)
>
> Otherwise there are workarounds:
>
> (3) CSS work around "code code { font-size: 100% !important; }"
> (4) unnest code in the output by some postprocessing or some more
> clever transformation.
>

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2017-03-10 16:27:22 Re: Upgrading postmaster's log messages about bind/listen errors
Previous Message Mengxing Liu 2017-03-10 16:18:20 Re: GSOC Introduction / Eliminate O(N^2) scaling from rw-conflict tracking in serializable transactions

Browse pgsql-www by date

  From Date Subject
Next Message Payal Singh 2017-03-10 20:29:01 Permissions to edit wiki
Previous Message Magnus Hagander 2017-03-08 03:42:13 Re: Cannot receive reset password email