From 69c735d70cc1fc07bfc398542b8364b5e0a828f8 Mon Sep 17 00:00:00 2001 From: Simon Law Date: Fri, 21 Nov 2025 15:11:02 -0800 Subject: [PATCH] tmemes/{static,ui}: add nav link to the source repository Add a right-aligned link to the navigation bar to the source repository of this project: https://github.com/tailscale/tmemes Signed-off-by: Simon Law --- cmd/tmemes/static/style.css | 4 ++++ cmd/tmemes/ui/nav.tmpl | 1 + 2 files changed, 5 insertions(+) diff --git a/cmd/tmemes/static/style.css b/cmd/tmemes/static/style.css index 310e4d0..ad49103 100644 --- a/cmd/tmemes/static/style.css +++ b/cmd/tmemes/static/style.css @@ -95,6 +95,10 @@ nav a { color: var(--bg-cards); } +nav :nth-child(1 of a.align-right) { + margin-left: auto; +} + nav a:hover, nav a.active { color: var(--text-body); diff --git a/cmd/tmemes/ui/nav.tmpl b/cmd/tmemes/ui/nav.tmpl index 8e1e03e..c7afe23 100644 --- a/cmd/tmemes/ui/nav.tmpl +++ b/cmd/tmemes/ui/nav.tmpl @@ -4,5 +4,6 @@ Macros Templates Upload template + Source