forked from hollowtree/hollowtree.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
76 lines (71 loc) · 1.38 KB
/
style.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
html, body, dl, dt, dd {
margin: 0;padding:0;
}
body {
background: #f3f5f6;
}
@media only screen and (max-width: 768px){
.menu{
margin:0;
width:100%;
}
}
@media only screen and (min-width: 769px){
.menu {
margin: 50px auto;
width: 300px;
}
}
.menu {
padding: 10px 10px;
box-shadow: 0 0 3px 2px #e9ebec;
}
.myMenu {
margin-bottom: 3px;
}
/*一级菜单*/
.fMenu {
display: block;
margin: 0 auto;
width: 100%;
height: 40px;
line-height: 40px;
text-align: center;
/*border:1px solid #67a1ff;*/
border-radius: 3px;
background: #128fdc; /*4d90fe;*/
color: white;
font-size: 19px;
}
/*二级菜单*/
.sMenu {
/*display: none;*//*取消二级菜单的隐藏弹出效果*/
width: 100%;
margin: 0 auto;
text-align: center;
}
.sMenu dd a {
display: block;
text-decoration: none;
height: 30px;
line-height: 30px;
background: #fafafa; /*#4488f8*/
color: #7f96a3;
border-radius: 3px;
}
.myMenu:hover .sMenu {
display: block;
}
/*鼠标移动到一级菜单上时显示二级菜单*/
.fMenu:hover {
color: white;
background: #0063dc;
/*border:1px solid #0063dc;*/
}
.sMenu dd a:hover {
height: 28px;
line-height: 28px;
background: #fafafa; /*#4488f8*/
color: #7f96a3;
border: 1px solid #0063dc;
}