-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtop.css
51 lines (47 loc) · 845 Bytes
/
top.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
.top{
height: 65px;
width:100%;
margin-left: 0;
background: #adadad;
position: fixed;
top: 0;
margin-bottom: 5px;
}
.top ul{
width: auto;
list-style-type: none;
white-space:nowrap;
overflow: hidden;
margin-left: 5%;
padding: 0;
}
.top li {
float:left;
margin-right:2%;
position: relative;
overflow: hidden;
}
.top li a{
display: block;
color: black;
text-align: center;
padding: 3px;
overflow: hidden;
text-decoration: none;
}
.top li a:hover{
background-color: #9b9b9b;
}
.top ul li ul{
margin-left: -0.2px;
background:rgb(189, 181, 181);
position: relative;
display: none;
}
.top ul li ul li{
float:none;
text-align: center;
}
.top ul li:hover ul{
display: block;
}