From 9977822f3b4e52cdc02469334094fd110f0b0d43 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 16 Nov 2009 14:48:52 +0100 Subject: Add new theme "agogo", by Andi Albrecht. --- doc/_templates/layout.html | 7 ++++++ doc/themes/agogo.png | Bin 0 -> 36780 bytes doc/themes/default.png | Bin 0 -> 52880 bytes doc/themes/fullsize/agogo.png | Bin 0 -> 75005 bytes doc/themes/fullsize/default.png | Bin 0 -> 96831 bytes doc/themes/fullsize/scrolls.png | Bin 0 -> 121464 bytes doc/themes/fullsize/sphinxdoc.png | Bin 0 -> 99682 bytes doc/themes/fullsize/traditional.png | Bin 0 -> 108985 bytes doc/themes/scrolls.png | Bin 0 -> 40215 bytes doc/themes/sphinxdoc.png | Bin 0 -> 41680 bytes doc/themes/traditional.png | Bin 0 -> 46483 bytes doc/theming.rst | 48 +++++++++++++++++++++++++++++++++++- 12 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 doc/themes/agogo.png create mode 100644 doc/themes/default.png create mode 100644 doc/themes/fullsize/agogo.png create mode 100644 doc/themes/fullsize/default.png create mode 100644 doc/themes/fullsize/scrolls.png create mode 100644 doc/themes/fullsize/sphinxdoc.png create mode 100644 doc/themes/fullsize/traditional.png create mode 100644 doc/themes/scrolls.png create mode 100644 doc/themes/sphinxdoc.png create mode 100644 doc/themes/traditional.png (limited to 'doc') diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 080c0935..aa33576a 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -1,5 +1,12 @@ {% extends "!layout.html" %} +{% block extrahead %} + +{% endblock %} + {% block rootrellink %}
  • Sphinx home | 
  • Documentation»
  • diff --git a/doc/themes/agogo.png b/doc/themes/agogo.png new file mode 100644 index 00000000..7afc4a13 Binary files /dev/null and b/doc/themes/agogo.png differ diff --git a/doc/themes/default.png b/doc/themes/default.png new file mode 100644 index 00000000..be821b67 Binary files /dev/null and b/doc/themes/default.png differ diff --git a/doc/themes/fullsize/agogo.png b/doc/themes/fullsize/agogo.png new file mode 100644 index 00000000..93fadfcb Binary files /dev/null and b/doc/themes/fullsize/agogo.png differ diff --git a/doc/themes/fullsize/default.png b/doc/themes/fullsize/default.png new file mode 100644 index 00000000..b6af8bc3 Binary files /dev/null and b/doc/themes/fullsize/default.png differ diff --git a/doc/themes/fullsize/scrolls.png b/doc/themes/fullsize/scrolls.png new file mode 100644 index 00000000..7d46f7ed Binary files /dev/null and b/doc/themes/fullsize/scrolls.png differ diff --git a/doc/themes/fullsize/sphinxdoc.png b/doc/themes/fullsize/sphinxdoc.png new file mode 100644 index 00000000..722fb900 Binary files /dev/null and b/doc/themes/fullsize/sphinxdoc.png differ diff --git a/doc/themes/fullsize/traditional.png b/doc/themes/fullsize/traditional.png new file mode 100644 index 00000000..103fd3ca Binary files /dev/null and b/doc/themes/fullsize/traditional.png differ diff --git a/doc/themes/scrolls.png b/doc/themes/scrolls.png new file mode 100644 index 00000000..e4cb9aa9 Binary files /dev/null and b/doc/themes/scrolls.png differ diff --git a/doc/themes/sphinxdoc.png b/doc/themes/sphinxdoc.png new file mode 100644 index 00000000..2d2723a8 Binary files /dev/null and b/doc/themes/sphinxdoc.png differ diff --git a/doc/themes/traditional.png b/doc/themes/traditional.png new file mode 100644 index 00000000..535213fe Binary files /dev/null and b/doc/themes/traditional.png differ diff --git a/doc/theming.rst b/doc/theming.rst index 5b4b648c..a6cf9594 100644 --- a/doc/theming.rst +++ b/doc/theming.rst @@ -52,7 +52,33 @@ file :file:`blue.zip`, you can put it right in the directory containing Builtin themes -------------- -Sphinx comes with a selection of themes to choose from: +.. cssclass:: right + ++-----------------------------------------+ +| **Theme overview** | ++--------------------+--------------------+ +| |default| | |sphinxdoc| | +| | | +| *default* | *sphinxdoc* | ++--------------------+--------------------+ +| |scrolls| | |agogo| | +| | | +| *scrolls* | *agogo* | ++--------------------+--------------------+ +| |traditional| | | +| | | +| *traditional* | | ++--------------------+--------------------+ + +.. |default| image:: themes/default.png +.. |sphinxdoc| image:: themes/sphinxdoc.png +.. |scrolls| image:: themes/scrolls.png +.. |agogo| image:: themes/agogo.png +.. |traditional| image:: themes/traditional.png + +Sphinx comes with a selection of themes to choose from. + +These themes are: * **basic** -- This is a basically unstyled layout used as the base for the *default* and *sphinxdoc* themes, and usable as the base for custom themes as @@ -103,6 +129,26 @@ Sphinx comes with a selection of themes to choose from: * **traditional** -- A theme resembling the old Python documentation. There are currently no options beyond *nosidebar*. +* **agogo** -- A theme created by Andi Albrecht. The following options are + supported: + + - **bodyfont** (CSS font family): Font for normal text. + - **headerfont** (CSS font family): Font for headings. + - **pagewidth** (CSS length): Width of the page content, default 70em. + - **documentwidth** (CSS length): Width of the document (without sidebar), + default 50em. + - **sidebarwidth** (CSS length): Width of the sidebar, default 20em. + - **bgcolor** (CSS color): Background color. + - **headerbg** (CSS value for "background"): background for the header area, + default a grayish gradient. + - **footerbg** (CSS value for "background"): background for the footer area, + default a light gray gradient. + - **linkcolor** (CSS color): Body link color. + - **headercolor1**, **headercolor2** (CSS color): colors for

    and

    + headings. + - **headerlinkcolor** (CSS color): Color for the backreference link in + headings. + Creating themes --------------- -- cgit v1.2.1