Skip to content

Commit

Permalink
Add custom css
Browse files Browse the repository at this point in the history
Use line break in tables to avoid horizontal scrolling
  • Loading branch information
magnesj committed May 4, 2021
1 parent c70367a commit be19c03
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/** css/yourtheme.css **/


/* This line is theme specific - it includes the base theme CSS */

@import 'theme.css';

/* for the Read the Docs theme */

.wy-table-responsive table td,
.wy-table-responsive table th {
white-space: normal
}
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,6 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

html_style = 'css/custom.css'

# -- Extension configuration -------------------------------------------------

0 comments on commit be19c03

Please sign in to comment.