git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: Jeff King <peff@peff.net>
Cc: Junio C Hamano <gitster@pobox.com>,
	Michael J Gruber <git@drmicha.warpmail.net>,
	git@vger.kernel.org
Subject: Re: [RFC/PATCH 2/8] docbook: improve css style
Date: Tue, 24 Mar 2009 11:39:45 +0200	[thread overview]
Message-ID: <94a0d4530903240239u5fed58fao350f33b2f2f29044@mail.gmail.com> (raw)
In-Reply-To: <20090324090014.GA2075@coredump.intra.peff.net>

On Tue, Mar 24, 2009 at 11:00 AM, Jeff King <peff@peff.net> wrote:
> On Tue, Mar 24, 2009 at 10:57:43AM +0200, Felipe Contreras wrote:
>
>> > Really? They look very different. Here's a screenshot of the user-manual
>> > with patches 2 and 3 from your series applied, next to Wikipedia. Your
>> > text is smaller, and the line-spacing makes it look more scrunched:
>> >
>> >  http://peff.net/wikipedia-git-textsize.png
>>
>> Hmm, strange, can you tell me what is the configured font/font-size you have?
>
> FreeSans, 14pt (and I default to sans-serif for proportional text).

You're right, for some reason in that font it's the difference is much
more noticeable. Both Google and Wikipedia seem to be doing some
tricks scaling up and down the font-size. Still, in the end the
font-size looks very small on Gmail... strange.

So in the end Wikipedia: 91%, Gmail: 80%, Google: 86%... small is 79%.

I've updated it again, changing the 'green' color to something more
subtle and reverted all the font-size changes.

--- a/Documentation/docbook-xsl.css
+++ b/Documentation/docbook-xsl.css
@@ -15,9 +15,8 @@ body blockquote {

 html body {
   margin: 1em 5% 1em 5%;
-  line-height: 1em;
+  line-height: 1.2;
   font-family: sans-serif;
-  font-size: small;
 }

 body div {
@@ -130,7 +129,7 @@ body pre {

 tt.literal, code.literal {
   color: navy;
-  font-size: 1em;
+  font-family: sans-serif;
 }

 code.literal:before { content: "'"; }
@@ -138,7 +137,7 @@ code.literal:after { content: "'"; }

 em {
   font-style: italic;
-  color: green;
+  color: #064;
 }

 div.literallayout p {

-- 
Felipe Contreras

  reply	other threads:[~2009-03-24  9:41 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-22 18:05 [RFC/PATCH 0/8] user-manual: style improvements Felipe Contreras
2009-03-22 18:05 ` [RFC/PATCH 1/8] user-manual: remove some git-foo usage Felipe Contreras
2009-03-22 18:05   ` [RFC/PATCH 2/8] docbook: improve css style Felipe Contreras
2009-03-22 18:05     ` [RFC/PATCH 3/8] docbook: radical style change Felipe Contreras
     [not found]       ` <1237745121-6325-5-git-send-email-felipe.contreras@gmail.com>
2009-03-22 18:05         ` [RFC/PATCH 5/8] user-manual: use 'fast-forward' instead of 'fast forward' Felipe Contreras
2009-03-22 18:05           ` [RFC/PATCH 6/8] user-manual: use SHA-1 instead of SHA1 or sha1 Felipe Contreras
2009-03-22 18:05             ` [RFC/PATCH 7/8] user-manual: add global config section Felipe Contreras
2009-03-22 18:05               ` [RFC/PATCH 8/8] user-manual: simplify the user configuration Felipe Contreras
2009-03-22 22:42                 ` Wincent Colaiuta
2009-03-22 23:01                   ` Felipe Contreras
2009-03-23  0:00                     ` Junio C Hamano
2009-03-23 11:02                       ` Felipe Contreras
2009-03-23  0:07                     ` Wincent Colaiuta
2009-03-23 11:07                       ` Felipe Contreras
2009-03-23 11:09                         ` Wincent Colaiuta
2009-03-24  0:22                           ` Felipe Contreras
2009-03-24 21:52               ` [RFC/PATCH 7/8] user-manual: add global config section J. Bruce Fields
2009-03-24 22:17                 ` Felipe Contreras
2009-03-24 22:42                   ` J. Bruce Fields
2009-03-23  6:50       ` [RFC/PATCH 3/8] docbook: radical style change Jeff King
2009-03-23 10:47         ` Felipe Contreras
2009-03-23  6:42     ` [RFC/PATCH 2/8] docbook: improve css style Jeff King
2009-03-23 10:31       ` Felipe Contreras
2009-03-23 15:20         ` Michael J Gruber
2009-03-24  0:21           ` Felipe Contreras
2009-03-24  2:08             ` Junio C Hamano
2009-03-24  7:52               ` Felipe Contreras
2009-03-24  8:18                 ` Jeff King
2009-03-24  8:57                   ` Felipe Contreras
2009-03-24  9:00                     ` Jeff King
2009-03-24  9:39                       ` Felipe Contreras [this message]
2009-03-24  8:29             ` Michael J Gruber
2009-03-24  9:06               ` Felipe Contreras
2009-03-24  9:16                 ` Jeff King
2009-03-24 10:39                 ` Michael J Gruber
2009-03-24 10:52                   ` Felipe Contreras
2009-03-24  0:20       ` Felipe Contreras
2009-03-24  8:42         ` Jeff King
2009-03-23  6:31   ` [RFC/PATCH 1/8] user-manual: remove some git-foo usage Jeff King
2009-03-23 10:54     ` Felipe Contreras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94a0d4530903240239u5fed58fao350f33b2f2f29044@mail.gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).