mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-27 04:07:17 +00:00
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:
parent
b0ae8a50b5
commit
e409176642
12 changed files with 17 additions and 77 deletions
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html data-theme="{{ .theme }}">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>AnonymousOverflow - Private frontend for StackOverflow</title>
|
||||
|
@ -43,10 +43,9 @@
|
|||
<div class="options">
|
||||
<div class="icon">
|
||||
<a href="/options/images">
|
||||
<img src="/static/icons/image.svg" alt="Toggle theme" />
|
||||
<img src="/static/icons/image.svg" alt="Toggle images" />
|
||||
</a>
|
||||
</div>
|
||||
{{ template "themeSwitcher.html" .}}
|
||||
</div>
|
||||
<p class="footer">
|
||||
Brought to you by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue