forked from kana/othello-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
114 lines (104 loc) · 1.46 KB
/
app.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#main.container
{
text-align: center;
}
.disabled
{
opacity: 0.5;
}
#message
{
margin-top: 1em;
}
#preference-pane
{
margin-top: 2em;
}
#player-type-forms
{
display: inline-block;
}
#black-player-level,
#white-player-level
{
width: auto;
}
#swap-player-types-button
{
position: relative;
top: -2em;
}
#add-new-ai-button
{
display: inline-block;
margin-bottom: 10px;
}
#game-board > table
{
margin: 0 auto;
}
#game-board > table th
{
margin: 0;
padding: 0.125em 0.25em;
line-height: 100%;
}
#game-board > table .cell
{
background: #009999;
border: 1px solid #ccc;
padding: 0;
margin: 0;
line-height: 0;
}
#game-board > table .cell.attackable
{
cursor: pointer;
}
#game-board > table .cell.attackable:hover
{
background: #cc0;
}
#game-board > table .cell > .disc
{
display: inline-block;
width: 2em;
height: 2em;
border-radius: 1em;
margin: 0.25em;
}
#game-board > table .cell.white > .disc
{
background: #fff;
}
#game-board > table .cell.black > .disc
{
background: #000;
}
#game-board > table .cell.barrier > .disc
{
background: rgb(255, 160, 0);
border-radius: 0em;
}
#game-board > table .cell.attackable > .disc
{
opacity: 0.2;
}
#game-board > table .cell.attackable:hover > .disc
{
opacity: 1.0;
}
.newest:before, .reversal:before {
content: "";
display: block;
margin: 9.25px;
width: 10px;
height: 10px;
border-radius: 5px;
}
.newest:before {
background: #f00;
}
.reversal:before {
background: #66c;
}