aboutsummaryrefslogtreecommitdiff
path: root/build/dark-mode
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-06 07:52:09 -0400
committerBradley Taunt <bt@btxx.org>2024-07-06 07:52:09 -0400
commit2b545623c8d2751aa76ad5de0ebefcadd9b13904 (patch)
treead77fcd7700efc46fbce75e82f609264b627dcb7 /build/dark-mode
parent80dcfd3c693f756c89f882a3f508f77ad6911c2b (diff)
Remove build and include gitignore
Diffstat (limited to 'build/dark-mode')
-rw-r--r--build/dark-mode/index.html44
1 files changed, 0 insertions, 44 deletions
diff --git a/build/dark-mode/index.html b/build/dark-mode/index.html
deleted file mode 100644
index ac3c5bf..0000000
--- a/build/dark-mode/index.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="icon" href="data:,">
- <title>Supporting Basic Dark Mode</title>
- <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
- <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
- <style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}.footnotes{font-size:90%;}</style>
-</head>
-
-<nav>
- <a href="#menu">Menu &darr;</a>
-</nav>
-
-<main>
-<h1 id="supporting-basic-dark-mode">Supporting Basic Dark Mode</h1>
-<p>2023-03-07</p>
-<p>The default <code>barf</code> site generator now supports basic dark mode functionality. This has been achieved by including the standard <code>color-scheme</code> meta tag in the core <code>header.html</code> file:</p>
-<pre><code>&#60;meta name="color-scheme" content="dark light"&#62;
-</code></pre>
-<p>This change also ships with some minor updates to the default <code>blockquote</code> design. You can see an example below:</p>
-<blockquote>
-<p>This is a really <em>cool</em> blockquote</p>
-</blockquote>
-<h2 id="minor-caveat">Minor Caveat</h2>
-<p>Unfortunately, Safari still has minor <code>ahref</code> &#47; link color issue when defaulting to browser dark mode. If this is a problem for your own build of <code>barf</code>, take a look at a <a href="https://bt.ht/safari-default-dark-mode/">solution I wrote about here</a>.</p>
-<p>Personally, I can&#8217;t be bothered to add that extra code to this project. The Safari team needs to get their shit together and fix such a simple bug. Plus, you shouldn&#8217;t be using Safari anyway - it&#8217;s proprietary garbage.</p>
-<footer role="contentinfo">
- <hr>
- <h3 id="menu">Menu Navigation</h3>
- <ul>
- <li><a href="/">Home</a></li>
- <li><a href="/about">About</a></li>
- <li><a href="/websites">Websites</a></li>
- <li><a href="https://git.btxx.org/barf">Source Code</a></li>
- </ul>
- <small>
- Feeds: <a href="/atom.xml">Atom</a> | <a href="/rss.xml">RSS</a> <br>
- Built with <a href="https://barf.btxx.org">barf</a>. <br>
- The <a href="https://git.sr.ht/~bt/barf">code for this site</a> is MIT.
- </small>
-</footer> \ No newline at end of file