aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example.style.css
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
commit87d7b58b7dc0839f3f1a135a1e82fdd33b8c34c4 (patch)
tree8b860c4b652e930f8d8d306e7b1e3bc4a1ca9c00 /example.style.css
parenteefcc32cd5c22c0c6c5b71fa62f554f67edeaf3a (diff)
downloadmandoc-87d7b58b7dc0839f3f1a135a1e82fdd33b8c34c4.tar.gz
mandoc-87d7b58b7dc0839f3f1a135a1e82fdd33b8c34c4.tar.zst
mandoc-87d7b58b7dc0839f3f1a135a1e82fdd33b8c34c4.zip
correctly align document header and footer;
suggested by kristaps@
Diffstat (limited to 'example.style.css')
-rw-r--r--example.style.css11
1 files changed, 7 insertions, 4 deletions
diff --git a/example.style.css b/example.style.css
index d7d7e857..905412b5 100644
--- a/example.style.css
+++ b/example.style.css
@@ -1,4 +1,4 @@
-/* $Id: example.style.css,v 1.53 2014/09/27 11:16:24 kristaps Exp $ */
+/* $Id: example.style.css,v 1.54 2014/12/10 22:19:45 schwarze Exp $ */
/*
* This is an example style-sheet provided for mandoc(1) and the -Thtml
* or -Txhtml output mode.
@@ -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). */