Skip to content

Commit

Permalink
docbook: change css style
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
felipec authored and gitster committed Apr 6, 2009
1 parent 6127c08 commit a3df1e4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Documentation/docbook-xsl.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ body blockquote {
html body {
margin: 1em 5% 1em 5%;
line-height: 1.2;
font-family: sans-serif;
}

body div {
Expand Down Expand Up @@ -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 {
Expand All @@ -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;
Expand Down Expand Up @@ -187,7 +196,8 @@ dt {
}

dt span.term {
font-style: italic;
font-style: normal;
color: navy;
}

div.variablelist dd p {
Expand Down

0 comments on commit a3df1e4

Please sign in to comment.