-
Notifications
You must be signed in to change notification settings - Fork 0
/
autocstyle.css
63 lines (53 loc) · 1.04 KB
/
autocstyle.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
:root{
--tableOfContentsHpadd:10px;
--borderColor:hsl(0, 0%, 25%);
--borderRadius:8px;
}
/*--------tableOfContents--------*/
.tableOfContents{
max-width: calc(1800px + 10vw);
padding: 20px 1em;
margin: 0 auto;
}
.tableOfContents-list{
display: flex;
padding: 20px;
overflow: hidden;
border: 1px solid var(--borderColor);
border-radius: var(--borderRadius);
}
.tableOfContents-btn{
width: 100%;
padding: 10px 10px;
cursor:pointer;
}
.tableOfContents-anchor{
color: hsl(200 80% 60%) !important;
cursor: pointer;
}
.tableOfContents-anchor:hover{
color: hsl(200 80% 40%) !important;
}
.tableOfContents-anchor{
display: inline-block;
width: 30px;
height: 30px;
margin: 0 10px;
}
.tocH1{}
.tocH2{
padding-left: calc(var(--tableOfContentsHpadd) * 2);
}
.tocH3{
padding-left: calc(var(--tableOfContentsHpadd) * 3);
}
.tocH4{
padding-left: calc(var(--tableOfContentsHpadd) * 4);
}
.tocH5{
padding-left: calc(var(--tableOfContentsHpadd) * 5);
}
.tocH6{
padding-left: calc(var(--tableOfContentsHpadd) * 6);
}
/*--------tableOfContents--------*/