-
-
Notifications
You must be signed in to change notification settings - Fork 546
Expand file tree
/
Copy pathstyles.css
More file actions
139 lines (120 loc) · 2.18 KB
/
Copy pathstyles.css
File metadata and controls
139 lines (120 loc) · 2.18 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
* {
box-sizing: border-box;
}
:root {
--bg: #f5f7fb;
--surface: #ffffff;
--border: #d9deea;
--text: #1a2433;
--muted: #475569;
--accent: #2d6cdf;
--accent-soft: #eaf1ff;
--shadow: rgba(15, 23, 42, 0.08);
}
body {
margin: 0;
min-height: 100vh;
font-family: Arial, Helvetica, sans-serif;
background: linear-gradient(180deg, var(--bg), #edf3ff);
color: var(--text);
}
header {
padding: 2rem 1rem 0;
}
h1 {
text-align: center;
margin: 0;
font-size: clamp(2rem, 3vw, 3rem);
}
main {
display: flex;
justify-content: center;
padding: 2rem 1rem 3rem;
}
form {
width: min(100%, 620px);
background: var(--surface);
border: 1px solid var(--border);
border-radius: 16px;
box-shadow: 0 12px 30px var(--shadow);
padding: 2rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
label {
font-weight: 700;
color: var(--text);
}
input,
select,
button {
font: inherit;
}
input[type='text'],
input[type='email'],
select {
width: 100%;
padding: 0.8rem 0.9rem;
border: 1px solid var(--border);
border-radius: 10px;
background: #fff;
color: var(--text);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type='text']:focus,
input[type='email']:focus,
select:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-soft);
}
.radio-group {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 0.75rem;
}
.option {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 0.9rem;
border: 1px solid var(--border);
border-radius: 10px;
background: #fafbff;
}
.option input {
margin: 0;
}
button {
width: 100%;
padding: 0.9rem 1.25rem;
border: none;
border-radius: 10px;
background: var(--accent);
color: #fff;
font-weight: 700;
cursor: pointer;
transition: background 0.2s ease, transform 0.2s ease;
}
button:hover {
background: #1d57bc;
transform: translateY(-1px);
}
button:focus-visible {
outline: 3px solid #a4c2ff;
outline-offset: 2px;
}
footer {
text-align: center;
padding: 1rem;
color: var(--muted);
}
@media (max-width: 480px) {
form {
padding: 1.25rem;
}
}