-
Notifications
You must be signed in to change notification settings - Fork 350
/
contact.css
83 lines (70 loc) · 1.41 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
/* Dark mode styles */
body.dark-mode {
background-color: #121212;
color: #ffffff;
}
.dark-mode .card {
background-color: #1e1e1e;
border: 1px solid #333;
}
.dark-mode .card-header {
background-color: #333;
color: #fff;
}
.dark-mode input,
.dark-mode textarea {
background-color: #333;
color: #fff;
border: 1px solid #444;
}
.dark-mode button[type="submit"] {
background-color: #444;
}
.dark-mode button[type="submit"]:hover {
background-color: #666;
}
.dark-mode .navhover {
color: #fff;
}
.card-body {
display: flex;
align-items: stretch; /* Makes form-section and adjacent content equal in height */
}
.form-section {
display: flex;
flex: 1;
flex-direction: column;
padding: 10px;
}
.form-group {
display: flex;
flex-direction: column;
flex: 1;
}
.form-group label {
margin-bottom: 5px;
}
textarea {
flex: 1; /* Allows the textarea to expand and fill available space */
padding: 10px;
font-size: 16px;
resize: none;
box-sizing: border-box;
min-height: 100px; /* Optional: minimum height */
}
.tooltip {
margin-top: 5px;
font-size: 12px;
color: #777;
}
.error-message {
margin-top: 5px;
color: red;
font-size: 12px;
}
.send-button {
margin-top: 10px;
align-self: flex-end; /* Ensures the button stays at the bottom of the form-group */
padding: 8px 16px;
font-size: 14px;
}