From e4f968cec07f2e881e7ef5966a5bf56735a96ee8 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Thu, 2 Jan 2025 20:43:23 -0800 Subject: make it look better --- create_service.sh | 4 ++-- template/static/css/styles.css | 41 ++++++++++++++++++++++++++++++++++++++++ template/static/img/favicon.ico | Bin 0 -> 591 bytes template/templates/base.html | 19 ++++++++++++++++++- 4 files changed, 61 insertions(+), 3 deletions(-) create mode 100644 template/static/img/favicon.ico diff --git a/create_service.sh b/create_service.sh index 59312d0..acbdf5f 100755 --- a/create_service.sh +++ b/create_service.sh @@ -5,8 +5,8 @@ set -e DNS_ENDPOINT="https://hatecomputers.club/dns" BIND_FILE="roles/nameservers/templates/db.simponic.xyz.j2" -SERVICE_TITLE="something simponic." -SERVICE="something" +SERVICE_TITLE="phoneof simponic." +SERVICE="phoneof" SERVICE_PORT="6363" SERVICE_REPO="git.simponic.xyz/simponic/$SERVICE" SERVICE_ORIGIN="git@git.simponic.xyz:simponic/$SERVICE" diff --git a/template/static/css/styles.css b/template/static/css/styles.css index f5d4f78..c025c3e 100644 --- a/template/static/css/styles.css +++ b/template/static/css/styles.css @@ -9,10 +9,51 @@ * { box-sizing: border-box; +} + +html { + margin: 0; + padding: 0; color: var(--text-color); font-family: GeistMono; } body { background-color: var(--background-color); + min-height: 100vh; +} + +hr { + border: 0; + border-top: 1px solid var(--text-color); + + margin: 20px 0; +} + +.container { + max-width: 1600px; + margin: auto; + background-color: var(--container-bg); + padding: 1rem; +} + + +a { + color: var(--link-color); + text-decoration: none; + font-weight: bold; +} +a:hover { + text-decoration: underline; +} + +.info { + margin-bottom: 1rem; + max-width: 600px; + + transition: opacity 0.3s; +} + +.info:hover { + opacity: 0.8; } diff --git a/template/static/img/favicon.ico b/template/static/img/favicon.ico new file mode 100644 index 0000000..58c53c3 Binary files /dev/null and b/template/static/img/favicon.ico differ diff --git a/template/templates/base.html b/template/templates/base.html index 14b5e88..8d6aab2 100644 --- a/template/templates/base.html +++ b/template/templates/base.html @@ -5,10 +5,27 @@ {{ service_title }} + + + + + + + + + + - +
+
+

{{ service }}

+ home. + | + light mode. +
+
{{ template "content" . }}
-- cgit v1.2.3-70-g09d2