summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-10 22:19:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-10 22:19:45 +0000
commitfa7f5670a62d7982cd7fa942da8b8717bb3e14b6 (patch)
tree9a7ffce1671bcec0ae9692b81722ea62a0b1ed9d
parent55661d46e722ef74fa7c0dc7df06ada2e7268cb1 (diff)
downloadmandoc-fa7f5670a62d7982cd7fa942da8b8717bb3e14b6.tar.gz
correctly align document header and footer;
suggested by kristaps@
-rw-r--r--example.style.css9
1 files changed, 6 insertions, 3 deletions
diff --git a/example.style.css b/example.style.css
index 10a58308..910eab95 100644
--- a/example.style.css
+++ b/example.style.css
@@ -20,11 +20,14 @@ div.mandoc div.subsection { } /* Sub-sections (Ss, SS). */
div.mandoc table.synopsis { } /* SYNOPSIS section table. */
div.mandoc table.foot { } /* Document footer. */
div.mandoc td.foot-date { width: 50%; } /* Document footer: date. */
-div.mandoc td.foot-os { width: 50%; } /* Document footer: OS/source. */
+div.mandoc td.foot-os { width: 50%;
+ text-align: right; } /* Document footer: OS/source. */
div.mandoc table.head { } /* Document header. */
div.mandoc td.head-ltitle { width: 10%; } /* Document header: left-title. */
-div.mandoc td.head-vol { width: 80%; } /* Document header: volume. */
-div.mandoc td.head-rtitle { width: 10%; } /* Document header: right-title. */
+div.mandoc td.head-vol { width: 80%;
+ text-align: center; } /* Document header: volume. */
+div.mandoc td.head-rtitle { width: 10%;
+ text-align: right; } /* Document header: right-title. */
div.mandoc .display { } /* All Bd, D1, Dl. */
div.mandoc .list { } /* All Bl. */
div.mandoc i { } /* Italic: BI, IB, I, (implicit). */