-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnav.css
112 lines (96 loc) · 1.68 KB
/
nav.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
100
101
102
103
104
105
106
107
108
109
110
111
112
header.main {
padding: 30px;
display: flex;
justify-content: space-around;
align-items: center;
background-color: #6204bf;
z-index: 9;
position: fixed;
width: 100%;
height: 100px;
font-family: 'Montserrat', sans-serif;
font-weight: 700;
font-size: 1.1rem;
box-shadow: 0px 0px 3px 1px #6204bf;
}
header.main .container {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
header.main a.logo {
display: flex;
align-items: center;
}
header.main a.logo img {
height: 68px;
}
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 10;
top: 0;
left: 0;
background-color: #111111;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav-open {
width: 250px;
}
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
text-transform: uppercase;
color: #818181;
display: block;
transition: 0.3s;
}
.sidenav a:hover, .sidenav a.active {
color: #ffffff;
}
.nav-toggle {
font-size: 30px;
cursor: pointer;
}
.sidenav .closebtn {
position: absolute;
top: 25px;
right: 25px;
font-size: 3rem;
margin-left: 50px;
}
@media screen and (min-width: 768px) {
.sidenav {
width: auto;
position: static;
height: 46px;
overflow: hidden;
background-color: transparent;
transition: 0.5s;
padding-top: 0;
}
.sidenav a {
display: inline-block;
color: #ccc;
transition: 0.3s color;
}
.sidenav a:hover, .sidenav a.active {
color: #fff;
}
.sidenav .closebtn {
display: none;
}
.nav-toggle {
display: none;
}
}
@media screen and (min-width: 1350px) {
header.main .container {
width: 80%;
margin: 0 auto;
}
}