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>
Felipe Contreras committed
Apr 4, 2009 at 12:38 UTC
a3df1e464e110776120e37f467cc0ad3b957a80e
1 file changed
+12
-2
Documentation/docbook-xsl.css
+12
-2
@@ -16,6 +16,7 @@ body blockquote {
16
html body {
17
margin: 1em 5% 1em 5%;
18
line-height: 1.2;
19
+ font-family: sans-serif;
20
}
21
22
body div {
@@ -128,6 +129,15 @@ body pre {
129
130
tt.literal, code.literal {
131
color: navy;
132
+ font-family: sans-serif;
133
+}
134
+
135
+code.literal:before { content: "'"; }
136
+code.literal:after { content: "'"; }
137
+
138
+em {
139
+ font-style: italic;
140
+ color: #064;
141
}
142
143
div.literallayout p {
@@ -137,7 +147,6 @@ div.literallayout p {
147
148
div.literallayout {
149
font-family: monospace;
140
-# margin: 0.5em 10% 0.5em 1em;
150
margin: 0em;
151
color: navy;
152
border: 1px solid silver;
@@ -187,7 +196,8 @@ dt {
196
}
197
198
dt span.term {
190
- font-style: italic;
199
+ font-style: normal;
200
+ color: navy;
201
}
202
203
div.variablelist dd p {