add light mode
This commit is contained in:
11 files changed
+689
-35
No files matched your search
@@ -5,6 +5,17 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>404 — Havox</title>
|
||||
<meta name="description" content="Page not found." />
|
||||
<meta
|
||||
name="theme-color"
|
||||
content="#1e1e2e"
|
||||
media="(prefers-color-scheme: dark)"
|
||||
/>
|
||||
<meta
|
||||
name="theme-color"
|
||||
content="#eff1f5"
|
||||
media="(prefers-color-scheme: light)"
|
||||
/>
|
||||
<script src="theme.js"></script>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,700;1,400&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;1,9..144,300&display=swap"
|
||||
@@ -18,12 +29,22 @@
|
||||
<!-- ─── Nav ─────────────────────────────────────────────────── -->
|
||||
<nav>
|
||||
<a href="index.html" class="nav-logo">havox</a>
|
||||
<ul class="nav-links">
|
||||
<li><a href="index.html#about">about</a></li>
|
||||
<li><a href="index.html#skills">skills</a></li>
|
||||
<li><a href="index.html#projects">projects</a></li>
|
||||
<li><a href="index.html#contact">contact</a></li>
|
||||
</ul>
|
||||
<div class="nav-actions">
|
||||
<ul class="nav-links">
|
||||
<li><a href="index.html#about">about</a></li>
|
||||
<li><a href="index.html#skills">skills</a></li>
|
||||
<li><a href="index.html#projects">projects</a></li>
|
||||
<li><a href="index.html#contact">contact</a></li>
|
||||
</ul>
|
||||
<button
|
||||
class="theme-toggle"
|
||||
type="button"
|
||||
aria-label="Switch colour theme"
|
||||
hidden
|
||||
>
|
||||
<span class="theme-icon" aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- ─── 404 ──────────────────────────────────────────────────── -->
|
||||
|
||||
Reference in new issue
Block a user