diff --git a/style.css b/style.css index 2308ae7..f6a1075 100644 --- a/style.css +++ b/style.css @@ -3,9 +3,30 @@ body { } body > * { + + : 0.5rem; +} + +.container { + display: grid; + flex-direction: column; + justify-content: left; + grid-template-columns: auto auto; + list-style-type: none; +} + +.container > :first-child { + grid-column: 1 / -1; +} + +.container > * { margin: 0.5rem; } +h1 { + font-size: 3em; +} + /* nav bar */ *, .logo { color: #e2e2e2; @@ -99,6 +120,18 @@ li { white-space: nowrap; } + +/* user page */ +.balance { + display: block; + line-break: normal; +} + +.balance-value { + padding-left: 1rem; + font-size: 2em; +} + /* Amount selector user page */ .amount { display: block; @@ -113,11 +146,6 @@ li { list-style-type: none; } -.amount-presets > form { - margin-top: 0; - margin-bottom: 0; -} - .amount-presets > form > input { place-content: center; padding: 0.8em 0.5em; @@ -146,3 +174,38 @@ input.amount-pos { input.amount-neg { background-color: rgb(84, 64, 82); } + +h3 { + margin: 4px; + margin-left: 0; +} + +.box { + width: 16em; + background-color: #1d2832; + padding: 1em; + padding-right: 2em; +} + +.transactions.container > :first-child { + width: 36em; +} + + +/* create transaction box */ +.transaction { + display: grid; + justify-content: left; + /* grid-auto-rows: minmax(5em, 2); */ + /* grid-template-columns: repeat(2, calc(50% - 2em)); */ + grid-template-columns: auto 10em; +} + +.transaction :first-child, form.transaction.box > :last-child { + grid-column: 1 / -1; +} + +.transaction.box > * { + margin: .3em; + width: 100%; +}