-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
62 lines (52 loc) · 994 Bytes
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box; /* Ensures consistent sizing */
}
body {
background-color: #FAF3E0; /* Change to your preferred color */
color: #333; /* Text color for readability */
}
.heading{
text-align: center;
font-size: 2rem;
margin: 20px 0;
}
.Player{
text-align: center;
font-size: 1.5rem;
margin: 20px 0;
}
.main{
display: flex;
justify-content: center;
align-items: center;
}
.game{
display: grid;
grid-template-rows: 150px 5px 150px 5px 150px;
grid-template-columns: 150px 5px 150px 5px 150px;
}
.square{
background-color: #FFF8DC; /* Cornsilk for Light Theme */
border: 1px solid #D3D3D3;
}
.line1, .line2, .line3, .line4{
background-color: gray;
}
.line1{
grid-column: 2;
grid-row: 1 / span 5;
}
.line2{
grid-column: 4;
grid-row: 1 / span 5;
}
.line3{
grid-column: 1 / span 5;
grid-row: 2;
}
.line4{
grid-column: 1 / span 5;
grid-row: 4;
}