forked from chimeric/dokuwiki-template-dokubook
-
Notifications
You must be signed in to change notification settings - Fork 6
/
_toc.css
93 lines (82 loc) · 1.73 KB
/
_toc.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/**
* This file provides styles for the TOC (table of contents), the
* sitemap (?do=index) and backlinks (?do=backlink).
*/
/* toc
********************************************************************/
/* toc container */
#dw__toc {
float: right;
margin: 0 0 1.4em 1.4em;
width: 12em;
background-color: @ini_background_alt;
color: inherit;
}
[dir=rtl] #dw__toc {
float: left;
margin: 0 1.4em 1.4em 0;
}
/*____________ toc header ____________*/
.dokuwiki h3.toggle {
padding: .2em .5em;
font-weight: bold;
}
.dokuwiki .toggle strong {
float: right;
margin: 0 .2em;
}
[dir=rtl] .dokuwiki .toggle strong {
float: left;
}
/*____________ toc list ____________*/
#dw__toc > div {
padding: .2em .5em;
}
#dw__toc ul {
padding: 0;
margin: 0;
}
#dw__toc ul li {
list-style: none;
padding: 0;
margin: 0;
line-height: 1.1;
}
#dw__toc ul li div.li {
padding: .15em 0;
}
#dw__toc ul ul {
padding-left: 1em;
}
[dir=rtl] #dw__toc ul ul {
padding-left: 0;
padding-right: 1em;
}
#dw__toc ul ul li {
}
#dw__toc ul li a {
}
/* in case of toc list jumping one level
(e.g. if heading level 3 follows directly after heading level 1) */
#dw__toc ul li.clear {
}
/* sitemap (and backlinks)
********************************************************************/
.dokuwiki ul.idx {
padding-left: 0;
}
[dir=rtl] .dokuwiki ul.idx {
padding-right: 0;
}
.dokuwiki ul.idx li {
list-style-image: url(../../images/bullet.png);
}
.dokuwiki ul.idx li.open {
list-style-image: url(../../images/open.png);
}
.dokuwiki ul.idx li.closed {
list-style-image: url(../../images/closed.png);
}
[dir=rtl] .dokuwiki ul.idx li.closed {
list-style-image: url(../../images/closed-rtl.png);
}