forked from ceryliae/5edmscreen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery.tocify.css
71 lines (59 loc) · 1.62 KB
/
jquery.tocify.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
* jquery.tocify.css 1.9.0
* Author: @gregfranko
*/
/* The Table of Contents container element */
.tocify {
width: 20%;
max-height: 90%;
overflow-x: hidden;
overflow-y: auto;
margin-left: 30px;
margin-top: 100px;
position: fixed;
}
/* 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;
}
.tocify-subheader .tocify-subheader .tocify-subheader .tocify-subheader{
text-indent: 50px;
}
.tocify-subheader .tocify-subheader .tocify-subheader .tocify-subheader .tocify-subheader{
text-indent: 60px;
}
/* Twitter Bootstrap Override Style */
.nav-list > li > a, .nav-list .nav-header {
margin: 0px;
}
/* Twitter Bootstrap Override Style */
.nav-list > li > a {
padding: 5px;
color: #581a0f;
font-weight: 600;
}