aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/style.css
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-08-18 09:02:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-08-18 09:02:22 +0000
commitde0b1dccbf9d3be63a567acafd8c486d3868566b (patch)
tree30b7e05519e8aaf4b13c2f72eeeb2024c89daca1 /style.css
parentc65ba2e1c8deb9e56989ba0289c031c68a59d5f0 (diff)
downloadmandoc-de0b1dccbf9d3be63a567acafd8c486d3868566b.tar.gz
mandoc-de0b1dccbf9d3be63a567acafd8c486d3868566b.tar.zst
mandoc-de0b1dccbf9d3be63a567acafd8c486d3868566b.zip
Have `Li' be correctly monospaced in -T[x]html. Also make sure that
`Li' prints as a CODE tag and the style-sheet has the `lit' class apply to multiple tag types.
Diffstat (limited to 'style.css')
-rw-r--r--style.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/style.css b/style.css
index 22abf511..443865bf 100644
--- a/style.css
+++ b/style.css
@@ -1,4 +1,4 @@
-/* $Id: style.css,v 1.22 2011/05/14 23:40:49 kristaps Exp $ */
+/* $Id: style.css,v 1.23 2011/08/18 09:02:22 kristaps Exp $ */
/*
* This is an example style-sheet provided for mandoc(1) and the -Thtml
@@ -9,7 +9,7 @@
* See mdoc(7) and man(7) for macro explanations.
*/
-html { max-width: 880px; }
+html { max-width: 880px; margin-left: 1em; }
body { font-size: smaller; font-family: Helvetica,Arial,sans-serif; }
h1 { margin-bottom: 1ex; font-size: 110%; margin-left: -4ex; } /* Section header (Sh, SH). */
h2 { margin-bottom: 1ex; font-size: 105%; margin-left: -2ex; } /* Sub-section header (Ss, SS). */
@@ -38,6 +38,7 @@ i { } /* Italic: BI, IB, I, (implicit). */
b { } /* Bold: SB, BI, IB, BR, RB, B, (implicit). */
.symb { font-style: normal; font-weight: bold; } /* Symbolic: Sy, Ms, Bf -symbolic. */
small { } /* Small: SB, SM. */
+.lit { font-style: normal; font-weight: normal; font-family: monospace; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */
/* Block modes. */
@@ -64,7 +65,6 @@ i.ftype { font-weight: normal; } /* Function types (Ft, Fn). */
b.includes { font-style: normal; } /* Header includes (In). */
span.lib { } /* Library (Lb). */
i.link-sec { font-weight: normal; } /* Section links (Sx). */
-code.lit { font-style: normal; font-weight: normal; } /* Literal: Dl, Li, Bf -literal, Bl -literal, Bl -unfilled. */
b.macro { font-style: normal; } /* Macro-ish thing (Fd). */
b.name { font-style: normal; } /* Name of utility (Nm). */
span.opt { } /* Options (Op, Oo/Oc). */