-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle1.css
80 lines (79 loc) · 1.23 KB
/
style1.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
body {
margin: 0;
padding: 0;
font-family:"Bahnschrift Light", "Bernard MT Condensed", "Berlin Sans FB Demi", "Bell MT";
font-style:bold;
color:#3333FF;
}
p{
color:#000066;
font-size:28px;
font-style:inherit;
font-family:Geneva, Arial, Helvetica, sans-serif;
padding-top:150px;
padding-left:90px;
padding-right:90px;
text-align:center;
}
section{
width: 100%;
height: 100vh;
background: url(pic/healthcare-banner.jpg);
background-size: cover;
}
.menu{
position: absolute;
width: 100%;
background: rgba(255,255,255,.5);
padding: 0 100px;
box-sizing: border-box;
border-bottom: 1px solid rgba(0,0,0,.2);
}
.menu img
{ float: left;
width: 77px;
}
nav
{
position: relative;
float: right;
}
nav ul
{
margin: 0;
padding: 0;
display: flex;
}
nav ul li{
list-style: none;
}
nav ul li a{
display:block;
text-transform: uppercase;
font-weight: bold;
padding: 11px 20px;
text-decoration: none;
}
nav ul li a:hover{
background:#184771;
color:#fff;
}
nav ul li ul {
display: block;
background: rgba(255,255,255,.5);
min-width:250px;
position:absolute;
margin-top:1px;
box-shadow:0 2px 5px rgba(0,0,0,.5);
opacity: 0;
visibility: hidden;
transition:.5s;
transform: translateY(40px);
}
nav ul li:hover ul{
opacity:1;
visibility:visible;
}
nav ul li ul li a{
padding:10px;
}