From 77dc066a5a4a1b96b806f8441ecd33c211ff21bd Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 11:41:22 +0800 Subject: [PATCH] style.css: Add some non-fancy styles --- static/style.css | 13 ++++++++++++- diff --git a/static/style.css b/static/style.css index 0ac7c32c444d3ff60ab3c5423f2e67cb47733f30..e816df1cc39aaa7e6dd439806727a7d4e7a776c4 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 @@ } .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; +} -- 2.48.1