m
Anirudh Oppiliappan x@icyphox.sh
Wed, 21 Aug 2024 00:25:32 +0300
2 files changed,
4 insertions(+),
6 deletions(-)
M
views/style.css
→
views/style.css
@@ -60,7 +60,7 @@ background: var(--bg-page);
color: var(--fg); font-size: 1rem !important; word-wrap: break-word; - font-family: "InterVar", -apple-system, sans-serif, "Noto Color Emoji"; + font-family: "InterVariable", -apple-system, sans-serif, "Noto Color Emoji"; line-height: 1.2; overscroll-behavior-y: contain; overflow: overlay;@@ -84,7 +84,7 @@ overflow-x: auto;
} form, input, textarea { - font-family: "InterVar", -apple-system, sans-serif, "Noto Color Emoji"; + font-family: "InterVariable", -apple-system, sans-serif, "Noto Color Emoji"; } p { margin-top: 1em;@@ -176,7 +176,7 @@ }
label.button, button, select { border: none; font-size: 1rem; - font-family: "InterVar", -apple-system, sans-serif, "Noto Color Emoji"; + font-family: "InterVariable", -apple-system, sans-serif, "Noto Color Emoji"; color: var(--fg); padding: 0.2em; background: var(--bg-dark);
M
web.go
→
web.go
@@ -2620,9 +2620,6 @@ func serveviewasset(w http.ResponseWriter, r *http.Request) {
serveasset(w, r, viewDir) } func servedataasset(w http.ResponseWriter, r *http.Request) { - if r.URL.Path == "/favicon.ico" { - r.URL.Path = "/icon.png" - } serveasset(w, r, dataDir) }@@ -3213,6 +3210,7 @@ getters.HandleFunc("/local.css", servedataasset)
getters.HandleFunc("/local.js", servedataasset) getters.HandleFunc("/icon.png", servedataasset) getters.HandleFunc("/favicon.ico", servedataasset) + getters.HandleFunc("/apple-touch-icon.png", servedataasset) getters.HandleFunc("/manifest.webmanifest", serveviewasset) getters.HandleFunc("/about", servehtml)