]> git.sur5r.net Git - cc65/commitdiff
Made html doc look a little less boring.
authorOliver Schmidt <ol.sc@web.de>
Sun, 9 Feb 2014 21:43:55 +0000 (22:43 +0100)
committerOliver Schmidt <ol.sc@web.de>
Sun, 9 Feb 2014 21:43:55 +0000 (22:43 +0100)
doc/Makefile
doc/doc.css [new file with mode: 0644]
doc/doc.png [new file with mode: 0644]
doc/header.html [new file with mode: 0644]

index 1e2bf435fc15c6f7276a78bd9bb6f40cacae2f0c..19dd8836c86a20171a77954b2a35980063c30837 100644 (file)
@@ -17,7 +17,7 @@ all:
 
 doc: html
 
-html: $(addprefix ../html/,$(SGMLS:.sgml=.html))
+html: $(addprefix ../html/,$(SGMLS:.sgml=.html) doc.css doc.png)
 
 mostlyclean:
 
@@ -28,7 +28,10 @@ clean:
        @mkdir $@
 
 ../html/%.html: %.sgml | ../html
-       @cd ../html && linuxdoc -B html --split=0 --toc=$(TOC_LEVEL) ../doc/$<
+       @cd ../html && linuxdoc -B html -s=0 -T=$(TOC_LEVEL) -H ../doc/header.html ../doc/$<
+
+../html/doc.%: doc.% | ../html
+       cp $< ../html
 
 gh-pages: html
 ifdef GH_TOKEN
diff --git a/doc/doc.css b/doc/doc.css
new file mode 100644 (file)
index 0000000..232599a
--- /dev/null
@@ -0,0 +1,33 @@
+body {
+    font-family:        arial, helvetica, sans-serif;
+    font-size:          100%;
+    text-align:         justify;
+    margin-left:        110px;
+    margin-top:         10px;
+    margin-right:       30px;
+    margin-bottom:      10px;
+    background-image:   url(doc.png);
+    background-repeat:  repeat-y;
+}
+
+h1, h2, h2 a:link, h2 a:active, h2 a:visited {
+    font-weight:        bold;
+    font-style:         italic;
+    text-align:         left;
+    color:              #DB3232;
+}
+
+h1 {
+    font-size:          250%;
+    text-shadow:        2px 2px 6px #505050;
+    letter-spacing:     2px;
+    padding-top:        40px;
+}
+
+h2 {
+    font-size:          160%;
+    text-shadow:        2px 2px 6px #303030;
+    letter-spacing:     1px;
+    margin-top:         2em;
+    margin-bottom:      1em;
+}
diff --git a/doc/doc.png b/doc/doc.png
new file mode 100644 (file)
index 0000000..91af80d
Binary files /dev/null and b/doc/doc.png differ
diff --git a/doc/header.html b/doc/header.html
new file mode 100644 (file)
index 0000000..a2cb2f1
--- /dev/null
@@ -0,0 +1,4 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<HTML>
+<HEAD>
+ <LINK REL="stylesheet" TYPE="text/css" HREF="doc.css"/>