custom css to limit width
authorAlexander Solovyov <alexander@solovyov.net>
Sat, 27 Nov 2010 20:48:16 +0100
changeset 143 2327cc333e50
parent 142 56f290eb8f55
child 144 c66e1ada4c08
child 145 6dc40423b257
custom css to limit width
docs/_static/custom.css
docs/conf.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/_static/custom.css	Sat Nov 27 20:48:16 2010 +0100
@@ -0,0 +1,3 @@
+@import url("default.css");
+
+body { max-width: 70em; margin: 0 auto; }
--- a/docs/conf.py	Sat Nov 27 20:45:09 2010 +0100
+++ b/docs/conf.py	Sat Nov 27 20:48:16 2010 +0100
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 
 import sys
-sys.path.append('..')
+sys.path.insert(0, '..')
 import opster
 
 # -- General configuration -----------------------------------------------------
@@ -20,6 +20,7 @@
 # -- Options for HTML output ---------------------------------------------------
 
 html_theme = 'default'
+html_style = 'custom.css'
 html_title = "%s v%s" % (project, version)
 html_static_path = ['_static']
 html_use_smartypants = True