Repository navigation
Expand file tree
/
Copy pathmenu.css
More file actions
81 lines (77 loc) · 1.59 KB
/
Copy pathmenu.css
File metadata and controls
81 lines (77 loc) · 1.59 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
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
font-family:'Roboto Slab', serif;
background-color: rgb(35, 36, 36);
}
nav{
background-color: rgba(0, 170, 255, 0.876);
color: white;
display: flex;
justify-content: space-between;
width: 100%;
}
nav .mainMenu{
display: flex;
list-style: none;
}
nav .mainMenu li a{
display: inline-block;
padding: 15px;
text-decoration: none;
text-transform: uppercase;
color: white;
font-size: 1.5rem;
}
nav .mainMenu li a:hover{
background: rgba(81, 79, 79, 0.281);
}
nav .openMenu{
font-size: 2rem;
margin: 20px;
display: none;
cursor:pointer;
}
nav .mainMenu .closeMenu {
font-size: 2rem;
display: none;
cursor: pointer;
}
@media(max-width:600px){
nav .mainMenu{
height: 100vh;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 10;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(0, 170, 255, 0.876);
transition: top 1s ease;
display:none;
}
nav .mainMenu .closeMenu{
display: block;
position: absolute;
top:20px;
right: 20px;
}
nav .openMenu{
display: block;
}
nav .mainMenu li a:hover{
background: none;
color: rgba(113, 109, 110, 0.462);
font-size: 1.6rem;
}
}
.outercontainer{
display: flex;
flex-direction: column;
height: 100vh;
}