From 62441f371861db9f1aa157a1bc371b04dc601607 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 29 Jun 2026 10:25:11 -0600 Subject: [PATCH] Styling bs --- public/assets/css/theme.css | 61 +++++++++++++++++++++++++++++++++++++ public/directory/index.html | 1 + public/docs/index.html | 3 +- public/status/index.html | 11 ++----- public/validator/index.html | 1 + views/admin/create.ejs | 1 + views/admin/edit.ejs | 1 + views/admin/index.ejs | 1 + views/admin/login.ejs | 1 + views/admin/register.ejs | 1 + views/user/edit.ejs | 1 + views/user/index.ejs | 3 +- views/user/login.ejs | 1 + 13 files changed, 77 insertions(+), 10 deletions(-) create mode 100644 public/assets/css/theme.css diff --git a/public/assets/css/theme.css b/public/assets/css/theme.css new file mode 100644 index 0000000..40a55ef --- /dev/null +++ b/public/assets/css/theme.css @@ -0,0 +1,61 @@ +/* AstroCom Theme — consistent dark palette applied over Bootstrap */ +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap'); + +body { + background-color: #111 !important; + color: #f0f0f0 !important; + font-family: 'Inter', sans-serif; +} + +/* ── Navbar ─────────────────────────────────── */ +.navbar.bg-dark { + background-color: #0d0d0d !important; + border-bottom: 1px solid #2e2e2e; +} + +/* ── Cards ──────────────────────────────────── */ +.card.bg-dark, +.card.bg-secondary { + background-color: #1e1e1e !important; + border: 1px solid #2e2e2e !important; + color: #f0f0f0 !important; +} + +.card.bg-dark .card-title, +.card.bg-secondary .card-title { + color: #f0f0f0; +} + +/* ── Tables ─────────────────────────────────── */ +.table-dark { + --bs-table-bg: #1e1e1e; + --bs-table-striped-bg: #252525; + --bs-table-border-color: #2e2e2e; + --bs-table-color: #f0f0f0; +} + +/* ── Form controls ──────────────────────────── */ +.form-control, +.form-control.bg-dark { + background-color: #1a1a1a !important; + border-color: #3a3a3a !important; + color: #f0f0f0 !important; +} + +.form-control:focus { + background-color: #222 !important; + border-color: #555 !important; + color: #f0f0f0 !important; + box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.08) !important; +} + +.form-control::placeholder { + color: #666; +} + +/* ── Alerts ─────────────────────────────────── */ +.alert-secondary { + background-color: #2a2a2a; + border-color: #3a3a3a; + color: #f0f0f0; +} diff --git a/public/directory/index.html b/public/directory/index.html index 005971a..c63e4fd 100644 --- a/public/directory/index.html +++ b/public/directory/index.html @@ -5,6 +5,7 @@ + AstroCom Directory diff --git a/public/status/index.html b/public/status/index.html index e7f9fc4..7d30acf 100644 --- a/public/status/index.html +++ b/public/status/index.html @@ -5,15 +5,10 @@ + AstroCom — Server Status