blob: 60e9321382b4f2091e061a1a8d34f3eb2318f913 (
plain)
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
|
/* Script */
.sidebar {
position: absolute;
top: 0;
right: 0;
width: 15rem;
z-index: 8;
}
.sidebar textarea {
height: calc(100vh - 3.15rem);
}
.sidebar .buttons {
position: absolute;
top: 0;
right: 0;
width: 15rem;
z-index: 9;
display: flex;
justify-content: flex-end;
align-items: flex-start;
background: #111;
}
.sidebar .buttons button {
border: 0;
background: transparent;
}
.sidebar .buttons button:hover {
background: #333;
}
/* table of contents */
.toc {
background: #222;
width: 15rem;
padding: 0.5rem 0;
}
.toc div {
width: 15rem;
padding: 0.25rem 0.75rem;
cursor: pointer;
}
.toc div:hover {
background: #213;
}
|