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>
This commit is contained in:
parent
6127c08647
commit
a3df1e464e
@ -16,6 +16,7 @@ body blockquote {
|
|||||||
html body {
|
html body {
|
||||||
margin: 1em 5% 1em 5%;
|
margin: 1em 5% 1em 5%;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
body div {
|
body div {
|
||||||
@ -128,6 +129,15 @@ body pre {
|
|||||||
|
|
||||||
tt.literal, code.literal {
|
tt.literal, code.literal {
|
||||||
color: navy;
|
color: navy;
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
code.literal:before { content: "'"; }
|
||||||
|
code.literal:after { content: "'"; }
|
||||||
|
|
||||||
|
em {
|
||||||
|
font-style: italic;
|
||||||
|
color: #064;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.literallayout p {
|
div.literallayout p {
|
||||||
@ -137,7 +147,6 @@ div.literallayout p {
|
|||||||
|
|
||||||
div.literallayout {
|
div.literallayout {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
# margin: 0.5em 10% 0.5em 1em;
|
|
||||||
margin: 0em;
|
margin: 0em;
|
||||||
color: navy;
|
color: navy;
|
||||||
border: 1px solid silver;
|
border: 1px solid silver;
|
||||||
@ -187,7 +196,8 @@ dt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dt span.term {
|
dt span.term {
|
||||||
font-style: italic;
|
font-style: normal;
|
||||||
|
color: navy;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.variablelist dd p {
|
div.variablelist dd p {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user