This commit is contained in:
Zoeycode 2021-08-19 21:30:09 +00:00
parent da51c0ae0e
commit f36b60cd06
2 changed files with 17 additions and 23 deletions

View file

@ -1,16 +1,32 @@
body { body {
font-family: sans-serif; font-family: sans-serif;
margin: 0; 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 { header.main-header {
display: block; display: block;
padding: 4px; padding: 4px;
background-color: #0ad; background-color: var(--accent-color);
color: var(--accent-text-color);
} }
a { a {
text-decoration: none; text-decoration: none;
color: var(--accent-color);
} }
a:hover, a:focus { a:hover, a:focus {
text-decoration: underline; text-decoration: underline;

View file

@ -1,22 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head><meta charset="utf-8">
<meta name="referrer" content="no-referrer">
<link rel="stylesheet" href="/styles/index.css">
<title>zoey.dev / Test Page</title><base href="https://zoey.dev"></head>
<body>
<header class="main-header">
<span class="name">Zoey</span>'s website |
<span class="pronouns">she/her</span>
</header>
<main class="page">
<h1>Heading</h1>
<p><em>Hi</em> there.</p>
</main>
</body>
</html>