/* * jquery.tocify.css 1.9.0 * Author: @gregfranko */ /* The Table of Contents container element */ .tocify { width: 15%; max-height: 90%; overflow: auto; margin-left: 10px; margin-top: 10px; position: fixed; border: 1px solid #ccc; border-radius: 6px; float: left; padding-left: 5px; } /* The Table of Contents is composed of multiple nested unordered lists. These styles remove the default styling of an unordered list because it is ugly. */ .tocify ul, .tocify li { list-style: none; margin: 0; // padding: 0; border: none; // line-height: 30px; line-height: 1.2; } /* Top level header elements */ .tocify-header ul, .tocify-header li { // text-indent: 10px; padding-left: 10px; text-indent: -10px; // padding-top: 5px; // padding-bottom: 5px; } /* Top level subheader elements. These are the first nested items underneath a header element. */ .tocify-subheader { text-indent: 20px; display: none; } /* Makes the font smaller for all subheader elements. */ .tocify-subheader li { font-size: 12px; } /* Further indents second level subheader elements. */ .tocify-subheader .tocify-subheader { text-indent: 30px; } /* Further indents third level subheader elements. You can continue this pattern if you have more nested elements. */ .tocify-subheader .tocify-subheader .tocify-subheader { text-indent: 40px; }