aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiley L. <riley@e926.de>2024-11-03 18:44:25 +0100
committerRiley L. <riley@e926.de>2024-11-03 18:44:25 +0100
commit205f7088778f5b75c9f9ff96478b1f9785b39cc3 (patch)
treed7bcbcdee970d5e1cd1f58def80eebe523a8dd51
parent9f953f6bba497f7d94fa1d9f7912c8d9d79da3f7 (diff)
downloadabrechenbarkeit-205f7088778f5b75c9f9ff96478b1f9785b39cc3.tar
abrechenbarkeit-205f7088778f5b75c9f9ff96478b1f9785b39cc3.tar.bz2
abrechenbarkeit-205f7088778f5b75c9f9ff96478b1f9785b39cc3.tar.zst
more css
-rw-r--r--style.css73
1 files changed, 68 insertions, 5 deletions
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%;
+}