Skip to content

Commit

Permalink
docs: add default override
Browse files Browse the repository at this point in the history
  • Loading branch information
jducnuigeen committed Nov 16, 2023
1 parent 1537fb1 commit ea30e9a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
25 changes: 25 additions & 0 deletions db/docs/source/_static/default.css
Original file line number Diff line number Diff line change
@@ -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%;
}
4 changes: 3 additions & 1 deletion db/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit ea30e9a

Please sign in to comment.