-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.css
63 lines (53 loc) · 1 KB
/
.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif;
background-color: #f4f4f4;
color: #333;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto
}
header {
background-color: #e2713c;
padding: 20px 0;
}
header .logo h1 {
color: #fff;
text-align: center;
}
nav ul {
display: flex;
justify-content: center;
list-style: none;
margin: 10px 0;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: rgb(4, 0, 255);
text-decoration: none;
font-weight: bold;
padding: 10px;
transition: background 0.3s ease;
}
nav ul li a:hover {
background-color: rgba(4, 0, 255);
border-radius: 5px;
}
#hero {
background: url('background-image.jpg') no-repeat center center/cover;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
color: white;
text-align: center;
}
#hero h