diff options
author | jbion <joffrey.bion@amadeus.com> | 2019-02-26 20:30:59 +0100 |
---|---|---|
committer | jbion <joffrey.bion@amadeus.com> | 2019-02-26 20:30:59 +0100 |
commit | 6c7724ddd48f518cbee0437fa36b105da3ce5852 (patch) | |
tree | 279d0f625d82c9d3d38d12ac6fce4b303e906f2f /frontend/src/components/game/Board.css | |
parent | Fix wonder images aspect ratio (diff) | |
download | seven-wonders-6c7724ddd48f518cbee0437fa36b105da3ce5852.tar.gz seven-wonders-6c7724ddd48f518cbee0437fa36b105da3ce5852.tar.bz2 seven-wonders-6c7724ddd48f518cbee0437fa36b105da3ce5852.zip |
Add board and played cards
Diffstat (limited to 'frontend/src/components/game/Board.css')
-rw-r--r-- | frontend/src/components/game/Board.css | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/frontend/src/components/game/Board.css b/frontend/src/components/game/Board.css new file mode 100644 index 00000000..0c0d49c9 --- /dev/null +++ b/frontend/src/components/game/Board.css @@ -0,0 +1,34 @@ +.board { + width: 100vw +} + +.cards { + width: 100vw; +} + +.card-column { + height: 40vh; + margin: auto; + position: relative; + width: 15vw; +} + +.card { + position: absolute; + /* dynamic positioning in JS */ +} + +.table-card-img { + max-width: 10vw; + max-height: 25vh; +} + +.wonder { + width: 100vw; + text-align: center; +} + +.wonder-img { + max-height: 30vh; + max-width: 95vw; +} |