Skip to content

Commit

Permalink
modify content width of readthedocs web (PaddlePaddle#960)
Browse files Browse the repository at this point in the history
* modify content width of readthedocs web

* modify content width of readthedocs web

* modify content width of readthedocs web

* Update custom.css
  • Loading branch information
yingyibiao authored Sep 2, 2021
1 parent 225e4c9 commit 15bee1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.wy-nav-content {
max-width: 80%;
}
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@
'body_max_width': '80%',
}

html_css_files = [
'custom.css',
]

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
Expand Down

0 comments on commit 15bee1e

Please sign in to comment.