-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
103 lines (91 loc) · 1.94 KB
/
Copy pathstyles.css
File metadata and controls
103 lines (91 loc) · 1.94 KB
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
94
95
96
97
98
99
100
101
102
103
#toc-modal {
display: none;
position: fixed;
z-index: 9999;
left: 40px;
top: 50%;
transform: translateY(-50%);
background-color: #fefefe;
padding: 20px;
width: 300px;
max-height: 80vh;
overflow-y: auto;
border-radius: 12px;
box-shadow:
0 1px 1px hsl(0deg 0% 0% / 0.075),
0 2px 2px hsl(0deg 0% 0% / 0.075),
0 4px 4px hsl(0deg 0% 0% / 0.075),
0 8px 8px hsl(0deg 0% 0% / 0.075),
0 16px 16px hsl(0deg 0% 0% / 0.075);
}
#toc-container {
position: relative;
}
#toc-container h2 {
margin: 0 0 8px 0;
display: inline-block;
font-size: 24px;
}
#toc-list {
list-style-type: auto;
padding: 0;
padding-left: 1.2em;
margin-top: 15px;
}
#toc-list li {
margin-bottom: 16px;
}
#toc-list a {
color: #212A37;
text-decoration: none;
}
#toc-list a:hover {
color: #1a73e8;
text-decoration: underline;
}
#close-toc-button, #toggle-toc-button {
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
padding: 8px 12px;
transition: background-color 0.2s ease, opacity 0.2s ease;
color: #333;
}
#close-toc-button {
position: absolute;
top: -5px;
right: -5px;
font-size: 24px;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
background-color: #f0f0f0;
}
#close-toc-button:hover {
background-color: #e0e0e0;
}
#toggle-toc-button {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 9998;
background-color: white;
box-shadow:
0 1px 1px hsl(0deg 0% 0% / 0.075),
0 2px 2px hsl(0deg 0% 0% / 0.075),
0 4px 4px hsl(0deg 0% 0% / 0.075),
0 8px 8px hsl(0deg 0% 0% / 0.075),
0 16px 16px hsl(0deg 0% 0% / 0.075);
opacity: 0.4;
}
#toggle-toc-button:hover {
opacity: 1;
background-color: #f8f8f8;
}
#toggle-toc-button.modal-open {
opacity: 1;
}