-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.css
82 lines (70 loc) · 1.45 KB
/
navbar.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
.navbar {
font-family: 'Alata', sans-serif;
font-style: normal;
overflow: hidden;
background-color: #EEE;
font-size: 20px;
}
.navbar a {
float: left;
font-size: inherit;
color: #222;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.navbar .dropdown {
float: left;
overflow: hidden;
}
.navbar .dropdown .dropbutton {
font-size: inherit;
border: none;
outline: none;
color: #222;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 0;
}
.navbar a:hover, .dropdown:hover .dropbutton {
background-color: #DDD;
}
.navbar .dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 260px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.navbar .dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.navbar .dropdown-content a:hover {
background-color: #ddd;
}
.navbar .dropdown:hover .dropdown-content {
display: block;
}
.navbar .right {
float: right;
border-right: none;
border-left: 1px solid #CCC;
}
.navbar .arrow {
border: solid black;
border-width: 0 3px 3px 0;
display: inline-block;
padding: 3px;
margin: 2px;
}
.navbar .down {
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}