forked from prtksxna/persistent-toc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathptoc.css
More file actions
50 lines (42 loc) · 646 Bytes
/
ptoc.css
File metadata and controls
50 lines (42 loc) · 646 Bytes
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
.floatTOC {
transition: 0.2s all ease;
display: block;
position: fixed;
top: 20px;
left: 0;
border: none;
background: #f6f6f6;
font-size: 0.8em;
max-width: 10em;
padding: 1.2em;
height: 100%;
white-space: nowrap;
overflow: hidden;
}
.floatTOC ul ul {
margin: 0 0 0 0.75em;
}
.floatTOC:hover {
max-width: 1000em;
overflow: auto;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}
.floatTOC > * {
transition: 0.2s all ease;
opacity: 0.5;
}
.floatTOC:hover > * {
opacity: 1;
}
.floatTOC .tocnumber {
display: none;
}
.floatTOC a {
color: #000;
}
.floatTOC .toctoggle {
display: none;
}
.floatTOC #toctitle {
display: none;
}