Skip to content

Commit

Permalink
adding custom table CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Dec 3, 2018
1 parent 7985adb commit ec42c52
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/_static/css/exoplanet.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
table {
width: 100%;
max-width: 100%;
margin-bottom: 1rem;
background-color: transparent;
border-collapse: collapse;
border: 0;
}

table th,
table td {
padding: 0.75rem;
vertical-align: top;
border-top: 1px solid #dee2e6;
}

table thead th {
vertical-align: bottom;
border-bottom: 2px solid #dee2e6;
}

table tbody + tbody {
border-top: 2px solid #dee2e6;
}
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

import sphinx_nameko_theme


def setup(app):
app.add_stylesheet("css/exoplanet.css")


autodoc_mock_imports = [
"numpy",
"scipy",
Expand Down

0 comments on commit ec42c52

Please sign in to comment.