-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEstilos.css
More file actions
68 lines (61 loc) · 1015 Bytes
/
Copy pathEstilos.css
File metadata and controls
68 lines (61 loc) · 1015 Bytes
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
body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
nav {
background-color: #333;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
height: 60px;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
nav ul li a {
color: #fff;
text-decoration: none;
padding: 0 20px;
line-height: 60px;
display: block;
text-align: center;
}
nav ul li a:hover {
background-color: #555;
}
nav .menu-icon {
display: none;
cursor: pointer;
font-size: 30px;
color: #fff;
filter: invert(1);
}
@media screen and (max-width: 768px) {
nav ul {
display: none;
flex-direction: column;
position: absolute;
top: 60px;
left: 0;
width: 100%;
background-color: #555;
}
nav ul li {
width: 100%;
text-align: center;
}
nav .menu-icon {
display: block;
margin-left: auto;
}
.menu.open ul {
display: flex;
flex-direction: column;
}
}