jtulach@22
|
1 |
/**
|
jtulach@22
|
2 |
* The MIT License (MIT)
|
jtulach@22
|
3 |
*
|
jtulach@22
|
4 |
* Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
|
jtulach@22
|
5 |
*
|
jtulach@22
|
6 |
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
jtulach@22
|
7 |
* of this software and associated documentation files (the "Software"), to deal
|
jtulach@22
|
8 |
* in the Software without restriction, including without limitation the rights
|
jtulach@22
|
9 |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
jtulach@22
|
10 |
* copies of the Software, and to permit persons to whom the Software is
|
jtulach@22
|
11 |
* furnished to do so, subject to the following conditions:
|
jtulach@22
|
12 |
*
|
jtulach@22
|
13 |
* The above copyright notice and this permission notice shall be included in
|
jtulach@22
|
14 |
* all copies or substantial portions of the Software.
|
jtulach@22
|
15 |
*
|
jtulach@22
|
16 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
jtulach@22
|
17 |
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
jtulach@22
|
18 |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
jtulach@22
|
19 |
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
jtulach@22
|
20 |
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
jtulach@22
|
21 |
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
jtulach@22
|
22 |
* THE SOFTWARE.
|
jtulach@22
|
23 |
*/
|
jtulach@22
|
24 |
/** main chess style **/
|
jtulach@22
|
25 |
.log {
|
jtulach@22
|
26 |
overflow-x: hidden;
|
jtulach@22
|
27 |
overflow-y: scroll;
|
jtulach@22
|
28 |
max-height: 450px;
|
jtulach@22
|
29 |
border:1px solid #eeeeee;
|
jtulach@22
|
30 |
background-color: white;
|
jtulach@22
|
31 |
}
|
jtulach@22
|
32 |
.container {
|
jtulach@22
|
33 |
margin:10px;
|
jtulach@22
|
34 |
}
|
jtulach@22
|
35 |
stable.board {
|
jtulach@22
|
36 |
width: 100%;
|
jtulach@22
|
37 |
}
|
jtulach@22
|
38 |
table.board {
|
jtulach@22
|
39 |
font-size:4em;
|
jtulach@22
|
40 |
}
|
jtulach@22
|
41 |
table.board td {
|
jtulach@22
|
42 |
border: 1px solid black;
|
jtulach@22
|
43 |
padding:10px;
|
jtulach@22
|
44 |
width:55px;
|
jtulach@22
|
45 |
height:55px;
|
jtulach@22
|
46 |
vertical-align: middle;
|
jtulach@22
|
47 |
text-align: center;
|
jtulach@22
|
48 |
}
|
jtulach@22
|
49 |
table.board td.white {
|
jtulach@22
|
50 |
background-color: white;
|
jtulach@22
|
51 |
}
|
jtulach@22
|
52 |
table.board td.black {
|
jtulach@22
|
53 |
background-color: #B0B0B0;
|
jtulach@22
|
54 |
}
|
jtulach@22
|
55 |
.figure {
|
jtulach@22
|
56 |
cursor: pointer;
|
jtulach@22
|
57 |
} |