diff --git a/db/docs/source/_static/default.css b/db/docs/source/_static/default.css new file mode 100644 index 00000000..6d519f1a --- /dev/null +++ b/db/docs/source/_static/default.css @@ -0,0 +1,25 @@ +tr { + background-color: hsla(205, 46%, 86%, 0.41); +} + +th { + background-color: #bbbbbb; + color: #ffffff; +} + + +.wy-nav-content { + padding: 1.618em 3.236em; + height: 100%; + max-width: none !important; + margin: auto; + +} + +div.body { + width: 100%; +} + +div.section p { + font-size: 100%; +} \ No newline at end of file diff --git a/db/docs/source/conf.py b/db/docs/source/conf.py index 1024b53a..839a68e9 100644 --- a/db/docs/source/conf.py +++ b/db/docs/source/conf.py @@ -148,6 +148,7 @@ # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ["_static"] +html_css_files = ['_static/default.css',] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied @@ -742,7 +743,8 @@ def rstjinja(app, docname, source): def setup(app): app.connect("source-read", rstjinja) - app.add_css_file("custom.css") + # app.add_css_file("custom.css") + html_context = context_out