From 9ecf55c6f3ba622e7b2d6ea6292bca126fd47452 Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sat, 21 Feb 2026 13:24:38 +0100 Subject: Extract a style for consistency --- src/html.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/html.c b/src/html.c index c843b51..4365990 100644 --- a/src/html.c +++ b/src/html.c @@ -46,6 +46,18 @@ static void emit_stylesheet(FILE *f) { "header small { color: var(--dim); font-size: 12px; font-family: var(--mono); }\n" "header a { color: var(--dim); font-size: 12px; }\n" "header a:hover { color: var(--green); }\n" + "header form { display: inline; }\n" + "button.logout {\n" + " border: none;\n" + " background: none;\n" + " color: var(--dim);\n" + " font-size: 12px;\n" + " padding: 0;\n" + " cursor: pointer;\n" + " text-transform: none;\n" + " letter-spacing: 0;\n" + "}\n" + "button.logout:hover { color: var(--green); }\n" "/* MAIN CONTENT */\n" "main { max-width: 860px; margin: 0 auto; padding: 24px 16px; }\n" "/* LOGIN */\n" @@ -345,7 +357,7 @@ char *html_render_clients_page(const char *host, const struct ListClientResult * "\n" "
\n" " BorgFlag\n" - "
\n" + "
\n" "
\n" "
\n" "

\n" @@ -444,7 +456,7 @@ char *html_render_client_detail_page(const char *host, const struct GetClientOnl "\n" "
\n" " BorgFlag\n" - "
\n" + "
\n" "
\n" "
\n" " ← Back to clients\n" -- cgit v1.2.3