summaryrefslogtreecommitdiffstats
path: root/mandoc.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-01-19 16:56:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-01-19 16:56:54 +0000
commite71615e0e5d9c183af5589931bc5b68f21bdd7bb (patch)
treede36344343c4967646b2cfe226acc6b457203e92 /mandoc.css
parentd00a6c8c39c12a0eb55f70ecdea9523e056d6577 (diff)
downloadmandoc-e71615e0e5d9c183af5589931bc5b68f21bdd7bb.tar.gz
clean up markup of .Bd, .D1, .Dl, .Li, and .Ql;
in particular, stop abuse of <blockquote>
Diffstat (limited to 'mandoc.css')
-rw-r--r--mandoc.css14
1 files changed, 11 insertions, 3 deletions
diff --git a/mandoc.css b/mandoc.css
index c907a6b6..aa9ac1af 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -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. */