-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.css
More file actions
94 lines (81 loc) · 1.78 KB
/
contact.css
File metadata and controls
94 lines (81 loc) · 1.78 KB
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
body {
font-family: Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
color: #333;
}
.contact-section {
background-color: #f5f5f5;
padding: 40px;
text-align: center;
}
.contact-section h2 {
font-size: 24px;
margin-bottom: 20px;
}
.contact-section p {
font-size: 16px;
color: #555;
margin-bottom: 30px;
}
.contact-form {
max-width: 600px;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border: 1px solid #ddd;
border-radius: 5px;
text-align: left;
}
.contact-form label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #555;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
padding: 12px;
font-size: 14px;
width: 100%;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 5px;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
border-color: #3f51b5;
}
.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
color: #999;
}
.contact-form textarea {
height: 150px;
}
.contact-form button {
background-color: #3f51b5;
color: #fff;
border: none;
border-radius: 5px;
padding: 12px 20px;
cursor: pointer;
font-weight: 600;
transition: background-color 0.3s;
text-transform: uppercase;
}
.contact-form button:hover {
background-color: #2e3a8a;
}
.contact-form a {
color: #3f51b5;
text-decoration: none;
border-bottom: 1px solid #3f51b5;
transition: border-color 0.3s;
}
.contact-form a:hover {
border-color: #2e3a8a;
}