From d95ad90560ec946d92e39765dde0b28a2b1bb9c3 Mon Sep 17 00:00:00 2001 From: bluesaxman Date: Wed, 20 May 2020 11:11:45 -0600 Subject: [PATCH] added UI css --- css.css | 42 ++++++++++++++++++++++++++++++++++++++++++ index.html | 4 ++-- standardfaces.ddf | 9 ++++----- 3 files changed, 48 insertions(+), 7 deletions(-) diff --git a/css.css b/css.css index ce21cf0..0a7903c 100644 --- a/css.css +++ b/css.css @@ -24,6 +24,34 @@ body { width:100%; } +#display { + display: flex; + justify-content: space-around; + align-items: stretch; + height: 80vh; + width: 100%; +} + +#deck, #deckDisp { + display: flex; + justify-content: center; + align-items: center; +} + +#deck { + width: 50%; + max-width: 50%; +} + +#hand { + display: flex; + width: 50%; + max-width: 50%; + overflow: auto; + justify-content: left; + align-items: center; +} + .library { background: rgba(200,200,200,1); text-align:left; @@ -82,3 +110,17 @@ body { .dialog_content { padding: 5px; } + +.card { + height: 3in; + width: 2in; + display: inline-block; + border: 1px rgba(0,0,0,1) solid; + border-radius: 5px; + min-height: 3in; + min-width: 2in; + max-height:3in; + max-width:5in; + overflow: auto; + background: rgb(216, 206, 184); +} diff --git a/index.html b/index.html index 9ce65f0..ac7b30d 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - Welcome to Deckcard +

Welcome to Deckcard