Repository navigation
Expand file tree
/
Copy pathform.css
More file actions
119 lines (108 loc) · 1.93 KB
/
Copy pathform.css
File metadata and controls
119 lines (108 loc) · 1.93 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* ===== FORM GENERAL STYLING ===== */
main {
flex: 1;
padding: 80px 20px 30px 20px;
margin-left: 280px;
transition: margin 0.45s ease; display: flex;
flex-direction: column;
align-items: center;
color: #fff;
}
/* Title */
main h2 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 25px;
text-align: center;
background: linear-gradient(130deg, #ffae00, #fff700);
background-clip: text;
color: transparent;
}
/* Form Container */
form {
width: 100%;
max-width: 600px;
margin-top: 22px;
background: #111;
padding: 25px 30px;
border-radius: 12px;
border: 1px solid #2f2f2f;
}
/* Labels */
form label {
display: block;
font-size: 1rem;
margin-bottom: 6px;
font-weight: 500;
}
/* Inputs */
form input, form textarea {
width: 100%;
padding: 10px 12px;
margin-bottom: 17px;
border-radius: 8px;
border: 1px solid #555;
background: #222;
color: #fff;
font-size: 0.95rem;
transition: border 0.3s, box-shadow 0.3s;
}
form input:focus {
border-color: #ffe600;
outline: none;
}
/* Fieldset */
fieldset {
border: 1px solid rgba(255, 230, 0, 0.4);
border-radius: 10px;
padding: 15px;
margin-bottom: 18px;
}
legend {
padding: 0 10px;
color: #ffe600;
font-weight: 500;
font-size: 1.2rem;
}
/* Textarea settings */
#propertyForm textarea {
resize: vertical;
min-height: 90px;
}
/* Submit Button */
button {
width: 100%;
margin: 10px auto;
padding: 12px;
font-size: 1rem;
border: none;
border-radius: 8px;
font-weight: 600;
background: linear-gradient(90deg, #ffe600, #ffad00);
cursor: pointer;
color: #000;
transition: transform 0.25s, box-shadow 0.25s;
}
button:hover {
transform: translateY(-2px);
}
/* Mobile */
@media (max-width: 800px) {
main {
margin-left: 0;
padding-top: 70px;
}
form {
max-width: 92%;
padding: 20px;
}
}
form a {
color: #87ceeb;
}
form a:hover {
color: #87cfebb3;
}
form a:focus {
color: #87cfeb43;
}