-
Notifications
You must be signed in to change notification settings - Fork 0
/
a.css
35 lines (35 loc) · 926 Bytes
/
a.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
td
{
background-color: #C38147;
width: 12vmin;
height: 12vmin;
}
td.one
{
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><circle cx='5' cy='5' r='3.8' stroke='black' fill='black'/></svg>");
}
td.two
{
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><circle cx='5' cy='5' r='3.8' stroke='white' fill='white'/></svg>");
}
td.possible
{
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><line x1='1' y1='1' x2='9' y2='9' stroke='red'/><line x1='1' y1='9' x2='9' y2='1' stroke='red'/></svg>");
background-size: 25%;
background-repeat: no-repeat;
background-position: center;
}
tr:nth-child(odd) td:nth-child(even),
tr:nth-child(even) td:nth-child(odd)
{
background-color: #FDCEA0;
}
body
{
margin: 0;
padding: 0;
}
.hidden
{
display: none;
}