-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
97 lines (97 loc) · 1.8 KB
/
style.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #121212;
font-family: 'Roboto', sans-serif;
color: #e0e0e0;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 20px;
}
.container {
background: #1e1e1e;
border-radius: 10px;
padding: 20px;
width: 100%;
max-width: 800px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
header h1 {
text-align: center;
margin-bottom: 20px;
font-size: 2.5rem;
color: #f39c12;
}
.bingo-board {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px;
margin-bottom: 20px;
}
.cell {
background: #272727;
border: 1px solid #333;
border-radius: 5px;
padding: 20px;
font-size: 1.5rem;
text-align: center;
cursor: pointer;
transition: transform 0.2s ease, background 0.3s ease;
}
.cell.marked {
background: #27ae60;
text-decoration: line-through;
}
.cell.highlight {
animation: highlight-pulse 1s ease-in-out;
}
@keyframes highlight-pulse {
0% { transform: scale(1); box-shadow: 0 0 10px #f39c12; }
50% { transform: scale(1.1); box-shadow: 0 0 20px #f39c12; }
100% { transform: scale(1); box-shadow: 0 0 10px #f39c12; }
}
.controls {
text-align: center;
}
button {
background: #333;
border: none;
color: #e0e0e0;
padding: 10px 20px;
font-size: 1.2rem;
border-radius: 5px;
cursor: pointer;
margin: 10px 5px;
}
button:hover {
background: #444;
}
#drawnNumber {
margin-top: 10px;
font-size: 1.8rem;
}
#stats {
margin-top: 15px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 10px;
font-size: 1rem;
text-align: left;
padding: 10px;
background: #2a2a2a;
border-radius: 5px;
}
#stats p {
margin: 5px 0;
}
#message {
margin-top: 20px;
font-size: 1.8rem;
font-weight: 500;
text-align: center;
}