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
115
116
117
118
119
120
121
122
@charset "utf-8";
.shogi-container * {
margin: 0;
padding: 0;
font-family: "HG正楷書体-PRO", "Hiragino Mincho ProN";
font-size: 14px;
box-sizing: border-box;
}
@media screen and (max-width: 500px) {
.shogi-container * {
font-size: 16px;
}
}
@media screen and (min-width: 500px) {
.shogi-container select {
padding: 0 10px;
border-radius: 3px;
border: solid 1px #a0a0a0;
}}
.shogi-container {
width: 300px;
text-align: center;
border: 1px solid #c0c0c0;
}
.setting-panel {
width: 300px;
}
.setting-panel div {
width: 225px;
vertical-align: middle;
display: inline-block;
}
.setting-panel table {
display: none;
}
.setting-panel button {
display: inline-block;
vertical-align: top;
}
.player-panel button {
width: 60px;
}
.kifu-editor .setting-panel {
display: none;
}
.shogi-container .panel {
display: none;
}
.shogi-container .panel canvas {
width: 200px;
}
.shogi-container .panel > div:nth-child(2) {
width: 100px;
padding-left: 5px;
display: inline-block;
vertical-align: top;
}
.shogi-container .panel input[maxlength="3"] {
width: 60px;
}
.shogi-container .panel input[maxlength="20"] {
width: 120px;
}
.controller-panel button {
width: 60px;
vertical-align: top;
}
.controller-panel div {
width: 180px;
display: inline-block;
vertical-align: middle;
}
.controller-panel select {
display: none;
}
.tsume-shogi .panel {
position: relative;
}
.tsume-shogi .result {
width: 100%;
position: absolute;
top: -200px;
font-size: 50px;
font-weight: bold;
color: red;
display: none;
}
.tsume-shogi .result span {
font-size: 20px;
display: block;
}
.tsume-shogi .result.wrong {
color: blue;
}
.tsume-shogi .result.show {
display: block;
}
.kifu-viewer textarea, .kifu-player textarea {
pointer-events: none;
}
canvas {
width: 100%;
}
table {
display: inline;
}
button {
-webkit-appearance: none;
-webkit-user-select: none;
width: 75px;
height: 30px;
border-radius: 3px;
border: solid 1px #a0a0a0;
background-color: #f0f0f0;
}
textarea {
-webkit-appearance: none;
width: 80%;
height: 100px;
border-radius: 3px;
border: solid 1px #a0a0a0;
}