mirror of
https://github.com/WebStackPage/WebStackPage.github.io.git
synced 2026-02-09 21:35:07 +08:00
update
This commit is contained in:
62
assets/js/tocify/jquery.tocify.css
Executable file
62
assets/js/tocify/jquery.tocify.css
Executable file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* jquery.tocify.css 1.9.0
|
||||
* Author: @gregfranko
|
||||
*/
|
||||
|
||||
/* The Table of Contents container element */
|
||||
.tocify {
|
||||
width: 20%;
|
||||
max-height: 90%;
|
||||
overflow: auto;
|
||||
margin-left: 2%;
|
||||
position: fixed;
|
||||
border: 1px solid #ccc;
|
||||
webkit-border-radius: 6px;
|
||||
moz-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/* Top level header elements */
|
||||
.tocify-header {
|
||||
text-indent: 10px;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/* Twitter Bootstrap Override Style */
|
||||
.nav-list > li > a, .nav-list .nav-header {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* Twitter Bootstrap Override Style */
|
||||
.nav-list > li > a {
|
||||
padding: 5px;
|
||||
}
|
||||
Reference in New Issue
Block a user