Skip to content

Commit 6f54f42

Browse files
Update styleQ7.css
1 parent 0cd5503 commit 6f54f42

File tree

1 file changed

+34
-12
lines changed

1 file changed

+34
-12
lines changed

templates/styleQ7.css

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,50 @@
1-
.card {
2-
width: 320px;
1+
body {
2+
font-family: Arial, sans-serif;
3+
background-color: rgb(240 240 240);
34
padding: 20px;
4-
background: #f9f9f9;
5-
margin: 20px auto;
5+
}
6+
7+
.form-card {
8+
width: 400px;
9+
margin: 0 auto;
10+
background-color: #fff;
611
border-radius: 8px;
7-
border: 1px solid #ddd;
12+
padding: 24px;
13+
box-shadow: 0 0 10px rgb(0 0 0 / 15%);
814
}
915

10-
input,
11-
button {
16+
label {
17+
font-weight: 600;
18+
display: block;
19+
margin-bottom: 6px;
20+
}
21+
22+
input[type="text"],
23+
input[type="email"],
24+
input[type="number"],
25+
select {
1226
width: 100%;
1327
padding: 10px;
14-
margin: 8px 0;
28+
margin-bottom: 14px;
29+
border: 1px solid #ccc;
30+
border-radius: 4px;
1531
box-sizing: border-box;
1632
}
1733

34+
input[type="radio"] {
35+
margin-right: 6px;
36+
}
37+
1838
button {
19-
background: #333;
39+
width: 100%;
40+
padding: 12px;
41+
background-color: rgb(4 170 109);
2042
color: #fff;
21-
border: 0;
22-
cursor: pointer;
43+
border: none;
2344
border-radius: 4px;
45+
cursor: pointer;
2446
}
2547

2648
button:hover {
27-
background: #000;
49+
background-color: rgb(69 160 73);
2850
}

0 commit comments

Comments
 (0)