projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix complete rules of Cwda
[xogo.git]
/
common.css
diff --git
a/common.css
b/common.css
index
cdfbc7a
..
5fee7ef
100644
(file)
--- a/
common.css
+++ b/
common.css
@@
-180,6
+180,14
@@
main > div {
padding: 0 10px;
overflow: auto;
}
padding: 0 10px;
overflow: auto;
}
+.full-rules figure.show-pieces {
+ max-width: 90%;
+ text-align: center;
+ margin: 0 auto;
+}
+.full-rules figure.show-pieces > img {
+ max-width: 100px;
+}
.full-rules > div {
margin-bottom: 20px;
}
.full-rules > div {
margin-bottom: 20px;
}
@@
-234,6
+242,16
@@
piece.mark.transparent {
.full-rules .right {
float: right;
}
.full-rules .right {
float: right;
}
+@media screen and (max-width: 550px) {
+ .full-rules .left {
+ float: none;
+ margin-bottom: 10px;
+ }
+ .full-rules .right {
+ float: none;
+ margin-top: 10px;
+ }
+}
.full-rules figcaption {
display: block;
text-align: center;
.full-rules figcaption {
display: block;
text-align: center;
@@
-350,8
+368,6
@@
piece.mark.transparent {
.chessboard {
position: absolute;
cursor: pointer;
.chessboard {
position: absolute;
cursor: pointer;
- min-width: 200px;
- min-height: 200px;
}
piece {
position: absolute;
}
piece {
position: absolute;