Skip to content

Commit a3df1e4

Browse files
felipecgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6127c08 commit a3df1e4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Documentation/docbook-xsl.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ body blockquote {
1616
html body {
1717
margin: 1em 5% 1em 5%;
1818
line-height: 1.2;
19+
font-family: sans-serif;
1920
}
2021

2122
body div {
@@ -128,6 +129,15 @@ body pre {
128129

129130
tt.literal, code.literal {
130131
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;
131141
}
132142

133143
div.literallayout p {
@@ -137,7 +147,6 @@ div.literallayout p {
137147

138148
div.literallayout {
139149
font-family: monospace;
140-
# margin: 0.5em 10% 0.5em 1em;
141150
margin: 0em;
142151
color: navy;
143152
border: 1px solid silver;
@@ -187,7 +196,8 @@ dt {
187196
}
188197

189198
dt span.term {
190-
font-style: italic;
199+
font-style: normal;
200+
color: navy;
191201
}
192202

193203
div.variablelist dd p {

0 commit comments

Comments
 (0)