diff --git a/backend/internal/api/static/style.css b/backend/internal/api/static/style.css index 5fbe669..4825f99 100644 --- a/backend/internal/api/static/style.css +++ b/backend/internal/api/static/style.css @@ -16,7 +16,7 @@ h1 { font-size: 1.4rem; font-weight: normal; letter-spacing: .05em; } h2 { font-size: 1rem; font-weight: normal; letter-spacing: .05em; } -.err { color: #c00; } +.err, .error { color: #c00; } .source-gps { color: #060; } .source-manual { color: #888; } @@ -28,9 +28,8 @@ h2 { font-size: 1rem; font-weight: normal; letter-spacing: .05em; } .gps-row input { flex: 1; margin-bottom: 0; } .gps-row button { white-space: nowrap; margin-bottom: 0; } -/* Two-column form */ -.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } -@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } } +/* Narrow pages (login, register) */ +.narrow { max-width: 400px; margin-top: 4rem; } /* Image preview */ .image-preview { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; } @@ -53,9 +52,6 @@ h2 { font-size: 1rem; font-weight: normal; letter-spacing: .05em; } /* Login */ .login-box { max-width: 360px; margin: 4rem auto; } -/* Error message */ -.error { color: #c44; } - /* Hashtags */ .hashtags { margin-top: .3rem; } .tag { font-size: .75rem; background: var(--pico-muted-background-color); padding: .1rem .4rem; border-radius: 999px; margin-right: .2rem; } diff --git a/backend/internal/api/templates/day.html b/backend/internal/api/templates/day.html index 19bdcb5..7171dff 100644 --- a/backend/internal/api/templates/day.html +++ b/backend/internal/api/templates/day.html @@ -5,45 +5,27 @@