-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
71 lines (61 loc) · 1.54 KB
/
Copy pathstyles.css
File metadata and controls
71 lines (61 loc) · 1.54 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: antiquewhite;
}
.title {
margin-top: 2rem;
text-align: center;
}
.game-grid {
border: 1px solid black;
width: 30rem;
margin: 2rem auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.slot {
width: 10rem;
border: 1px solid black;
height: 10rem;
display: flex;
justify-content: center;
align-items: center;
}
.highlight {
background-color: #eee;
}
.win-message {
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.win-message button {
background-color: #4caf50; /* Green background color */
border: none; /* Remove border */
color: white; /* Text color */
padding: 10px 20px; /* Add some padding */
text-align: center; /* Center the text */
text-decoration: none; /* Remove underline */
display: inline-block; /* Make it an inline element */
font-size: 16px; /* Font size */
cursor: pointer; /* Add cursor pointer on hover */
border-radius: 8px; /* Add rounded corners */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow */
transition: background-color 0.3s ease; /* Add a smooth transition on background color */
}
.win-message button:hover {
background-color: #45a049; /* Darker green background color on hover */
}
.win-message button:active {
background-color: #3e8e41; /* Darker green background color when button is clicked */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Slightly adjusted box shadow on click */
}
.hidden {
display: none;
}