-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavigation_bar.css
85 lines (75 loc) · 1.38 KB
/
navigation_bar.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
.topnav {
height: 20px;
width: 100%;
z-index: 1;
top: -80px;
position: fixed;
background-color: #111;
overflow: hidden;
transition: 0.5s;
padding-bottom: 60px;
}
.topnav a {
float: left;
padding: 25px 30px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: inline-block;
border: none;
background: none;
transition: 0.3s;
text-align: center;
}
.dropdown {
float:left;
overflow: hidden;
}
.dropdown-btn {
padding: 0px 30px;
text-decoration: none;
font-size: 25px;
color: #818181;
border: none;
display: inline-block;
background: none;
transition: 0.3s;
text-align: center;
}
.topnav a:hover, .dropdown-btn:hover {
color: #f1f1f1;
}
.dropdown-content {
margin: -4px 0px;
display: none;
position: fixed;
background-color: #262626;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
float: none;
color: black;
padding: 12px 40px;
text-decoration: none;
display: block;
min-width: 160px;
}
.dropdown-content a:hover {
background-color: #ff5c33;
}
.dropdown:hover .dropdown-content {
display: block;
}
.topnav .closebtn {
position: absolute;
font-size: 36px;
margin-left: 50px;
right: 10px;
top: -20px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.active {
background-color: red;
}