X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=variants%2FChakart%2Fstyle.css;h=6f45bed3c26c3cceab65c09dec0f2e7b3f4c3be7;hb=b9877ed29697640d72b8f3d89848863fc87bd7e8;hp=620a9e80e6359c088462eba7c61f562832a66551;hpb=f8b43ef764be4e90761aa20d99af79a7e1c32bdd;p=xogo.git diff --git a/variants/Chakart/style.css b/variants/Chakart/style.css index 620a9e8..6f45bed 100644 --- a/variants/Chakart/style.css +++ b/variants/Chakart/style.css @@ -1,4 +1,58 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); -/* TODO: images des bananes/bombes/oeufs/champis + Chomp etc pour animations - * Toadette/Waluigi/Luigi/King boo/Koopa/Daisy/Bowser avec petit texte */ +piece.egg { + background-image: url('/pieces/Chakart/egg.svg'); +} + +piece.mushroom { + background-image: url('/pieces/Chakart/mushroom.svg'); +} + +piece.banana { + background-image: url('/pieces/Chakart/banana.svg'); +} + +piece.bomb { + background-image: url('/pieces/Chakart/bomb.svg'); +} + +piece.white.invisible { + background-image: url('/pieces/empty.svg'); +} +piece.black.invisible { + background-image: url('/pieces/empty.svg'); +} + +piece.immobilized { + background-color: lightgreen; + opacity: 0.6; +} + +piece.remote-capture { + background-image: url('/pieces/Chakart/shell.svg'); +} + +piece.white.mystery { + background-image: url('/pieces/white_mystery.svg'); +} +piece.black.mystery { + background-image: url('/pieces/black_mystery.svg'); +} + +div.bonus-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; + } +}