aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-22 17:35:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-22 17:35:02 +0200
commit33c8959ea3e3e6a4de1d5ba254a262b0464ee42b (patch)
tree6f2a62fc31f5905863de19b87fa1f0569fb1b644 /doc
parent66f156aa877f3ec65fccd5496ab2f56ddeb5dd3b (diff)
Adjust css for man pages
Diffstat (limited to 'doc')
-rw-r--r--doc/prologue.xhtml54
1 files changed, 51 insertions, 3 deletions
diff --git a/doc/prologue.xhtml b/doc/prologue.xhtml
index a307d1f..e3ef036 100644
--- a/doc/prologue.xhtml
+++ b/doc/prologue.xhtml
@@ -3,14 +3,18 @@
<head>
<meta charset="UTF-8"/>
<title>$name$($section$) bpkg $version$</title>
+
+ <!-- @@ Need to style default ul, ol -->
+
<style type="text/css">
html
{
- font-family: sans-serif;
+ font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
font-weight: normal;
font-size: 18px;
line-height: 1.4em;
+ color: #333;
text-align: justify;
}
@@ -39,7 +43,6 @@
h1
{
- color: #333;
font-weight: normal;
font-size: 1.58em;
line-height: 1.4em;
@@ -47,7 +50,52 @@
margin: 1.6em 0 .6em -.92em;
}
- code, pre {font-size: 0.94em;}
+ code, pre
+ {
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ font-size: 0.92em;
+ }
+
+ /*
+ code
+ {
+ background-color: rgba(0, 0, 0, 0.04);
+ border-radius: 0.2em;
+ padding: .2em 0 .2em 0;
+ }
+
+ code::before
+ {
+ letter-spacing: -0.2em;
+ content: "\00a0";
+ }
+
+ code::after
+ {
+ letter-spacing: -0.2em;
+ content: "\00a0";
+ }
+ */
+
+ pre
+ {
+ background-color: #f7f7f7;
+ border-radius: 0.2em;
+ padding: .8em .4em .8em .4em;
+ margin: .2em -.4em .2em -.4em; /* Use margins of #content. */
+ }
+
+ dl {
+ margin: 1em 0 1em 0;
+ }
+
+ dl dt {
+ margin: 0 0 0 0;
+ }
+
+ dl dd {
+ margin: 0 0 0 1.8em;
+ }
.options {
margin: 1em 0 1em 0;