-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathside-panels.css
99 lines (84 loc) · 2.26 KB
/
side-panels.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
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
.overlay-left {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.9);
overflow-x: hidden;
transition: 0.5s;
}
.overlay-left-content {
position: relative;
top: 10%;
width: 100%;
text-align: center;
margin-top: 30px;
}
.overlay-left a {
padding: 8px;
text-decoration: none;
font-size: 36px;
color: #fff; /* #818181; */
display: block;
transition: 0.3s;
}
.overlay-left a:hover,
.overlay a:focus {
color: #f1f1f1;
}
.overlay-left .closebtn {
position: absolute;
top: 20px;
right: 45px;
font-size: 60px;
}
.overlay-right {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
right: 0;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.9);
overflow-x: hidden;
transition: 0.5s;
}
.overlay-right-content {
position: relative;
top: 10%;
width: 100%;
text-align: center;
margin-top: 30px;
}
.overlay-right a {
padding: 8px;
text-decoration: none;
font-size: 36px;
color: #fff; /* #818181; */
display: block;
transition: 0.3s;
}
.overlay-right a:hover,
.overlay a:focus {
color: #f1f1f1;
}
.overlay-right .closebtn {
position: absolute;
top: 5px;
right: 45px;
font-size: 60px;
}
@media screen and (max-height: 450px) {
.overlay-left a, .overlay-right a {
font-size: 20px
}
.overlay-left .closebtn, .overlay-right .closebtn {
font-size: 40px;
top: 5px;
right: 35px;
}
}