Steve Meyfroidt

Email: steve dot meyfroidt AT SPAMFREE gmail DOT com

TableOfContents CSS

This works with the "classic" theme in v1.5 and provides a nice sidebar Table Of Contents to the right of the page. Just make these additions to your user.css:

/* Contents macro */
span#line-1 + ol {
        padding: 16px;
        background: #eee;
        list-style-position: inside;
        display: block;
        float: right;
        border: 1px solid;
}

span#line-1 + ol:before{
    content: "Table of Contents";
        font-weight: bold;
    display: block;
    margin-bottom: 1em;
    text-align: left;
}


CategoryHomepage

MoinMoin: SteveMeyfroidt (last edited 2007-10-29 19:06:20 by localhost)