-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.css
108 lines (92 loc) · 1.5 KB
/
contact.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
*{
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh; /* Set minimum height of the viewport */
position: relative;
}
h1, h2, h3{
text-align: center;
}
p{
text-align: left;
}
img {
display: block;
max-width: 100%;
width: 100%;
height: 400px;
padding: 30px;
}
header {
background-color: #333;
color: #fff;
width: 100%;
}
nav ul {
display: flex;
flex-direction: row;
align-items: center;
list-style-type: none;
}
nav ul li {
display: block;
margin: 0 auto;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
form {
display: block;
margin: 0 auto;
width: 50%;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 5px;
padding: 0;
}
input[type="text"],
input[type="email"],
textarea {
width: 100%;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
footer{
background-color: #333;
color: #fff;
padding: 20px;
display: block;
width: 100%;
flex-shrink: 0; /* Prevent footer from shrinking */
position: absolute;
bottom: 0;
height: 5rem;
}
footer p {
text-align: center;
}