aboutsummaryrefslogtreecommitdiff
path: root/src/styles/style.css
diff options
context:
space:
mode:
authorAndrew Lee <[email protected]>2025-12-12 16:05:16 -0500
committerAndrew Lee <[email protected]>2025-12-12 16:05:16 -0500
commit16c74dbf983da91b192d692fee1c9ade5266cc9b (patch)
treee30ff346155a61fd339640afefa976c4583c9cf2 /src/styles/style.css
parentacc3732f939c0f796b8dce2e5d47f3174e4e695d (diff)
downloadshiftos-archive-website-16c74dbf983da91b192d692fee1c9ade5266cc9b.tar.gz
shiftos-archive-website-16c74dbf983da91b192d692fee1c9ade5266cc9b.tar.bz2
shiftos-archive-website-16c74dbf983da91b192d692fee1c9ade5266cc9b.zip
revamped homepage (making it look similar to shiftos); updated astro
Diffstat (limited to 'src/styles/style.css')
-rw-r--r--src/styles/style.css63
1 files changed, 42 insertions, 21 deletions
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;
}