jtulach@63
|
1 |
/**
|
jtulach@63
|
2 |
* The MIT License (MIT)
|
jtulach@63
|
3 |
*
|
jtulach@63
|
4 |
* Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
|
jtulach@63
|
5 |
*
|
jtulach@63
|
6 |
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
jtulach@63
|
7 |
* of this software and associated documentation files (the "Software"), to deal
|
jtulach@63
|
8 |
* in the Software without restriction, including without limitation the rights
|
jtulach@63
|
9 |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
jtulach@63
|
10 |
* copies of the Software, and to permit persons to whom the Software is
|
jtulach@63
|
11 |
* furnished to do so, subject to the following conditions:
|
jtulach@63
|
12 |
*
|
jtulach@63
|
13 |
* The above copyright notice and this permission notice shall be included in
|
jtulach@63
|
14 |
* all copies or substantial portions of the Software.
|
jtulach@63
|
15 |
*
|
jtulach@63
|
16 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
jtulach@63
|
17 |
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
jtulach@63
|
18 |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
jtulach@63
|
19 |
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
jtulach@63
|
20 |
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
jtulach@63
|
21 |
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
jtulach@63
|
22 |
* THE SOFTWARE.
|
jtulach@63
|
23 |
*/
|
jtulach@63
|
24 |
/** main chess style **/
|
jtulach@63
|
25 |
#apptitle {
|
jtulach@63
|
26 |
font-size: 20px;
|
jtulach@63
|
27 |
}
|
jtulach@63
|
28 |
.log {
|
jtulach@63
|
29 |
margin-bottom: 10px;
|
jtulach@63
|
30 |
}
|
jtulach@63
|
31 |
table.field {
|
jtulach@63
|
32 |
width: 100%;
|
jtulach@63
|
33 |
height: 100%;
|
jtulach@63
|
34 |
}
|
jtulach@63
|
35 |
table.field td {
|
jtulach@63
|
36 |
border: 1px solid black;
|
jtulach@63
|
37 |
padding:10px;
|
jtulach@63
|
38 |
width: 10%;
|
jtulach@63
|
39 |
height: 10%;
|
jtulach@63
|
40 |
vertical-align: middle;
|
jtulach@63
|
41 |
text-align: center;
|
jtulach@63
|
42 |
}
|
jtulach@63
|
43 |
.container {
|
jtulach@63
|
44 |
margin:10px;
|
jtulach@63
|
45 |
}
|
jtulach@63
|
46 |
|
jtulach@65
|
47 |
table.field td.UNKNOWN {
|
jtulach@63
|
48 |
background-color: #D0D0D0;
|
jtulach@63
|
49 |
cursor: pointer;
|
jtulach@63
|
50 |
}
|
jtulach@65
|
51 |
table.field td.MINE {
|
jtulach@65
|
52 |
background-color: #f1100c;
|
jtulach@63
|
53 |
}
|
jtulach@63
|
54 |
.but-orientation {
|
jtulach@63
|
55 |
margin-top:20px;
|
jtulach@63
|
56 |
}
|
jtulach@63
|
57 |
h3.log-h {
|
jtulach@63
|
58 |
border-top:1px solid silver;
|
jtulach@63
|
59 |
}
|
jtulach@63
|
60 |
.badge-status {
|
jtulach@63
|
61 |
display:inline-block;
|
jtulach@63
|
62 |
margin-left:20px;
|
jtulach@63
|
63 |
padding:5px;
|
jtulach@63
|
64 |
font-size:1em;
|
jtulach@63
|
65 |
text-shadow: none;
|
jtulach@63
|
66 |
}
|
jtulach@63
|
67 |
.badge-white-turn {
|
jtulach@63
|
68 |
font-size: 1em;
|
jtulach@63
|
69 |
padding:4px;
|
jtulach@63
|
70 |
background-color: white;
|
jtulach@63
|
71 |
color:black;
|
jtulach@63
|
72 |
text-shadow: none;
|
jtulach@63
|
73 |
border:1px solid black;
|
jtulach@63
|
74 |
font-weight: normal;
|
jtulach@63
|
75 |
display: inline-block;
|
jtulach@63
|
76 |
margin-left: 38px;
|
jtulach@63
|
77 |
}
|
jtulach@63
|
78 |
.badge-black-turn {
|
jtulach@63
|
79 |
font-size: 1em;
|
jtulach@63
|
80 |
padding:4px;
|
jtulach@63
|
81 |
background-color: black;
|
jtulach@63
|
82 |
color:white;
|
jtulach@63
|
83 |
text-shadow: none;
|
jtulach@63
|
84 |
border:1px solid black;
|
jtulach@63
|
85 |
font-weight: normal;
|
jtulach@63
|
86 |
display: inline-block;
|
jtulach@63
|
87 |
margin-left: 38px;
|
jtulach@63
|
88 |
}
|
jtulach@63
|
89 |
.btn {text-shadow: none;}
|
jtulach@63
|
90 |
.select {line-height: inherit;}
|
jtulach@63
|
91 |
.uneditable-input {
|
jtulach@63
|
92 |
margin-left: 0;
|
jtulach@63
|
93 |
color: black;
|
jtulach@63
|
94 |
}
|
jtulach@63
|
95 |
span.myturn {
|
jtulach@63
|
96 |
display: inline-block;
|
jtulach@63
|
97 |
position:relative;
|
jtulach@63
|
98 |
left:23px;
|
jtulach@63
|
99 |
padding:3px;
|
jtulach@63
|
100 |
}
|
jtulach@63
|
101 |
.whitePiece {
|
jtulach@63
|
102 |
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
|
jtulach@63
|
103 |
color: white;
|
jtulach@63
|
104 |
}
|
jtulach@63
|
105 |
h1 {
|
jtulach@63
|
106 |
font-size: 29px;
|
jtulach@63
|
107 |
line-height: initial;
|
jtulach@63
|
108 |
}
|