-
Notifications
You must be signed in to change notification settings - Fork 141
Expand file tree
/
Copy pathmain.css
More file actions
128 lines (105 loc) · 2.05 KB
/
main.css
File metadata and controls
128 lines (105 loc) · 2.05 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
.indented {
padding-left: 20px;
}
.theme-card img {
width: 100%;
}
/* Scrollbar */
.slim-scroll::-webkit-scrollbar {
width: 5px;
}
.slim-scroll::-webkit-scrollbar-thumb {
background: #808080;
border-radius: 20px;
}
.slim-scroll::-webkit-scrollbar-track {
background: transparent;
border-radius: 20px;
}
.slim-scroll-blue::-webkit-scrollbar {
width: 5px;
}
.slim-scroll-blue::-webkit-scrollbar-thumb {
background: #00b0ef;
border-radius: 20px;
}
.slim-scroll-blue::-webkit-scrollbar-track {
background: transparent;
border-radius: 20px;
}
/* Layout containers */
#flex-body {
display: flex;
flex: 1;
align-items: start;
}
#content-wrapper {
flex: 1;
margin: 0 auto;
min-width: 0;
max-width: 1000px;
overflow-x: auto;
padding: 0.8rem 20px 0;
transition: 0.4s;
}
#site-nav,
#page-nav {
display: flex;
flex-direction: column;
position: sticky;
top: var(--sticky-header-height);
flex: 0 0 auto;
max-width: 300px;
max-height: calc(100vh - var(--sticky-header-height));
width: 300px;
}
#site-nav {
border-right: 1px solid var(--bs-border-color);
padding-bottom: 20px;
z-index: 999;
}
.site-nav-top {
margin: 0.8rem 0;
padding: 0 12px 12px;
}
.nav-component {
overflow-y: scroll;
}
#page-nav {
border-left: 1px solid var(--bs-border-color);
}
@media screen and (width <= 1299.98px) {
#page-nav {
display: none;
}
}
/* Bootstrap medium(md) responsive breakpoint */
@media screen and (width <= 991.98px) {
#site-nav {
display: none;
}
}
/* Bootstrap small(sm) responsive breakpoint */
@media (width <= 767.98px) {
.indented {
padding-left: 10px;
}
#content-wrapper {
padding: 0 10px;
}
}
/* Bootstrap extra small(xs) responsive breakpoint */
@media screen and (width <= 575.98px) {
#site-nav {
display: none;
}
}
/* Hide site navigation when printing */
@media print {
#site-nav {
display: none;
}
#page-nav {
display: none;
}
}