From 3c39d1553de92cd6cac891f2c3b186701ec60332 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 14 Feb 2024 22:40:09 +0100 Subject: Remove unnecessary static files --- static/css/style.css | 21 --------------------- static/favicon.ico | Bin 198 -> 0 bytes static/favicon.png | Bin 154 -> 0 bytes static/images/header_background.png | Bin 311576 -> 0 bytes static/images/header_foreground.png | Bin 307546 -> 0 bytes static/js/blog.js | 26 -------------------------- 6 files changed, 47 deletions(-) delete mode 100644 static/css/style.css delete mode 100644 static/favicon.ico delete mode 100644 static/favicon.png delete mode 100644 static/images/header_background.png delete mode 100644 static/images/header_foreground.png delete mode 100644 static/js/blog.js (limited to 'static') diff --git a/static/css/style.css b/static/css/style.css deleted file mode 100644 index 0261e9d..0000000 --- a/static/css/style.css +++ /dev/null @@ -1,21 +0,0 @@ -canvas { - width: 64px; - height: 64px; - display: inline-block; - background-color: gainsboro; -} - -@media (prefers-color-scheme: dark) { - body { - color: white; - background-color: black; - } - - a { - color: #5dc1fd; - } - - a:visited { - color: #ed6eff; - } -} diff --git a/static/favicon.ico b/static/favicon.ico deleted file mode 100644 index 2399da6..0000000 Binary files a/static/favicon.ico and /dev/null differ diff --git a/static/favicon.png b/static/favicon.png deleted file mode 100644 index d4c3bb0..0000000 Binary files a/static/favicon.png and /dev/null differ diff --git a/static/images/header_background.png b/static/images/header_background.png deleted file mode 100644 index 6d1989f..0000000 Binary files a/static/images/header_background.png and /dev/null differ diff --git a/static/images/header_foreground.png b/static/images/header_foreground.png deleted file mode 100644 index e0fadd1..0000000 Binary files a/static/images/header_foreground.png and /dev/null differ diff --git a/static/js/blog.js b/static/js/blog.js deleted file mode 100644 index 68c13da..0000000 --- a/static/js/blog.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -/* globals window */ - -((w) => { - - const internals = { - // Application entry point, for now just band to keyboard - - main() { - - w.document.addEventListener('keydown', internals._onKeyDown); - }, - - // Handles key events to point to the correct blog post. - - _onKeyDown(e) { - - if (['1','2','3'].indexOf(e.key) > -1) { - w.location.hash = e.key; - } - } - }; - - w.addEventListener('load', internals.main); -})(window); -- cgit