changeset 24:dd7beb3cbb82

Add a CSS sheet, yoinked from Parchment.
author Atul Varma <varmaa@toolness.com>
date Thu, 05 Jun 2008 23:22:46 -0700
parents e5ba89c69c1f
children 3bf3050ef9a6
files Makefile PythonForJsProgrammers.css
diffstat 2 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jun 05 23:05:10 2008 -0700
+++ b/Makefile	Thu Jun 05 23:22:46 2008 -0700
@@ -1,5 +1,5 @@
 all:
-	rst2html.py PythonForJsProgrammers.txt > PythonForJsProgrammers.html
+	rst2html.py --stylesheet-path=PythonForJsProgrammers.css --link-stylesheet PythonForJsProgrammers.txt > PythonForJsProgrammers.html
 
 test:
 	python -c "import doctest; doctest.testfile('PythonForJsProgrammers.txt')"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PythonForJsProgrammers.css	Thu Jun 05 23:22:46 2008 -0700
@@ -0,0 +1,20 @@
+body {
+    font-family: palatino, georgia, verdana, arial, sans-serif;
+    text-align: center;
+    background: white;
+}
+
+.document {
+    text-align: left;
+    margin: 0 auto;
+    width: 640px;
+}
+
+a {
+    color: grey;
+    text-decoration: none;
+}
+
+a:hover {
+    color: black;
+}