-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
121 lines (103 loc) · 2.01 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
121
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: 'Poppins', sans-serif;
background-color: #f0f0f5;
}
.container {
text-align: center;
padding: 20px;
border-radius: 10px;
background-color: #ffffff;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
color: #333;
font-weight: 600;
font-size: 2.5rem;
}
#game-board {
display: grid;
grid-template-columns: repeat(3, 100px);
grid-template-rows: repeat(3, 100px);
gap: 10px;
margin: 20px auto;
}
.cell {
width: 100px;
height: 100px;
background-color: #f7f7fa;
border: 3px solid #e0e0e5;
border-radius: 10px;
font-size: 2.5em;
color: #555;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
transition: all 0.3s ease;
}
.cell:hover {
background-color: #e0e5f7;
}
.X {
color: #ff6b6b;
}
.O {
color: #1c89f5;
}
.winning-message {
display: none;
padding: 20px;
background-color: #ffffff;
border: 2px solid #ddd;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
margin-top: 20px;
}
.winning-message.show {
display: block;
}
#winning-message-text {
font-size: 1.5rem;
color: #333;
}
button {
padding: 12px 25px;
font-size: 1rem;
border: none;
background-color: #f0f0f0;
color: black;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #e3e3e3;
}
.hidden {
display: none;
}
.copyright-content {
margin-top: 20px;
font-size: 0.9em;
color: #555;
}
.copyright-content p {
margin: 0;
font-size: 0.75rem;
}
.copyright-content a {
color: #007BFF;
text-decoration: none;
}
.copyright-content a:hover {
text-decoration: underline;
}