From 1872da79b977667ee01da1de1980384c7fe77dcc Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 23 Mar 2025 22:52:52 +0800 Subject: tmpl.go: A few more styling improvements --- tmpl.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmpl.go') diff --git a/tmpl.go b/tmpl.go index 4910c7f..0936771 100644 --- a/tmpl.go +++ b/tmpl.go @@ -81,7 +81,6 @@ func init() { h1 { margin-top: 0; - color: var(--primary-color); } p, summary { @@ -98,6 +97,7 @@ func init() { font-family: monospace; font-size: 1rem; background-color: var(--lighter-box-background-color); + color: var(--text-color); width: 100%; padding: 0.5rem; border-radius: var(--radius-1); @@ -132,6 +132,7 @@ func init() { pre { overflow-x: auto; + display: block; white-space: pre-wrap; word-break: break-word; } -- cgit v1.2.3