diff options
-rw-r--r-- | play.css | 8 | ||||
-rw-r--r-- | play.html | 1 | ||||
-rw-r--r-- | play.js | 4 |
3 files changed, 13 insertions, 0 deletions
@@ -423,6 +423,14 @@ span.suit.reserve { color: var(--color-reserve); font-weight: bold; font-family: .number.france { background-color: var(--color-france); } */ +/* CARD COUNTING AIDS */ + +@media (hover: hover) { + #shift_button { + display: none; + } +} + /* CARDS */ .card { @@ -28,6 +28,7 @@ </menu> </details> <button onclick="toggle_pieces()"><img src="/images/earth-africa-europe.svg"></button> + <button id="shift_button" onclick="toggle_shift()"><img src="/images/all-seeing-eye.svg"></button> </div> </header> @@ -18,6 +18,10 @@ function toggle_pieces() { } } +function toggle_shift() { + document.body.classList.toggle("shift") +} + /* DATA */ const R_FREDERICK = "Frederick" |