-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (76 loc) · 1.77 KB
/
Copy pathstyle.css
File metadata and controls
86 lines (76 loc) · 1.77 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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: rgb(184, 230, 173);
}
.gridContainer {
position: relative;
}
.grid {
display: grid;
grid-template-columns: repeat(8, 70px);
grid-template-rows: repeat(8, 70px);
gap: 5px;
}
.cell {
background-color: lightblue;
border: 1px solid black;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
#grid {
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: repeat(8, 1fr);
width: 600px; /* Adjust as needed */
height: 600px;
border: 5px solid #333;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}
.cell {
display: flex;
justify-content: center;
align-items: center;
font-size: 16px;
font-weight: bold;
position: relative;
}
.cell:nth-child(odd) {
background-color: #f0d9b5; /* Light tile color */
}
.cell:nth-child(even) {
background-color: #b58863; /* Dark tile color */
}
#board-container {
display: flex;
justify-content: center;
align-items: center;
background: url('./images/wood-texture.jpeg') no-repeat center center;
background-size: cover;
padding: 20px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.cell:hover {
background-color: deepskyblue;
}
.cell img {
pointer-events: none;
}
.reset {
padding: 10px 40px;
font-size: 25px;
background-color: grey;
color: white;
border: 1px solid white;
border-radius: 5px;
cursor: pointer;
position: absolute;
top: 250px;
left: 800px;
}