-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsnek.css
46 lines (40 loc) · 934 Bytes
/
snek.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
/* CSS for wide screens */
@media (min-width: 1200px) {
#table-of-contents {
position: fixed;
right: 0;
top: 0;
width: 200px;
/* Adjust as needed */
height: 100%;
overflow: auto;
display: block;
/* Make sure the table of contents is visible */
}
#table-of-contents ul ul {
padding-left: 10px;
/* Adjust as needed */
}
#components2 {
list-style-type: none;
/* Removes bullet points or numbers from lists */
}
#components2::before {
content: "";
/* Removes content added before the element */
}
#content {
margin-right: 220px;
/* Adjust as needed */
}
}
/* CSS for narrow screens */
@media (max-width: 1199px) {
#table-of-contents {
display: none;
/* Hide the table of contents */
}
#content {
margin-right: 0;
}
}