aboutsummaryrefslogtreecommitdiff
path: root/doc/prologue.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/prologue.xhtml')
-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;