forked from drkostas/drkostas.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSidebar.module.css
64 lines (56 loc) · 918 Bytes
/
Sidebar.module.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
63
64
.sidebar {
background: var(--sidebar-bg);
display: flex;
flex-direction: column;
justify-content: space-between;
width: 4.5vw;
min-width: 40px;
height: calc(100vh - 30px - 25px);
}
.iconContainer {
cursor: pointer;
width: 100%;
}
.iconContainer:hover {
background: var(--sidebar-hover-bg);
}
.active {
border-left: 2px solid var(--accent-color);
}
.icon {
height: 48px;
width: 48px;
padding: 0.65rem 0;
display: block;
margin: 0 auto;
}
@media screen and (min-width: 2000px) {
.sidebar {
width: 2.5vw;
}
}
@media screen and (max-width: 1100px) {
.sidebar {
width: 6vw;
}
}
@media screen and (max-width: 900px) {
.sidebar {
width: 8vw;
}
.icon {
height: 48px;
width: 48px;
padding: 0.6rem;
}
}
@media screen and (max-width: 600px) {
.sidebar {
width: 10vw;
}
.icon {
height: 43px;
width: 43px;
padding: 0.6rem;
}
}