Re: [RFC/PATCH 2/8] docbook: improve css style
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Mar 23, 2009, 10:31 UTC
- Message-ID
- <94a0d4530903230331g3b620f80h77e317a09dc5273f@mail.gmail.com>
- In-Reply-To
- <20090323064242.GB1119@coredump.intra.peff.net>
On Mon, Mar 23, 2009 at 8:42 AM, Jeff King <peff@peff.net> wrote:
Show 10 quoted lines
> On Sun, Mar 22, 2009 at 08:05:15PM +0200, Felipe Contreras wrote:
>
>> tt.literal, code.literal {
>> color: navy;
>> + font-size: 1em;
>> +}
>
> Isn't 1em already the default size? Or are you trying to override some
> other size specification elsewhere? It's hard to tell what the goal is
> because your commit message merely says "improve".That's correct.
The problem is that when the user has a different size for the sans-serif and monospace fonts it looks horrible when they are on the same paragraph. I thought 1em did the trick, but you are right, it doesn't.
It looks like the only way to fix this is to set absolute sizes.
-- Felipe Contreras