From 77dc066a5a4a1b96b806f8441ecd33c211ff21bd Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 11:41:22 +0800 Subject: style.css: Add some non-fancy styles --- static/style.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 0ac7c32..e816df1 100644 --- a/static/style.css +++ b/static/style.css @@ -1,5 +1,8 @@ html { font-family: sans-serif; + --link-color: #7c3e66; + --text-decoration-color: #b8b8b8; + --box-background-color: #e6e6e6; } html, code, pre { font-size: 1rem; @@ -13,4 +16,12 @@ html, code, pre { .padding-wrapper > * { width: 100%; } - +a:link, a:visited { + text-decoration-color: var(--text-decoration-color); + color: var(--link-color); +} +code { + background-color: var(--box-background-color); + border-radius: 2px; + padding: 2px; +} -- cgit v1.2.3