[PATCH] doc/style: use default font color specified by user
Martin Geisler
mg at lazybytes.net
Tue Nov 10 13:28:37 CST 2009
Yuya Nishihara <yuya at tcha.org> writes:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1257857290 -32400
> # Node ID d28887355d1436580708d3799d1b3329676de0df
> # Parent 0d65e191ac4c2a3246fd12543819f3ccdd6a8a73
> doc/style: use default font color specified by user
>
> * it's bad to specify only foreground color:
> http://www.w3.org/QA/Tips/color
> * some people prefer dark background
> * `color: #111' is mostly the same as `color: black',
> which is the default of almost all popular browsers.
>
> so it's preferable to delete `color: #111', rather than adding
> `background-color: white'.
We would only have to add it to the body element, right?
> diff --git a/doc/style.css b/doc/style.css
> --- a/doc/style.css
> +++ b/doc/style.css
> @@ -12,7 +12,6 @@ body {
> margin: 0;
> padding: 0;
> font-family: sans-serif;
> - color: #111;
> }
>
> .document {
> @@ -72,7 +71,7 @@ a:link { color: #00b5f1; }
> a:visited { color: #5c9caf; }
> a:link.toc-backref, a:visited.toc-backref {
> text-decoration: none;
> - color: #111; /* `inherit' is not supported by IE6 */
> + color: inherit; /* NOTE: `inherit' is not supported by IE6 */
> }
You've updated the comment, is that because IE6 is no longer important?
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial/attachments/20091110/1d2a254c/attachment.pgp>
More information about the Mercurial
mailing list