Some improvements. Testing variants: Baroque has some issues
[xogo.git] / variants / Weiqi / style.css
index daf96e4..85e5712 100644 (file)
@@ -3,8 +3,33 @@
 }
 
 piece.white.stone {
-  background-image: url('/variants/Weiqi/pieces/black_stone.svg');
+  background-image: url('/pieces/Weiqi/black_stone.svg');
 }
-piece.black.stone {
-  background-image: url('/variants/Weiqi/pieces/white_stone.svg');
+piece.black.stone, piece.white.stone.one-color {
+  background-image: url('/pieces/Weiqi/white_stone.svg');
+}
+
+button.pass-btn {
+  display: block;
+  position: relative;
+  margin: 0 auto;
+}
+
+/* TODO: copy-paste from Chakart */
+div.pass-text {
+  position: relative;
+  margin-top: 15px;
+  width: 100%;
+  text-align: center;
+  background-color: transparent;
+  color: darkred;
+  font-weight: bold;
+  font-size: 2em;
+  animation: blinker 0.5s linear infinite;
+}
+
+@keyframes blinker {
+  50% {
+    opacity: 0;
+  }
 }