summaryrefslogtreecommitdiff
path: root/docs/_templates
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2018-11-06 00:28:30 +0100
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2018-11-06 00:28:30 +0100
commitf4744db053a0097f4ddefadb18881091eee1a136 (patch)
tree82ea022f7d7a17179daf66490d916e29fa6ad846 /docs/_templates
parent6e9c55161f5f5e45bbce2a757f18741cb41272f2 (diff)
downloadcherrypy-git-f4744db053a0097f4ddefadb18881091eee1a136.tar.gz
Fix undersized sidebar in docs under mobile
Diffstat (limited to 'docs/_templates')
-rw-r--r--docs/_templates/python_2_eol.html25
1 files changed, 23 insertions, 2 deletions
diff --git a/docs/_templates/python_2_eol.html b/docs/_templates/python_2_eol.html
index f9d062c2..681c3980 100644
--- a/docs/_templates/python_2_eol.html
+++ b/docs/_templates/python_2_eol.html
@@ -45,11 +45,32 @@
@media screen and (max-width: 875px) {
#python27eol p {
- padding: 0;
+ padding: 0 !important;
+ }
+
+ body {
+ margin: inherit !important;
+ padding: inherit !important;
}
div.body {
- min-width: 100%;
+ min-width: inherit !important;
+ width: 100% !important;
+ }
+
+ div.documentwrapper {
+ margin: inherit !important;
+ }
+
+ div.bodywrapper {
+ margin: 20px 30px !important;
+ padding-top: 190px !important;
+ }
+
+ div.sphinxsidebar {
+ margin: inherit !important;
+ padding: inherit !important;
+ width: 100% !important;
}
}
</style>