From 2c3195d30060002bd8a859e6c03d008addad5084 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 11 Mar 2013 00:29:33 +0900 Subject: [PATCH] doc: Update doc theme --- doc/_static/default2.css | 6 ++++++ doc/conf.py.in | 11 ++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/_static/default2.css b/doc/_static/default2.css index c89e1f4..e5ebaf9 100644 --- a/doc/_static/default2.css +++ b/doc/_static/default2.css @@ -7,3 +7,9 @@ pre, tt { tt { font-size: 100%; } + +div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6 { + border: 0; + margin: 0; + padding: 0.3em 0; +} diff --git a/doc/conf.py.in b/doc/conf.py.in index 88d3158..1f15c36 100644 --- a/doc/conf.py.in +++ b/doc/conf.py.in @@ -124,7 +124,16 @@ html_theme = 'default' # further. For a list of options available for each theme, see the # documentation. html_theme_options = {'bodyfont':'roboto, sans-serif', - 'headfont':'roboto, "Trebuchet MS", sans-serif'} + 'headfont':'roboto, "Trebuchet MS", sans-serif', + 'relbarbgcolor':'#fff', + 'relbartextcolor':'#444', + 'relbarlinkcolor':'#444', + 'sidebarbgcolor':'none', + 'sidebartextcolor':'#444', + 'sidebarlinkcolor':'#444', + 'headbgcolor':'none', + 'footerbgcolor':'none', + 'footertextcolor':'#444'} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = []