mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
Make more use of screen space in the documentation.
Basically move from a 940px system to 1200px grid system. Hopefully future DOM modifications will make this better.
This commit is contained in:
parent
7543328fe7
commit
a129b4bb7e
14
docs/_static/style.css
vendored
14
docs/_static/style.css
vendored
@ -23,7 +23,11 @@ p {
|
||||
|
||||
div.document {
|
||||
margin: 10px auto 0 auto;
|
||||
max-width: 940px; /* page width */
|
||||
max-width: 1200px; /* page width */
|
||||
}
|
||||
|
||||
div.body {
|
||||
max-width: 960px;
|
||||
}
|
||||
|
||||
div.documentwrapper {
|
||||
@ -32,7 +36,7 @@ div.documentwrapper {
|
||||
}
|
||||
|
||||
div.bodywrapper {
|
||||
margin: 0 0 0 220px; /* sidebar width */
|
||||
margin: 0 0 0 240px; /* sidebar width */
|
||||
}
|
||||
|
||||
div.body {
|
||||
@ -46,7 +50,7 @@ div.footer {
|
||||
font-size: 14px;
|
||||
margin: 20px auto 30px auto;
|
||||
text-align: right;
|
||||
max-width: 880px;
|
||||
max-width: 1200px; /* page width */
|
||||
}
|
||||
|
||||
div.footer a {
|
||||
@ -64,7 +68,7 @@ div.sphinxsidebar {
|
||||
font-size: 14px;
|
||||
line-height: 1.5em;
|
||||
margin-left: -100%;
|
||||
width: 220px; /* sidebar width */
|
||||
width: 240px; /* sidebar width */
|
||||
}
|
||||
|
||||
div.sphinxsidebarwrapper {
|
||||
@ -74,7 +78,7 @@ div.sphinxsidebarwrapper {
|
||||
|
||||
/* sticky sidebar */
|
||||
position: fixed;
|
||||
width: 220px; /* sidebar width */
|
||||
width: 240px; /* sidebar width */
|
||||
height: 90%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user