view game/style.css @ 11:a77857594150

adjusted tower building, added preview dragging
author ark
date 2026-10-19 17:56 +0200
parents 5492efd60e2c
children
line wrap: on
line source

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background: #e8e2d4;
}

canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    /* no browser zoom, scroll or selection gestures on the game */
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}