body { font-family: 'Droid Sans', 'Arial Narrow', Arial, sans-serif; overflow: hidden; } #root { width: 100vw; /* height: 100vh; breaks on mobile -- not needed */ } .Table { display: flex; position: absolute; top: 0; left: 0; width: 100%; bottom: 0; flex-direction: row; background-image: url("./assets/tabletop.png"); } .Table .ErrorDialog { z-index: 10000; display: flex; justify-content: space-around; align-items: center; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-color: #40000060; } .Table .ErrorDialog .Error { display: flex; flex-direction: column; padding: 0.25rem; } .Table .ErrorDialog .Error > div { display: flex; padding: 1rem; } .Table .WarningDialog { z-index: 10000; display: flex; justify-content: space-around; align-items: center; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-color: #00000060; } .Table .WarningDialog .Warning { display: flex; padding: 1rem; } .Table .PlayersStatus { z-index: 5000; } .Table .Game { position: relative; display: flex; flex-direction: column; flex-grow: 1; } .Table .Board { display: flex; position: relative; flex-grow: 1; z-index: 500; } .Table .PlayersStatus { z-index: 750; } .Table .Hand { display: flex; position: relative; height: 11rem; z-index: 1000; } .Table .Sidebar { display: flex; flex-direction: column; justify-content: space-between; width: 30rem; max-width: 30rem; overflow: hidden; z-index: 5000; } .Table .Sidebar .Chat { display: flex; position: relative; flex-grow: 1; } .Table .Trade { z-index: 25000; } .Table .Dialogs { position: absolute; display: flex; top: 0; bottom: 0; right: 0; left: 0; justify-content: space-around; align-items: center; z-index: 20000; pointer-events: none; } .Table .Dialogs > * { pointer-events: all; } .Table .ViewCard { display: flex; position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .Table .Winner { display: flex; position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .Table .ChooseCard { display: flex; position: relative; top: 0; left: 0; right: 0; bottom: 0; }