From 0888f273e817c9d860d8d92dde176509637ed0b5 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 3 Jan 2025 20:48:53 +0800 Subject: Initial commit --- assets/style.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 assets/style.css (limited to 'assets') diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 0000000..cc7b1d6 --- /dev/null +++ b/assets/style.css @@ -0,0 +1,35 @@ +html { + font-family: system-ui, sans-serif; + --bg: hsl(32, 98%, 92%); + --fg: #1E1F21; + --link-color: #24527d; + --text-decoration-color: #CCC; + color: var(--fg); + background-color: var(--bg); +} +@media(prefers-color-scheme:dark) { + html { + --bg: #1E1F21; + --fg: #EEEFF1; + --link-color: #5ca7ed; + --text-decoration-color: #474747; + } +} + +body { + margin: 0 auto; + padding: 1rem; +} + +body:not(.wide) { + max-width: 50rem; +} + +h1 { + text-align: center; +} + +a:link, a:visited { + text-decoration-color: var(--text-decoration-color); + color: var(--link-color); +} -- cgit v1.2.3