-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
76 lines (66 loc) · 1.31 KB
/
styles.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
/* Reset some default browser styles */
body, h1, form, div {
margin: 0;
padding: 0;
}
/* General page styling */
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f9;
color: #333;
padding: 20px;
}
/* Heading styling */
h1 {
font-size: 2em;
text-align: center;
margin-bottom: 20px;
}
/* Form styling */
form {
max-width: 400px;
margin: 0 auto;
}
/* Radio button container styling */
div {
margin-bottom: 10px;
}
/* Radio button styling */
input[type="radio"] {
display: none;
}
/* Label styling */
label {
display: inline-block;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
/* Label hover effect */
label:hover {
background-color: #e0e0e0;
}
/* Label selected styling */
input[type="radio"]:checked + label {
background-color: #4CAF50;
color: #fff;
}
/* Button styling */
button {
display: block;
width: 100%;
padding: 10px;
margin-top: 20px;
background-color: #4CAF50;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
/* Button hover effect */
button:hover {
background-color: #45a049;
}