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 .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;
color: #0D1C46;
font-weight: bold;
}
+.full-rules .img-center {
+ display: block;
+ margin: 0 auto;
+}
/* TODO: use same CSS for rules and full-rules? */
.full-rules p, .full-rules ul, .full-rules ol {
margin: 10px 0;
.chessboard {
position: absolute;
cursor: pointer;
- min-width: 200px;
- min-height: 200px;
}
piece {
position: absolute;