-
Notifications
You must be signed in to change notification settings - Fork 0
/
Contact.html
86 lines (61 loc) · 1.57 KB
/
Contact.html
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
83
84
85
86
<!DOCTYPE html>
<html>
<body>
<!DOCTYPE html>
<html>
<body>
<div class="topnav">
<a href="./Home.html">Home</a>
<a href="./Climate.html">Climate</a>
<a class="active" href="./Contact.html">Contact</a>
<a href="./About.html">About</a>
</div>
<h1>Contact</h1>
</body>
<style>
*{
background-color: black;
margin: 0;
padding: 0;
font-family: 'poppins', sans-serif;
box-sizing: border-box;
}
.hero{
width: 100%;
height: 100%;
background-image: linear-gradient(rgba(0,0,0,0.7), #3551b5) url("C:\Users\44776\Downloads\Mars m\mars5.jpg");
background-position: center;
background-size: cover;
}
h1 {
color: red;
text-align: center;
font-size: 500%;
}
/* Add a black background color to the top navigation */
.topnav {
background-color: rgb(100, 6, 6);
overflow: hidden;
opacity: 0.3;
}
/* Style the links inside the navigation bar */
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
.topnav a:hover {
background-color: red;
color: black;
}
/* Add a color to the active/current link */
.topnav a.active {
background-color: rgb(11, 0, 0);
color: rgb(170, 95, 95);
}
</style>
</html>