-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
100 lines (87 loc) · 1.71 KB
/
style.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
/* Contact Form Container */
#cform {
max-width: 600px;
margin: 0 auto;
padding: 20px;
border: 1px solid #18bd9d; /* Change the Form Border */
border-radius: 8px;
background-color: #f9f9f9;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Success Message */
#cform p.success {
color: #28a745;
font-size: 16px;
margin-bottom: 20px;
}
/* Form Elements */
#cform form {
display: flex;
flex-direction: column;
}
/* Form Field */
#cform input[type="text"],
#cform textarea,
#cform input[type="file"] {
width: 100%;
padding: 12px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
box-sizing: border-box;
}
#cform textarea {
resize: vertical;
}
/* Labels */
#cform label {
font-size: 16px;
color: #333;
margin-bottom: 5px;
display: block;
}
/* Submit Button */
#cform input[type="submit"] {
background-color: #0073aa;
color: #fff;
padding: 12px 20px;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
margin-top: 10px;
}
#cform input[type="submit"]:hover {
background-color: #005177;
}
/* File Input */
#cform input[type="file"] {
padding: 0;
}
/* Error Messages */
#cform .error {
color: #dc3545;
font-size: 14px;
margin-top: -10px;
margin-bottom: 10px;
}
/* Additional Styles */
.contact-form {
margin-top: 20px;
}
/* Responsive Design */
@media (max-width: 768px) {
#cform {
padding: 15px;
}
#cform input[type="text"],
#cform textarea {
font-size: 14px;
}
#cform input[type="submit"] {
font-size: 14px;
padding: 10px 18px;
}
}