aboutsummaryrefslogtreecommitdiffstatshomepage
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
commiteaa9ae641d62872f0df378513ba49e2d256351b4 (patch)
tree36827593c588820632fb7171c0616fb86223f8d4 /mandoc.css
parent7497d172e9388ae343a013457bf16bff6b39b3e1 (diff)
downloadmandoc-eaa9ae641d62872f0df378513ba49e2d256351b4.tar.gz
mandoc-eaa9ae641d62872f0df378513ba49e2d256351b4.tar.zst
mandoc-eaa9ae641d62872f0df378513ba49e2d256351b4.zip
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.css16
1 files changed, 12 insertions, 4 deletions
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. */