From 99890be7d45a7f117d2215d0f0c97a43a1f659b0 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 10 Aug 2012 03:07:48 -0400 Subject: Add document template and stylesheet. --- (limited to 'include') diff --git a/include/document.tmpl b/include/document.tmpl new file mode 100644 index 0000000..cb8fde4 --- /dev/null +++ b/include/document.tmpl @@ -0,0 +1,69 @@ + + + + + + + <TMPL_VAR NAME="BOOK_TITLE"> - <TMPL_VAR NAME=TITLE> + + <TMPL_VAR NAME="BOOK_TITLE"> + + + + + "> + + + "> + + + +
+ +

+ +

+
+
+
+ +
+ + + diff --git a/include/main.css b/include/main.css new file mode 100644 index 0000000..dccaa3b --- /dev/null +++ b/include/main.css @@ -0,0 +1,102 @@ +* { + margin: 0px; + padding: 0px; + font-family: serif; + color: #000000; +} +body { + margin: 0px; + padding: 0px 12px; + background-color: #E0E0E0; +} +h1, h2 { + font-weight: bold; +} +a { + color: #0000FF; + text-decoration: underline; +} + +nav { + margin: 0px; + padding: 24px 12px; + height: 1%; + overflow: auto; +} +header nav { + border-bottom: 1px solid #666666; + margin-bottom: 24px +} +footer nav { + border-top: 1px solid #666666; + margin-top: 24px +} +nav ul { + display: inline; + list-style-type: none; +} +nav ul li.prev { + float: left; + width: 40%; + text-align: left; +} +nav ul li.next { + float: right; + width: 40%; + text-align: right; +} +nav ul li a { + display: block; +} +footer nav ul li a { + margin-bottom: 8px; +} +nav ul li.start { + text-align: center; + width: 20%; + margin: 0px auto; +} +header h1 { + font-size: 20pt; + font-weight: bold; + margin: 6px 12px; +} +header h2 { + font-size: 18pt; + font-weight: bold; + margin: 6px 12px; +} + +section { + margin: 0px; + margin: 12px 12px 24px 12px; +} + +section h1 { + font-size: 16pt; + font-weight: bold; + margin: 0px 0px 12px 0px; +} +section h2 { + font-size: 14pt; + font-weight: bold; + margin: 0px 0px 12px 0px; +} +section p { + font-size: 12pt; + margin: 0px 0px 12px 0px; +} +section li { + font-size: 12pt; +} +section code { + background-color: #EEEECC; + font-family: monospace; +} +section pre { + background-color: #EEEECC; + margin: 0px 0px 12px 16px; +} +section ul, section ol { + margin: 0px 0px 12px 16px; +} -- cgit v0.9.1