From f36b60cd060977178a533eba89914171dd065f8a Mon Sep 17 00:00:00 2001 From: Zoeycode Date: Thu, 19 Aug 2021 21:30:09 +0000 Subject: [PATCH] deploy: 4b9af5693550ebac1e1beccae2dbb24781a17e65 --- styles/index.css | 18 +++++++++++++++++- test.html | 22 ---------------------- 2 files changed, 17 insertions(+), 23 deletions(-) delete mode 100644 test.html diff --git a/styles/index.css b/styles/index.css index f19596a..526549a 100644 --- a/styles/index.css +++ b/styles/index.css @@ -1,16 +1,32 @@ body { font-family: sans-serif; margin: 0; + background-color: var(--bg-color); + color: var(--text-color); + height: 100vh; + --bg-color: #eee; + --text-color: black; + --accent-color: #0ad; + --accent-text-color: var(--text-color); +} +@media (prefers-color-scheme: dark) { + body { + --bg-color: #333; + --text-color: #aaa; + --accent-text-color: var(--bg-color); + } } header.main-header { display: block; padding: 4px; - background-color: #0ad; + background-color: var(--accent-color); + color: var(--accent-text-color); } a { text-decoration: none; + color: var(--accent-color); } a:hover, a:focus { text-decoration: underline; diff --git a/test.html b/test.html deleted file mode 100644 index 5c99891..0000000 --- a/test.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - -zoey.dev / Test Page - - -
- Zoey's website | - she/her -
-
-

Heading

-

Hi there.

- -
- - -