Repository navigation
Expand file tree
/
Copy pathmenu.css
More file actions
114 lines (86 loc) · 1.86 KB
/
Copy pathmenu.css
File metadata and controls
114 lines (86 loc) · 1.86 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
#menu-bar{
display: none;
}
header label{
float: right;
font-size: 28px;
margin: 6px 0;
cursor: pointer;
margin-right: 10px;
}
.menu{
position: absolute;
top: 70px;
left: 0;
width: 100%;
background: rgba(00, 00,00, 0.9);
transition: all 0.5s;
transform: translate(+100%);
}
.menu a{
display: block;
color: grey;
height: 60px;
align-items: center;
text-align: center;
text-decoration: none;
padding: 15px;
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.menu a:hover{
background: rgba(255, 255, 255, 0.3);
}
#menu-bar:checked ~ .menu{
transform: translate(0%);
}
@media (min-width:800px){
.menu{
position: static;
width: auto;
height: auto;
transform: translateX(0);
float: right;
display: flex;
background-color: transparent;
color: black;
margin-right: 20px;
margin-top: 8px;
}
#banner h2{
font-size: 30px;
}
header label{
display: none;
}
}
@media (min-width:1024px){
.menu{
position: static;
width: auto;
height: auto;
transform: translateX(0);
float: right;
display: flex;
background-color: transparent;
color: black;
margin-right: 20px;
margin-top: 8px;
}
#banner h2{
font-size: 40px;
}
header label{
display: none;
}
}
@media (max-width:380px){
.menu{
position: absolute;
top: 58px;
left: 0;
width: 100%;
background: rgba(00, 00,00, 0.9);
transition: all 0.5s;
transform: translate(+100%);
}
}