diff --git a/assets/images/logo.svg b/assets/images/logo.svg deleted file mode 100644 index a190e24..0000000 --- a/assets/images/logo.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/assets/images/logo192.png b/assets/images/logo192.png deleted file mode 100644 index 7771244..0000000 Binary files a/assets/images/logo192.png and /dev/null differ diff --git a/assets/images/logo256.png b/assets/images/logo256.png new file mode 100644 index 0000000..39ab1fc Binary files /dev/null and b/assets/images/logo256.png differ diff --git a/assets/images/logo384.png b/assets/images/logo384.png deleted file mode 100644 index b97da47..0000000 Binary files a/assets/images/logo384.png and /dev/null differ diff --git a/assets/images/logo768.png b/assets/images/logo768.png deleted file mode 100644 index 74bacd1..0000000 Binary files a/assets/images/logo768.png and /dev/null differ diff --git a/assets/images/logo96.png b/assets/images/logo96.png deleted file mode 100644 index 0c43381..0000000 Binary files a/assets/images/logo96.png and /dev/null differ diff --git a/assets/images/logo96inv.png b/assets/images/logo96inv.png deleted file mode 100644 index c33dc8b..0000000 Binary files a/assets/images/logo96inv.png and /dev/null differ diff --git a/assets/manifest.webmanifest b/assets/manifest.webmanifest index 7cdbddb..a71e26c 100644 --- a/assets/manifest.webmanifest +++ b/assets/manifest.webmanifest @@ -10,24 +10,8 @@ "orientation": "any", "icons": [ { - "src": "/assets/images/logo96.png", - "sizes": "96x96" - }, - { - "src": "/assets/images/logo192.png", - "sizes": "192x192" - }, - { - "src": "/assets/images/logo384.png", - "sizes": "384x384" - }, - { - "src": "/assets/images/logo768.png", - "sizes": "768x768" - }, - { - "src": "/assets/images/logo.svg", - "sizes": "512x512" + "src": "/assets/images/logo256.png", + "sizes": "256x256" } ], "theme_color": "#000000", diff --git a/assets/offline.html b/assets/offline.html index 5866ff2..52ccced 100644 --- a/assets/offline.html +++ b/assets/offline.html @@ -16,7 +16,7 @@ comments: off
  • ???
  • This site uses a service worker to provide a limited offline mode, but it doesn't work for everything (dynamic pages, ones requiring a bit of server logic, the comments system, pages which haven't been cached), so you are being shown this instead. -Please enjoy the below "flappy bird" game until your connection comes back, thanks to palaiologos (click or press space). +Please enjoy the below "flappy bird" game until your connection comes back, thanks to palaiologos and ubq323 (click or press space).

    diff --git a/assets/sw.js b/assets/sw.js index 237b93a..14bb5d9 100644 --- a/assets/sw.js +++ b/assets/sw.js @@ -4,8 +4,8 @@ const cacheName = `${siteVersion}-v1` const precache = [ offlinePage, "/index.html", - "/assets/images/logo.svg", - "/assets/images/icon.png", + "/assets/images/logo256.png", + //"/assets/images/icon.png", "/assets/js/page.js", "/points/index.html", "/points/index.js", diff --git a/style.sass b/style.sass index 260e752..6813990 100644 --- a/style.sass +++ b/style.sass @@ -14,8 +14,17 @@ nav background: black .logo - width: 1.5em - height: 1.5em + width: 1.5rem + height: 1.5rem + image-rendering: crisp-edges + image-rendering: pixelated + + .logocont + display: flex + align-items: center + font-style: italic + color: white + font-size: 1.25em a, img margin-right: 0.5em diff --git a/templates/layout.pug b/templates/layout.pug index 27c075b..7353843 100644 --- a/templates/layout.pug +++ b/templates/layout.pug @@ -11,14 +11,15 @@ html(lang="en") if description meta(name="description", content=description) link(rel="manifest", href="/assets/manifest.webmanifest") - link(rel="shortcut icon", href="/assets/images/logo96inv.png", type="image/png") + link(rel="shortcut icon", href="/assets/images/logo256.png", type="image/png") style!= css if comments !== "off" script(src=`https://${domain}/isso/js/embed.min.js`, async=true, data-isso=`https://${domain}/isso/`) body nav - a(href="/") - img.logo(src="/assets/images/logo.svg", alt="") + a.logocont(href="/") + img.logo(src="/assets/images/logo256.png", alt="osmarks.net logo") + .logotext osmarks +nav-item("/", "Index") +nav-item(`https://status.${domain}/`, "Status") +nav-item(`https://i.${domain}/`, "Images")