-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (77 loc) · 1.3 KB
/
style.css
File metadata and controls
89 lines (77 loc) · 1.3 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
/* Reset default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', sans-serif;
background: linear-gradient(to right, #4facfe, #00f2fe);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.container {
background-color: #ffffff;
border-radius: 20px;
padding: 30px;
width: 100%;
max-width: 500px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
text-align: center;
}
h2 {
font-size: 24px;
margin-bottom: 20px;
color: #333;
}
ul {
list-style: none;
padding: 0;
}
li {
background-color: #f1f1f1;
margin: 10px 0;
padding: 12px 18px;
border-radius: 10px;
transition: all 0.3s ease;
cursor: pointer;
border: 2px solid transparent;
}
li:hover {
background-color: #d6f0ff;
border-color: #007bff;
}
button {
margin-top: 20px;
padding: 12px 24px;
font-size: 16px;
background-color: #007bff;
color: white;
border: none;
border-radius: 12px;
cursor: pointer;
transition: background 0.3s ease;
}
button:hover {
background-color: #0056b3;
}
#result {
margin-top: 20px;
font-weight: bold;
font-size: 20px;
color: #2e7d32;
}
@media (max-width: 600px) {
.container {
padding: 20px;
}
h2 {
font-size: 20px;
}
button {
width: 100%;
}
}