From eaa9ae641d62872f0df378513ba49e2d256351b4 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 19 Jan 2017 16:56:54 +0000 Subject: clean up markup of .Bd, .D1, .Dl, .Li, and .Ql; in particular, stop abuse of
--- mandoc.css | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'mandoc.css') diff --git a/mandoc.css b/mandoc.css index 6990db73..6158a0cf 100644 --- a/mandoc.css +++ b/mandoc.css @@ -1,4 +1,4 @@ -/* $Id: mandoc.css,v 1.6 2017/01/19 15:48:39 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.7 2017/01/19 16:56:54 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). */ @@ -56,8 +56,18 @@ div.Pp { margin: 1ex 0ex; } a.Sx { } a.Xr { } +/* Displays and lists. */ + +div.Bd { } +div.D1 { margin-left: 5ex; } + +/* Fonts. */ + +.Li { font-style: normal; + font-weight: normal; + font-family: monospace; } + -blockquote { margin-left: 5ex; margin-top: 0ex; margin-bottom: 0ex; } /* D1. */ table.synopsis { } /* SYNOPSIS section table. */ /* General font modes. */ @@ -67,11 +77,9 @@ 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, Ql, Bf -literal, Bl -literal, Bl -unfilled. */ /* Block modes. */ -.display { } /* Top of all Bd, D1, Dl. */ .list { } /* Top of all Bl. */ /* Context-specific modes. */ -- cgit v1.2.3-56-ge451