-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (91 loc) · 1.44 KB
/
style.css
File metadata and controls
95 lines (91 loc) · 1.44 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
87
88
89
90
91
92
93
94
95
.goBoard {
display: grid;
grid-template-columns: repeat(11,1fr);
gap:0;
width: 55vw;
background-image: url(wood.jpg);
}
.cell {
position: relative;
width: 5vw;
height: 5vw;
border-radius: 50%;
font-weight: bold;
cursor: pointer;
}
.cell:hover {
background-color: rgb(187,185,188);
}
.coords {
position: relative;
width: 5vw;
height: 5vw;
display: flex;
justify-content: center;
align-items: center;
font-size: x-large;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
.line {
position: absolute;
background-color: black;
}
.horizontal {
width: 100%;
height: 1px;
top:50%;
}
.vertical {
width: 1px;
height: 100%;
left: 50%;
}
.star {
width: 100%;
height: 100%;
display: flex;
position: absolute;
top:0%;
left: 0%;
align-items: center;
justify-content: center;
font-size: xx-large;
}
.piece {
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
top:0%;
left: 0%;
}
.black img,.white img {
width: 100%;
position: absolute;
top: 0%;
left: 0%;
}
@media (max-width:650px) {
.coords {
font-size: large;
}
}
#alert {
position: fixed;
display: none;
background: black;
border-radius: 5px;
top: 28.5vw;
left:28.5vw;
transform: translate(-50%,-50%);
color: indianred;
width: 40vw;
height: 7vh;
text-align: center;
align-items: center;
justify-content: center;
font-size: large;
font-weight: bold;
z-index: 1000;
}