Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2008 19:28:08 +0200
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        Gavin Atkinson <gavin@freebsd.org>
Cc:        freebsd-doc@freebsd.org, doc-committers@freebsd.org, Chin-San Huang <chinsan@freebsd.org>, cvs-doc@freebsd.org
Subject:   Re: cvs commit: doc/share/misc docbook.css
Message-ID:  <87fxlza3tj.fsf@kobe.laptop>
In-Reply-To: <1226311326.84196.1.camel@buffy.york.ac.uk> (Gavin Atkinson's message of "Mon, 10 Nov 2008 10:02:06 %2B0000")
References:  <200811090424.mA94OlN6087438@repoman.freebsd.org> <20081109084551.GB1058@gothic.blackend.org> <87hc6gbz3t.fsf@kobe.laptop> <20081109192507.GB1030@gothic.blackend.org> <87k5bc4ovw.fsf@kobe.laptop> <1226311326.84196.1.camel@buffy.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Nov 2008 10:02:06 +0000, Gavin Atkinson <gavin@FreeBSD.org> wrote:
>On Sun, 2008-11-09 at 22:37 +0200, Giorgos Keramidas wrote:
>>On Sun, 9 Nov 2008 20:25:07 +0100, Marc Fonvieille <blackend@freebsd.org> wrote:
>>> The new x-config.html is fine for me.
>>> For the new install-pre.html, the way <important></important> is
>>> rendered looks oldish, maybe using the same scheme as for
>>> <warning></warning> might do the trick.
>>
>> The bold red text is kind of `old school' for me too.  I'll wait to see
>> if there are flames^W^H err, objections about the rest and update the
>> <important> style too :)
>
> FWIW, I like the look of the new style sheet nore than the old one, but
> do agree with Marc about the new font used on <important> - I assume
> this is due to the removal of "font-family: arial;" from
> BLOCKQUOTE.IMPORTANT.

It's the line-height that makes things look funny.  How about something
that makes Important notes stand out a bit like this version?

  http://people.freebsd.org/~keramida/bsd-css/2008.11.10/install-pre.html

The changes to the `blockquote.IMPORTANT' class are:

  * Remove `color: red', `font-family: arial', `font-weight: bold' and
    the custom `line-height'.

  * Add a bit of padding to avoid bumping into any <blockquote> borders.

  * Add a red border with a thick left side that highlights the block.

This way the font family is the same as the rest of the text and it
doesn't look weird if your default sans-serif font is, say, DejaVu
instead of Arial :)

[ I'm undecided between making .IMPORTANT stand out with a red
background and this.  A red background seems like something that can
hurt my eyes if I stare at it for a long time.  This is _different_ that
the rest of the .NOTE, .EXAMPLE and so on. ]




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87fxlza3tj.fsf>