diff --git a/docs/_static/table.css b/docs/_static/table.css new file mode 100644 index 0000000..ebb818c --- /dev/null +++ b/docs/_static/table.css @@ -0,0 +1,15 @@ +/* Slightly modified table styles from Furo theme*/ + +table.docutils { + border-radius: 0.2rem; + border-spacing: 0; + border-collapse: collapse; + box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2); +} + +table.docutils td {text-align: left} +table.docutils tr{transition:background-color .125s} +table.docutils tr:hover{ + background-color:rgba(0,0,0,.035); + box-shadow:inset 0 .05rem 0 #fff +} diff --git a/docs/conf.py b/docs/conf.py index a7bb86f..73d0036 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -103,7 +103,7 @@ # HTML general settings # html_favicon = join('images', 'favicon.ico') html_js_files = ['collapsible_container.js'] -html_css_files = ['collapsible_container.css'] +html_css_files = ['collapsible_container.css', 'table.css'] html_show_sphinx = False pygments_style = 'friendly' pygments_dark_style = 'material'