Skip to content

Commit

Permalink
Style sphinx docs to match the rest of the site
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarnell committed Jun 11, 2011
1 parent 96c2f2f commit 3892794
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
25 changes: 25 additions & 0 deletions website/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,28 @@
"url",
]

html_static_path = [os.path.abspath("../static")]
html_style = "sphinx.css"
highlight_language = "none"
html_theme_options = dict(
footerbgcolor="#fff",
footertextcolor="#000",
sidebarbgcolor="#fff",
#sidebarbtncolor
sidebartextcolor="#4d8cbf",
sidebarlinkcolor="#216093",
relbarbgcolor="#fff",
relbartextcolor="#000",
relbarlinkcolor="#216093",
bgcolor="#fff",
textcolor="#000",
linkcolor="#216093",
visitedlinkcolor="#216093",
headbgcolor="#fff",
headtextcolor="#4d8cbf",
codebgcolor="#fff",
codetextcolor="#060",
bodyfont="Georgia, serif",
headfont="Calibri, sans-serif",
stickysidebar=True,
)
28 changes: 28 additions & 0 deletions website/static/sphinx.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@import url("default.css");

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6,
div.sphinxsidebar h3,
div.sphinxsidebar h4 {
font-weight: bold;
}

pre {
line-height: 14pt;
margin: 17pt;
padding-left: 1em;
border: none;
border-left: 1px solid #ccc;
}

div.body p, div.body dd, div.body li {
text-align: left;
}

.highlight {
background: #fff !important;
}

0 comments on commit 3892794

Please sign in to comment.