arcature 0.1.2

Arcature: an opinionated full-stack Rust web framework. One package, batteries included.
Documentation
/* Global application stylesheet.
 *
 * Arcature does not impose a CSS framework. This is a minimal baseline so the
 * generated app looks reasonable out of the box. Replace with Tailwind,
 * your own reset, or nothing.
 */

:root {
  --fg: #1a1a1a;
  --bg: #fafafa;
  --accent: #2563eb;
  --border: #e5e7eb;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.content {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  margin: 1rem auto;
  max-width: 56rem;
}

.flash-success {
  background: #d1fae5;
  color: #065f46;
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
}

.flash-warning {
  background: #fef3c7;
  color: #92400e;
}

.flash-info {
  background: #dbeafe;
  color: #1e40af;
}

.card {
  max-width: 26rem;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.card h1 {
  margin-top: 0;
  font-size: 1.375rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.field input {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font: inherit;
}

.field .error {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: #b91c1c;
}

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 0.375rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.muted {
  color: var(--muted);
  font-size: 0.875rem;
}

.error-page {
  max-width: 32rem;
  margin: 6rem auto;
  text-align: center;
}

.error-page .status {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}