media query theme (#139)

* feat: use css media query to derive theme

* fix: rename alt for toggle images

* feat: remove no-cache middleware
This commit is contained in:
httpjamesm 2024-06-20 00:18:22 -04:00 committed by GitHub
parent b0ae8a50b5
commit e409176642
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 17 additions and 77 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html data-theme="{{ .theme }}">
<html>
<head>
<title>{{ .question.Title }} | AnonymousOverflow</title>
@ -25,7 +25,6 @@
<a href="/" class="logo-link">
<img class="logo" src="/static/codecircles.webp" alt="AnonymousOverflow home" />
</a>
{{ template "themeSwitcher.html" . }}
</div>
<div class="card">
<div class="card-header">