diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-19 15:27:34 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-19 15:27:34 +0000 |
commit | 580c890d3b3950c00bf3f40566df511d65a316d6 (patch) | |
tree | 570221a66b828c7609ec2bc92ababbfb8df38c41 /mandoc.css | |
parent | 17fa3ce7264c77c2352e413e73bd23e6f8bc7c47 (diff) | |
download | mandoc-580c890d3b3950c00bf3f40566df511d65a316d6.tar.gz |
Clean up CSS rules for sections and paragraphs.
Start using real macro names for CSS classes.
Diffstat (limited to 'mandoc.css')
-rw-r--r-- | mandoc.css | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -40,17 +40,23 @@ td.foot-date { width: 50%; } td.foot-os { width: 50%; text-align: right; } +/* Sections and paragraphs. */ + +div.manual-text { + margin-left: 5ex; } +h1.Sh { margin-top: 2ex; + margin-bottom: 1ex; + margin-left: -4ex; + font-size: 110%; } +h2.Ss { margin-top: 2ex; + margin-bottom: 1ex; + margin-left: -2ex; + font-size: 105%; } +div.Pp { margin: 1ex 0ex; } -h1 { margin-bottom: 1ex; font-size: 110% } -div.section > h1 { margin-left: -4ex; } /* Section header (Sh, SH). */ -h2 { margin-bottom: 1ex; font-size: 105%; margin-left: -2ex; } /* Sub-section header (Ss, SS). */ -p { } /* Paragraph: Pp, Lp. */ blockquote { margin-left: 5ex; margin-top: 0ex; margin-bottom: 0ex; } /* D1. */ -div.section { margin-bottom: 2ex; margin-left: 5ex; } /* Sections (Sh, SH). */ -div.subsection { } /* Sub-sections (Ss, SS). */ table.synopsis { } /* SYNOPSIS section table. */ -div.spacer { margin: 1em 0; } /* General font modes. */ |