-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
89 lines (78 loc) · 1.39 KB
/
Copy pathindex.css
File metadata and controls
89 lines (78 loc) · 1.39 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
/* Body styles */
body {
background-color: #f5f5f5;
font-family: "Roboto", sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
height: 100vh;
margin: 0;
}
a {
text-decoration: none;
color: #006666;
}
.container {
padding: 5rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* Title styles */
.title {
font-size: 3rem;
margin-bottom: 2rem;
color: #333;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
/* Game grid styles */
.game-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}
/* Slot styles */
.slot {
background-color: #ddd;
border-radius: 8px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
color: #333;
cursor: pointer;
transition: background-color 0.3s ease;
width: 100px;
}
.slot:hover {
background-color: #ccc;
}
/* Win message styles */
.win-message {
text-align: center;
margin-top: 2rem;
}
.hidden {
display: none;
}
#player {
font-weight: bold;
color: #008080;
}
/* Play again button styles */
#play-again-button {
background-color: #008080;
color: #fff;
border: none;
padding: 0.5rem 1rem;
font-size: 1rem;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}
#play-again-button:hover {
background-color: #006666;
}