-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
69 lines (63 loc) · 1.35 KB
/
style.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
65
66
67
/* ------------------ Menu Bar ------------------ */
.menu-overlay {
position: fixed;
top: 0;
right: 0;
width: 100%;
height: 100%;
transition: var(--mainTransition);
background: rgb(240, 157, 81, 0.5);
z-index: 2;
visibility: hidden;
}
.menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 3;
background: rgb(231, 226, 221);
padding: 1.5rem;
transition: var(--mainTransition);
transform: translateX(-100%);
}
/* Show Manu */
.showMenu { transform: translateX(0);}
.transparentMenu { visibility: visible; }
/* Size of Menu */
@media screen and (min-width: 768px) {
.menu {
width: 10vw;
min-width: 250px;
}
}
/* Hide Menu */
.close-menu {
display: flex;
align-items: center;
}
.menu-overlay .fa-window-close {
font-size: 1.5rem;
cursor: pointer;
padding-right: 1.5rem;
}
/* Menu Bar & Content */
.fa-bars {
cursor: pointer;
}
.menu-content, menu span {
display: grid;
justify-content: center;
}
.menu-overlay ul { list-style-type: none; }
.menu-overlay li { margin: 1rem 0; }
.menu-overlay a {
text-decoration: none;
color: var(--mainBlack);
font-size: 1.5rem;
transition: var(--mainTransition);
}
.menu-overlay a:hover { color: var(--primaryColor);}
/* End Of Side Menu Section */
.flex { display: flex; }