From de0b1dccbf9d3be63a567acafd8c486d3868566b Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 18 Aug 2011 09:02:22 +0000 Subject: 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. --- example.style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example.style.css') diff --git a/example.style.css b/example.style.css index 39075460..e4c560d6 100644 --- a/example.style.css +++ b/example.style.css @@ -1,4 +1,4 @@ -/* $Id: example.style.css,v 1.43 2011/04/11 22:58:28 kristaps Exp $ */ +/* $Id: example.style.css,v 1.44 2011/08/18 09:02:22 kristaps Exp $ */ /* * This is an example style-sheet provided for mandoc(1) and the -Thtml @@ -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). */ -- cgit v1.2.3-56-ge451