summaryrefslogtreecommitdiffstats
path: root/mandoc.css
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc.css')
-rw-r--r--mandoc.css19
1 files changed, 14 insertions, 5 deletions
diff --git a/mandoc.css b/mandoc.css
index d2d55cec..7c9e97c6 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -53,19 +53,28 @@ table.results { margin-top: 1em;
/* Header and footer lines. */
-table.head { width: 100%;
+div[role=doc-pageheader] {
+ display: flex;
border-bottom: 1px dotted #808080;
margin-bottom: 1em;
font-size: smaller; }
-td.head-vol { text-align: center; }
-td.head-rtitle {
+.head-ltitle { flex: 1; }
+.head-vol { flex: 0 1 auto;
+ text-align: center; }
+.head-rtitle { flex: 1;
text-align: right; }
-table.foot { width: 100%;
+div[role=doc-pagefooter] {
+ display: flex;
+ justify-content: space-between;
border-top: 1px dotted #808080;
margin-top: 1em;
font-size: smaller; }
-td.foot-os { text-align: right; }
+.foot-left { flex: 1; }
+.foot-date { flex: 0 1 auto;
+ text-align: center; }
+.foot-os { flex: 1;
+ text-align: right; }
/* Sections and paragraphs. */