1
0
James Ketrenos ffb9bfe524 Resize and board view is working great!
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
2022-03-11 10:19:52 -08:00

65 lines
1001 B
CSS
Executable File

body {
font-family: 'Droid Sans', 'Arial Narrow', Arial, sans-serif;
}
#root {
width: 100vw;
height: 100vh;
}
.Table {
display: flex;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
min-height: 100%;
flex-direction: row;
justify-content: space-between; /* left-justify 'board', right-justify 'game' */
background-image: url("./assets/tabletop.png");
}
.Table .Game {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.Table .Board {
display: flex;
position: relative;
flex-grow: 1;
}
.Table .Pieces {
display: flex;
position: relative;
border: 1px solid orange;
margin: 1rem;
height: 11rem;
}
.Table .Sidebar {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 30rem;
max-width: 30rem;
overflow: hidden;
}
.Table .Board {
display: flex;
flex-grow: 1;
margin: 1rem;
border: 1px solid purple;
}
.Table .Sidebar .Chat {
display: flex;
position: relative;
flex-grow: 1;
}