From 02e3818afdfb951573129f068a8d85a701a17613 Mon Sep 17 00:00:00 2001 From: Marin Ivanov Date: Wed, 21 Jan 2026 00:21:49 +0200 Subject: back button and blue link color --- template.html | 46 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/template.html b/template.html index d4b390f..2d7f9e6 100644 --- a/template.html +++ b/template.html @@ -15,6 +15,7 @@ --primary: #2da44e; --primary-hover: #2c974b; --danger: #cf222e; + --link: #0969da; --radius: 3px; } @media (prefers-color-scheme: dark) { @@ -24,7 +25,7 @@ --border: #30363d; --text: #c9d1d9; --muted: #8b949e; - --primary: #238636; /* slightly adjusted for dark background visibility */ + --primary: #238636; --primary-hover: #2ea043; --danger: #f85149; } @@ -45,27 +46,45 @@ h1 { margin-bottom: 1rem; font-size: 1.6rem; - text-align: center; } a { + text-decoration: none; word-break: break-all; - color: var(--primary); + color: var(--link); } a:hover { text-decoration: underline; } + a.button { + display: inline-block; + background: var(--primary); + color: white; + text-decoration: none; + font-weight: 600; + font-size: 0.95rem; + padding: 0.6rem 1.2rem; + border-radius: var(--radius); + border: none; + cursor: pointer; + text-align: center; + line-height: 1.4; + } + + a.button:hover { + background: var(--primary-hover); + text-decoration: none; + } + .container { max-width: 900px; margin: 0 auto; } - #error { - color: var(--danger); - margin-bottom: 1rem; - font-weight: 500; + .center { + text-align: center; } .flex { @@ -159,7 +178,12 @@ background: var(--primary-hover); } - /* Preview card */ + #error { + color: var(--danger); + margin-bottom: 1rem; + font-weight: 500; + } + #preview-container { display: none; background: var(--card-bg); @@ -191,7 +215,7 @@
-

Bin-ки и глогинки. 🌿

+

Bin-ки и глогинки. 🌿

@@ -244,7 +268,9 @@ {{end}} - ↩ Back to New Post + {{end}}
-- cgit v1.2.3