diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2009-04-04 12:38:24 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-06 00:27:09 -0700 |
commit | a3df1e464e110776120e37f467cc0ad3b957a80e (patch) | |
tree | ba7c2f35b917ed18c667f84afd6abdb487ef6b94 | |
parent | 6127c0864798111d3524da2bea6188b0048d9fcf (diff) | |
download | git-a3df1e464e110776120e37f467cc0ad3b957a80e.tar.gz git-a3df1e464e110776120e37f467cc0ad3b957a80e.tar.xz |
docbook: change css style
A handful of random personal preference:
- Force sans-serif for the text.
- Quote code sample literal inside a single-quote pair.
- Show emphasis in blue-green italics.
- Do not use itarlics for term definition, but show them in navy.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | Documentation/docbook-xsl.css | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Documentation/docbook-xsl.css b/Documentation/docbook-xsl.css index b878b385c..e11c8f053 100644 --- a/Documentation/docbook-xsl.css +++ b/Documentation/docbook-xsl.css @@ -16,6 +16,7 @@ body blockquote { html body { margin: 1em 5% 1em 5%; line-height: 1.2; + font-family: sans-serif; } body div { @@ -128,6 +129,15 @@ body pre { tt.literal, code.literal { color: navy; + font-family: sans-serif; +} + +code.literal:before { content: "'"; } +code.literal:after { content: "'"; } + +em { + font-style: italic; + color: #064; } div.literallayout p { @@ -137,7 +147,6 @@ div.literallayout p { div.literallayout { font-family: monospace; -# margin: 0.5em 10% 0.5em 1em; margin: 0em; color: navy; border: 1px solid silver; @@ -187,7 +196,8 @@ dt { } dt span.term { - font-style: italic; + font-style: normal; + color: navy; } div.variablelist dd p { |