From 16c74dbf983da91b192d692fee1c9ade5266cc9b Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 12 Dec 2025 16:05:16 -0500 Subject: revamped homepage (making it look similar to shiftos); updated astro --- src/styles/style.css | 63 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 21 deletions(-) (limited to 'src/styles/style.css') diff --git a/src/styles/style.css b/src/styles/style.css index 737c6fc..dc1ea6d 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -1,8 +1,47 @@ -@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap'); +@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap"); + +@media (prefers-color-scheme: dark) { + body { + background: #252525; + color: #ffffff; + } + + a { + color: #00e600; + text-decoration: none; + } + + a:hover { + color: #00ff00; + } + + a:active { + color: #009400; + } +} + +@media (prefers-color-scheme: light) { + body { + background: #f3f3f3; + color: #000000; + } + + a { + color: #009000; + text-decoration: none; + } + + a:hover { + color: #00d000; + } + + a:active { + color: #00e100; + } +} + body { font-family: "JetBrains Mono", monospace; - background: #252525; - color: white; } .container { @@ -15,24 +54,6 @@ body { text-align: center; } -a { - color: #00e600; - text-decoration: none; -} - -a:hover { - color: #00ff00; -} - -a:active { - color: #009400; -} - -.nav { - font-size: 1.2em; - font-weight: bold; -} - p { font-size: 1.1em; } -- cgit v1.2.3