diff --git a/src/cards.css b/src/cards.css index 6f677ab..acfef0e 100644 --- a/src/cards.css +++ b/src/cards.css @@ -1,12 +1,17 @@ /* https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Media_objects */ .mbox { - --profileimg-size: 5rem; + --profileimg-size: 4rem; align-items: center; display: flex; flex-direction: row; flex-wrap: wrap; margin-bottom: 1rem; - padding: 0 calc(.25 * var(--gap)); + padding: 0 var(--gap); +} +@media (orientation: portrait) { + .mbox { + padding: 0 calc(.5 * var(--gap)); + } } .mbox:last-child { margin-bottom: 0; @@ -31,9 +36,6 @@ position: relative; z-index: 2; } -.mbox-img img { - max-width: 100%; -} .mbox-updated-contact .mbox-img, .mbox-recommend-server .mbox-img { @@ -62,6 +64,10 @@ color: var(--color-accent); } +.mbox-kind0-name { + color: var(--color); +} + .mbox-updated-contact .mbox-body, .mbox-recommend-server .mbox-body { display: block; diff --git a/src/form.css b/src/form.css index 2353c07..1a5d306 100644 --- a/src/form.css +++ b/src/form.css @@ -145,7 +145,7 @@ button:disabled { .form-status { flex-basis: 100%; flex-grow: 1; - padding: 1rem 1.8rem; + padding: var(--padding); } .form-inline { @@ -154,9 +154,11 @@ button:disabled { flex-direction: row; flex-grow: 1; flex-wrap: wrap; - gap: 0 var(--gap); padding: 0; } +.form-inline * + * { + margin-left: var(--gap); +} .cards .form-inline button, .cards .form-inline input[type="text"], .cards .form-inline textarea { @@ -189,6 +191,7 @@ button[name="back"] { } #sendstatus { + margin-left: 0; order: 1; } diff --git a/src/index.html b/src/index.html index 41a57d7..6084296 100644 --- a/src/index.html +++ b/src/index.html @@ -23,7 +23,7 @@
- +