-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
78 lines (69 loc) · 1.54 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
77
78
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: url('assets/AJ.png') no-repeat center center fixed;
background-size: cover;
font-family: Arial, sans-serif;
}
.game-container {
display: flex;
flex-direction: column;
align-items: center;
}
.game-board {
display: grid;
grid-template-columns: repeat(3, 100px);
grid-template-rows: repeat(3, 100px);
gap: 5px;
margin-bottom: 20px;
}
.cell {
width: 100px;
height: 100px;
display: flex;
justify-content: center;
align-items: center;
background-color: rgba(255, 255, 255, 0.8);
cursor: pointer;
transition: background-color 0.3s;
}
.cell:hover {
background-color: rgba(255, 255, 255, 1);
}
.cell img {
max-width: 80%;
max-height: 80%;
}
.game-info {
text-align: center;
margin-top: 10px;
}
#restart-button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
background: linear-gradient(45deg, #6491d6, pink);
border: none;
border-radius: 5px;
color: white;
transition: background 0.3s;
}
#restart-button:hover {
background: linear-gradient(45deg, #5279b1, #ff99cc);
}
.game-text {
font-family: 'Anonymous Pro', monospace;
font-size: 30px;
text-align: center;
color: white;
margin: 10px 0;
}
.footer {
font-family: 'Anonymous Pro', monospace;
font-size: 16px;
color: white;
margin-top: 20px;
}