This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients asmodai, eric.araujo, ezio.melotti, forest, georg.brandl, jnoller, orsenthil, pitrou, rdemetrescu, wplapper
Date 2009-08-27.15:07:37
SpamBayes Score 1.2261792e-09
Marked as misclassified No
Message-id <>
I just did a quick test about making the sidebar collapsible.
Add these lines at the end of default.css to see how the page might look
like with the sidebar collapsed:

/* collapse the sidebar */
div.sphinxsidebar {
    /* border: 3px solid red; */
    width: 1em !important;
/* hide the content of the sidebar */
div.sphinxsidebarwrapper {
    display: none;
/* expand the page to use the sidebar space */
    /* border: 3px solid blue; */
    margin-left: 1em !important;

A "<<" / ">>" button has to be added (via JS) to collapse and restore
the sidebar. The CSS properties have to be changed via JS too, the users
without JS won't notice any difference at all.
When the sidebar is collapsed, it is possible to make it appear again
clicking anywhere on the 1em-wide collapsed sidebar on the left (and not
only on the ">>").
The sidebar could be hidden completely by placing the "<<" / ">>" button
or an "Hide/Show sidebar" link in the top-left corner, but I don't know
exactly where (before the small python icon? just under it in a
"floating box"?).

The WebDeveloper plug-in of Firefox can be used to see the changes on
the fly (CSS -> Edit CSS -> paste the code at the end of default.css),
otherwise you can edit the CSS manually.
Feedback and comments appreciated.
Date User Action Args
2009-08-27 15:07:40ezio.melottisetrecipients: + ezio.melotti, georg.brandl, orsenthil, pitrou, forest, wplapper, rdemetrescu, asmodai, jnoller, eric.araujo
2009-08-27 15:07:40ezio.melottisetmessageid: <>
2009-08-27 15:07:38ezio.melottilinkissue3143 messages
2009-08-27 15:07:37ezio.melotticreate