From 5f85ceaaa5f295c8a14305be281d0a1cad6a179c Mon Sep 17 00:00:00 2001 From: free hacker <freeh4cker@gmail.com> Date: Fri, 19 Feb 2016 00:39:37 +0100 Subject: [PATCH] set theme to classic instead of default --- source/conf.py | 4 +++- source/pasteur_theme/static/style.conf | 0 source/pasteur_theme/static/style.css | 30 ++++++++++++++++++++++++++ source/pasteur_theme/theme.conf | 4 ++++ 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 source/pasteur_theme/static/style.conf create mode 100644 source/pasteur_theme/static/style.css create mode 100644 source/pasteur_theme/theme.conf diff --git a/source/conf.py b/source/conf.py index 661e946..8d2526e 100644 --- a/source/conf.py +++ b/source/conf.py @@ -35,6 +35,8 @@ extensions = [ 'sphinx.ext.todo', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', + 'sphinx.ext.mathbase', + 'sphinx.ext.mathjax' ] # Add any paths that contain templates here, relative to this directory. @@ -105,7 +107,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'classic' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/source/pasteur_theme/static/style.conf b/source/pasteur_theme/static/style.conf new file mode 100644 index 0000000..e69de29 diff --git a/source/pasteur_theme/static/style.css b/source/pasteur_theme/static/style.css new file mode 100644 index 0000000..a3825e7 --- /dev/null +++ b/source/pasteur_theme/static/style.css @@ -0,0 +1,30 @@ +@import url("classic.css"); /* make sure to sync this with the base theme's css filename */ + + +table.docutils { + border: 1px solid; + border-collapse: collapse; +} + +table.docutils td, table.docutils th { + border-color: -moz-use-text-color -moz-use-text-color #aaa; + border-style: solid; + border-width: 1px; + padding: 1px 8px 1px 5px; +} +#references table.citation { + border-style: none; +} + +#references table.citation td, #references table.citation th{ + border-style: none; +} + +.red-font { + color:red; +} + + +.highlight-text .highlight .hll { + background-color: #FF6666; +} diff --git a/source/pasteur_theme/theme.conf b/source/pasteur_theme/theme.conf new file mode 100644 index 0000000..8c208f1 --- /dev/null +++ b/source/pasteur_theme/theme.conf @@ -0,0 +1,4 @@ +[theme] +inherit = classic +stylesheet = style.css +pygments_style = pygments.css -- GitLab