forked from JoSSte/BackgammonJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackgammon.css
97 lines (83 loc) · 1.47 KB
/
backgammon.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
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
96
97
.main {
height: 700px;
width: 900px;
}
.board {
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
flex-flow: row;
}
.homeParent {
width: 16.667%;
height: 100%;
background-color: silver;
display: flex;
flex-flow: column;
}
.home {
width: 100%;
height: 50%;
}
.halfboard {
position: relative;
top: 0;
bottom: 0;
width: 100%;
height: 100%;
display: flex;
flex-flow: column;
}
.quarterboard {
width: 100%;
height: 50%;
display: flex;
flex-flow: row;
}
.hidden {
display: none;
}
.bar {
width: 16.667%;
height: 100%;
background-color: brown;
}
.point {
width: 16.667%;
height: 100%;
display: flex;
flex-flow: column-reverse;
align-items: center;
}
.point.dark {
background-image: url("point_bot_dark.svg");
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
.point.light {
/*background-color: blanchedalmond;*/
color: green;
fill: currentColor;
background-image: url("point_bot_light.svg");
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
.top>.point {
transform: rotate(180deg);
}
.pip {
background-repeat: no-repeat;
background-position: center center;
height: 45px;
width: 45px;
}
.pip.black {
background-image: url("pip_black.svg");
}
.pip.white {
background-image: url("pip_white.svg");
}