-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
120 lines (105 loc) · 1.99 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
body {
margin: 0;
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb);
background-size: 200% 200%;
animation: gradientAnimation 10s ease infinite;
}
@keyframes gradientAnimation {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
header {
text-align: center;
margin: 20px 0;
}
h1 {
font-size: 2.5em;
margin: 0;
color: #fff;
}
.signature {
font-size: 1em;
margin-top: 5px;
color: #fff;
}
.signature span {
font-weight: bold;
color: #ff0066;
}
.container {
max-width: 400px;
width: 90%;
}
.board {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
background-color: #333;
padding: 10px;
border-radius: 8px;
}
.cell {
background-color: #fff;
width: 100px;
height: 100px;
display: flex;
justify-content: center;
align-items: center;
font-size: 2em;
font-weight: bold;
cursor: pointer;
border-radius: 4px;
}
.cell[data-cell]:hover {
background-color: #f3f3f3;
}
.restart-btn {
margin-top: 20px;
background-color: #007BFF;
color: white;
border: none;
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
border-radius: 5px;
}
.restart-btn:hover {
background-color: #0056b3;
}
.result-screen {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: #fff;
display: none;
}
.result-screen p {
font-size: 2em;
margin-bottom: 20px;
}
button {
background-color: #007BFF;
color: white;
border: none;
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
border-radius: 5px;
}
button:hover {
background-color: #0056b3;
}