diff --git a/.eleventy.js b/.eleventy.js index a9639c5..325798e 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,7 +1,29 @@ +const fs = require("fs"); +const path = require("path"); + module.exports = function(eleventyConfig) { eleventyConfig.addCollection("post", function(collectionApi) { return collectionApi.getFilteredByGlob("./posts/*").sort((a, b) => b.date - a.date); }); + eleventyConfig.addCollection("misc", (api) => + api.getFilteredByTag("misc") + ); + eleventyConfig.addFilter("getTranslation", (page, lang) => { + const dir = path.dirname(page.inputPath); + const file = path.join(dir, `${lang}.json`); + + if (fs.existsSync(file)) { + return JSON.parse(fs.readFileSync(file, "utf-8")); + } + + return {}; + }); + eleventyConfig.addCollection("88x31", () => { + return fs.readdirSync("static/images/88x31") + .map(file => ({ + url: `/static/images/88x31/${file}` + })); + }); eleventyConfig.addPassthroughCopy("static"); @@ -16,10 +38,10 @@ eleventyConfig.addNunjucksFilter("alternateLanguages", function(collection, post })) }); - eleventyConfig.addFilter("absoluteUrl", function(path) { - const base = "https://adrianvic.github.io"; - return base + path; - }); +eleventyConfig.addFilter("absoluteUrl", function(path) { + const base = "https://adrianvic.github.io"; + return base + path; +}); eleventyConfig.addNunjucksFilter("smartTitle", function(str) { if (!str) return ""; @@ -30,7 +52,7 @@ eleventyConfig.addNunjucksFilter("smartTitle", function(str) { return smallWords.includes(word) ? word : word.charAt(0).toUpperCase() + word.slice(1); }).join(" "); }); - return { + return { dir: { output: "docs" } diff --git a/_data/i18n.js b/_data/i18n.js index 9160da3..e416a57 100644 --- a/_data/i18n.js +++ b/_data/i18n.js @@ -56,7 +56,8 @@ module.exports = { hideBackground: "Hide background", options: "Options", alsoAvailableAsVideo: "Also available as video", - websiteDescription: "Personal website/blog of Adrian Victor." + websiteDescription: "Personal website/blog of Adrian Victor.", + miscellaneous: "Miscellaneous" }, pt: { language: "português", @@ -100,6 +101,7 @@ module.exports = { hideBackground: "Esconder imagem de fundo", options: "Opções", alsoAvailableAsVideo: "Também disponível em vídeo", - websiteDescription: "Website/blog pessoal de Adrian Victor." + websiteDescription: "Website/blog pessoal de Adrian Victor.", + miscellaneous: "Miscelâneo" } }; diff --git a/_includes/base.njk b/_includes/base.njk index d008577..85fb25a 100644 --- a/_includes/base.njk +++ b/_includes/base.njk @@ -7,6 +7,7 @@ + @@ -24,6 +25,13 @@ opacity: {{ backgroundOpacity or ".4" }}!important; } +
{% include "header.njk" %} diff --git a/_includes/header.njk b/_includes/header.njk index 7e8bd37..466f7c3 100644 --- a/_includes/header.njk +++ b/_includes/header.njk @@ -18,6 +18,7 @@
\ No newline at end of file diff --git a/index.njk b/index.njk index 17e2696..e639ac7 100644 --- a/index.njk +++ b/index.njk @@ -22,6 +22,14 @@ layout: base.njk

{{ i18n[langKey].welcome | smartTitle }}

{{ i18n[langKey].homeWelcomeParagraph | safe }}

+ + + + + + + +

{{ i18n[langKey].socialsAndContact | smartTitle }}

{{ i18n[langKey].homeSocialsAndContactParagraph | safe }}

{{ i18n[langKey].homeSocialsAndContactParagraphTwo | safe }}

@@ -36,7 +44,7 @@ layout: base.njk

{{ i18n[langKey].homeMyVideoParagraph | safe }}

{{ i18n[langKey].homeMyVideoRandomVideoParagraph | safe }}

-
+

{{ i18n[langKey].homeVideoTitle | safe }}

diff --git a/misc.njk b/misc.njk new file mode 100644 index 0000000..adf3a18 --- /dev/null +++ b/misc.njk @@ -0,0 +1,33 @@ +--- +pagination: + data: i18n + size: 1 + alias: langKey +permalink: "/{{ langKey }}/misc/index.html" +layout: base.njk +title: Adrian Victor:Misc +--- + +
+

{{ i18n[langKey].miscellaneous }}

+
+
\ No newline at end of file diff --git a/misc/88x31/en.json b/misc/88x31/en.json new file mode 100644 index 0000000..2149d7d --- /dev/null +++ b/misc/88x31/en.json @@ -0,0 +1,6 @@ +{ + "pageDescription": "My collection of 88x31 GIFs and images.", + "intro": "This is the collection of 88x31 GIFs and images I've downloaded across the web.", + "others": "Others", + "me": "Made by me" +} \ No newline at end of file diff --git a/misc/88x31/index.njk b/misc/88x31/index.njk new file mode 100644 index 0000000..4a2aa6f --- /dev/null +++ b/misc/88x31/index.njk @@ -0,0 +1,26 @@ +--- +layout: base.njk +pagination: + data: languages + size: 1 + alias: langKey + +pageTitle: 88x31 +tags: misc +--- + +
+
+

88x31

+

{{ t.intro }}

+
+
+

{{ t.me }}

+ +

{{ t.others }}

+
+ {% for image in collections.88x31 %} + + {% endfor %} +
+
\ No newline at end of file diff --git a/misc/88x31/pt.json b/misc/88x31/pt.json new file mode 100644 index 0000000..9beb933 --- /dev/null +++ b/misc/88x31/pt.json @@ -0,0 +1,6 @@ +{ + "pageDescription": "Minha coleção de GIFs e imagens 88x31.", + "intro": "Essa é uma coleção de GIFs e imagens 88x31 que eu baixei pela internet.", + "others": "Outros", + "me": "Feitos por mim" +} \ No newline at end of file diff --git a/misc/bookmarks/common.json b/misc/bookmarks/common.json new file mode 100644 index 0000000..1031dcb --- /dev/null +++ b/misc/bookmarks/common.json @@ -0,0 +1,43 @@ +{ + "links": { + "downloads": [ + { + "name": "MalwareWatch", + "link": "https://malwarewatch.org/", + "description": { + "pt": "Website do Enderman. Tem download de vários softwares úteis, imagens de sistemas operacionais e malware.", + "en": "Enderman's website. Provides download to various useful softwares, operating system images and malware." + } + }, + { + "name": "88x31", + "link": "https://88x31.nl/", + "description": { + "pt": "Essa é uma coleção de mais de 6500 GIFs e PNGs no formato 88x31. No final dos anos 1990 e começo dos 2000 era muito comum usar essas imagens no seu site pessoal.", + "en": "This website is a collection with over 6500 GIF's and PNG's in 88x31 format. In the late 1990 and begin of the 2000's it was very common to use these pictures on your personal website." + }, + "88x31": [ + "WEBP.gif" + ] + } + ], + "profiles": [ + { + "name": "Mr. Nando", + "link": "https://www.youtube.com/@mrnandokk", + "description": { + "pt": "Meu amigo Fernando, ele faz músicas e vídeos de Minecraft e speedrun.", + "en": "My friend Fernando, he makes music and YouTube videos of Minecraft and speedrun." + } + }, + { + "name": "Endermanch", + "link": "https://enderman.ch/", + "description": { + "pt": "Andrew é um engenheiro de software, entusiasta de malware e, mais importante, uma estranha e alta criatura. Cresci com os seus videos e ele é uma grande inspiração para mim.", + "en": "Andrew is a software engineer, a malware enthusiast and most importantly, a weird tall creature. I've grown up with his videos and he's a great inspiration for me." + } + } + ] + } +} \ No newline at end of file diff --git a/misc/bookmarks/en.json b/misc/bookmarks/en.json new file mode 100644 index 0000000..d56715a --- /dev/null +++ b/misc/bookmarks/en.json @@ -0,0 +1,6 @@ +{ + "pageTitle": "Bookmarks", + "pageDescription": "Minha coleção de sites e páginas interessantes.", + "profiles": "Profiles", + "downloads": "Downloads" +} \ No newline at end of file diff --git a/misc/bookmarks/index.njk b/misc/bookmarks/index.njk new file mode 100644 index 0000000..4faa014 --- /dev/null +++ b/misc/bookmarks/index.njk @@ -0,0 +1,36 @@ +--- +layout: base.njk +pagination: + data: languages + size: 1 + alias: langKey +tags: misc +background: towers.jpg +backgroundOpacity: .2 +--- + +
+
+

{{ t.pageTitle }}

+

{{ t.intro }}

+ +
+
+ {% for sectionName, section in c.links %} +

{{ t[sectionName] }}

+
+ {% for link in section %} +
{{ link.name }}
+
+ {% if link.88x31 %} + {% for 88x31 in link.88x31 %} + + {% endfor %} +
+ {% endif %} + {{ link.description[langKey] }} +
+ {% endfor %} +
+ {% endfor %} +
\ No newline at end of file diff --git a/misc/bookmarks/pt.json b/misc/bookmarks/pt.json new file mode 100644 index 0000000..6b4ae8a --- /dev/null +++ b/misc/bookmarks/pt.json @@ -0,0 +1,7 @@ +{ + "pageTitle": "Favoritos", + "pageDescription": "Minha coleção de sites e páginas interessantes.", + "profiles": "Perfis", + "downloads": "Downloads", + "intro": "Essa é a lista de links favoritos curada por mim, dividida em seções para facilitar a navegação ;-)" +} \ No newline at end of file diff --git a/misc/misc.11tydata.js b/misc/misc.11tydata.js new file mode 100644 index 0000000..c57590f --- /dev/null +++ b/misc/misc.11tydata.js @@ -0,0 +1,34 @@ +const fs = require("fs"); +const path = require("path"); + +module.exports = { + eleventyComputed: { + t: (data) => { + const dir = path.dirname(data.page.inputPath); + + const file = path.join(dir, `${data.langKey}.json`); + if (fs.existsSync(file)) { + return JSON.parse(fs.readFileSync(file, "utf-8")); + } + + return {}; + }, + c: (data) => { + const dir = path.dirname(data.page.inputPath); + + const file = path.join(dir, `common.json`); + if (fs.existsSync(file)) { + return JSON.parse(fs.readFileSync(file, "utf-8")); + } + + return {}; + } + }, + + + languages: ["en", "pt"], + permalink: data => { + return `/${data.langKey}/misc/${data.page.fileSlug}/`; + }, + tags: "misc" +}; \ No newline at end of file diff --git a/static/images/88x31/2001.gif b/static/images/88x31/2001.gif new file mode 100644 index 0000000..69a11b7 Binary files /dev/null and b/static/images/88x31/2001.gif differ diff --git a/static/images/88x31/2014-rave.gif b/static/images/88x31/2014-rave.gif new file mode 100644 index 0000000..28c2615 Binary files /dev/null and b/static/images/88x31/2014-rave.gif differ diff --git a/static/images/88x31/2ktan.png b/static/images/88x31/2ktan.png new file mode 100644 index 0000000..af33b58 Binary files /dev/null and b/static/images/88x31/2ktan.png differ diff --git a/static/images/88x31/88x31-your-ad.gif b/static/images/88x31/88x31-your-ad.gif new file mode 100644 index 0000000..e366403 Binary files /dev/null and b/static/images/88x31/88x31-your-ad.gif differ diff --git a/static/images/88x31/96.png b/static/images/88x31/96.png new file mode 100644 index 0000000..4576fbb Binary files /dev/null and b/static/images/88x31/96.png differ diff --git a/static/images/88x31/98.gif b/static/images/88x31/98.gif new file mode 100644 index 0000000..8132b5c Binary files /dev/null and b/static/images/88x31/98.gif differ diff --git a/static/images/88x31/BOOKMARKthispageNOW.png b/static/images/88x31/BOOKMARKthispageNOW.png new file mode 100644 index 0000000..5a01e10 Binary files /dev/null and b/static/images/88x31/BOOKMARKthispageNOW.png differ diff --git a/static/images/88x31/BWA_Boing_88x31_19991004.gif b/static/images/88x31/BWA_Boing_88x31_19991004.gif new file mode 100644 index 0000000..a467712 Binary files /dev/null and b/static/images/88x31/BWA_Boing_88x31_19991004.gif differ diff --git a/static/images/88x31/WEBP.gif b/static/images/88x31/WEBP.gif new file mode 100644 index 0000000..e63f1f2 Binary files /dev/null and b/static/images/88x31/WEBP.gif differ diff --git a/static/images/88x31/agoraroad.gif b/static/images/88x31/agoraroad.gif new file mode 100644 index 0000000..366f661 Binary files /dev/null and b/static/images/88x31/agoraroad.gif differ diff --git a/static/images/88x31/ai.gif b/static/images/88x31/ai.gif new file mode 100644 index 0000000..571bf9d Binary files /dev/null and b/static/images/88x31/ai.gif differ diff --git a/static/images/88x31/amd_now.gif b/static/images/88x31/amd_now.gif new file mode 100644 index 0000000..12b9000 Binary files /dev/null and b/static/images/88x31/amd_now.gif differ diff --git a/static/images/88x31/amd_powered.gif b/static/images/88x31/amd_powered.gif new file mode 100644 index 0000000..344cda4 Binary files /dev/null and b/static/images/88x31/amd_powered.gif differ diff --git a/static/images/88x31/amiga_friendly.gif b/static/images/88x31/amiga_friendly.gif new file mode 100644 index 0000000..75113f1 Binary files /dev/null and b/static/images/88x31/amiga_friendly.gif differ diff --git a/static/images/88x31/amiga_power.gif b/static/images/88x31/amiga_power.gif new file mode 100644 index 0000000..cebe83f Binary files /dev/null and b/static/images/88x31/amiga_power.gif differ diff --git a/static/images/88x31/amiga_rc5.gif b/static/images/88x31/amiga_rc5.gif new file mode 100644 index 0000000..ecd5cb0 Binary files /dev/null and b/static/images/88x31/amiga_rc5.gif differ diff --git a/static/images/88x31/angellogo.gif b/static/images/88x31/angellogo.gif new file mode 100644 index 0000000..d434ab7 Binary files /dev/null and b/static/images/88x31/angellogo.gif differ diff --git a/static/images/88x31/anybrowser.gif b/static/images/88x31/anybrowser.gif new file mode 100644 index 0000000..8b1f661 Binary files /dev/null and b/static/images/88x31/anybrowser.gif differ diff --git a/static/images/88x31/anybrowser6.gif b/static/images/88x31/anybrowser6.gif new file mode 100644 index 0000000..6c35d10 Binary files /dev/null and b/static/images/88x31/anybrowser6.gif differ diff --git a/static/images/88x31/armed.gif b/static/images/88x31/armed.gif new file mode 100644 index 0000000..33427ac Binary files /dev/null and b/static/images/88x31/armed.gif differ diff --git a/static/images/88x31/asexuals_now.gif b/static/images/88x31/asexuals_now.gif new file mode 100644 index 0000000..7642e36 Binary files /dev/null and b/static/images/88x31/asexuals_now.gif differ diff --git a/static/images/88x31/az01.gif b/static/images/88x31/az01.gif new file mode 100644 index 0000000..cd8590b Binary files /dev/null and b/static/images/88x31/az01.gif differ diff --git a/static/images/88x31/az02.gif b/static/images/88x31/az02.gif new file mode 100644 index 0000000..a904f0e Binary files /dev/null and b/static/images/88x31/az02.gif differ diff --git a/static/images/88x31/az03.gif b/static/images/88x31/az03.gif new file mode 100644 index 0000000..9b8ae67 Binary files /dev/null and b/static/images/88x31/az03.gif differ diff --git a/static/images/88x31/beos_now_anim.gif b/static/images/88x31/beos_now_anim.gif new file mode 100644 index 0000000..fe13b6a Binary files /dev/null and b/static/images/88x31/beos_now_anim.gif differ diff --git a/static/images/88x31/best1024.gif b/static/images/88x31/best1024.gif new file mode 100644 index 0000000..b3e87c6 Binary files /dev/null and b/static/images/88x31/best1024.gif differ diff --git a/static/images/88x31/best800x600.gif b/static/images/88x31/best800x600.gif new file mode 100644 index 0000000..c93fcf6 Binary files /dev/null and b/static/images/88x31/best800x600.gif differ diff --git a/static/images/88x31/best_free.gif b/static/images/88x31/best_free.gif new file mode 100644 index 0000000..5a6931c Binary files /dev/null and b/static/images/88x31/best_free.gif differ diff --git a/static/images/88x31/best_viewed_with_monitor.gif b/static/images/88x31/best_viewed_with_monitor.gif new file mode 100644 index 0000000..5e1afea Binary files /dev/null and b/static/images/88x31/best_viewed_with_monitor.gif differ diff --git a/static/images/88x31/best_viewed_with_open_eyes.gif b/static/images/88x31/best_viewed_with_open_eyes.gif new file mode 100644 index 0000000..27581b7 Binary files /dev/null and b/static/images/88x31/best_viewed_with_open_eyes.gif differ diff --git a/static/images/88x31/bestviewed16bit.gif b/static/images/88x31/bestviewed16bit.gif new file mode 100644 index 0000000..e8f8acd Binary files /dev/null and b/static/images/88x31/bestviewed16bit.gif differ diff --git a/static/images/88x31/bestviewedcomp.gif b/static/images/88x31/bestviewedcomp.gif new file mode 100644 index 0000000..0b43d5a Binary files /dev/null and b/static/images/88x31/bestviewedcomp.gif differ diff --git a/static/images/88x31/bestvieweddesktop.gif b/static/images/88x31/bestvieweddesktop.gif new file mode 100644 index 0000000..06620c0 Binary files /dev/null and b/static/images/88x31/bestvieweddesktop.gif differ diff --git a/static/images/88x31/bestviewedlinks.gif b/static/images/88x31/bestviewedlinks.gif new file mode 100644 index 0000000..5b35db4 Binary files /dev/null and b/static/images/88x31/bestviewedlinks.gif differ diff --git a/static/images/88x31/bestviewedopen.gif b/static/images/88x31/bestviewedopen.gif new file mode 100644 index 0000000..fcae15a Binary files /dev/null and b/static/images/88x31/bestviewedopen.gif differ diff --git a/static/images/88x31/bestviewedyour.gif b/static/images/88x31/bestviewedyour.gif new file mode 100644 index 0000000..9f45a84 Binary files /dev/null and b/static/images/88x31/bestviewedyour.gif differ diff --git a/static/images/88x31/bestvw.gif b/static/images/88x31/bestvw.gif new file mode 100644 index 0000000..3695756 Binary files /dev/null and b/static/images/88x31/bestvw.gif differ diff --git a/static/images/88x31/blank.gif b/static/images/88x31/blank.gif new file mode 100644 index 0000000..d5320c8 Binary files /dev/null and b/static/images/88x31/blank.gif differ diff --git a/static/images/88x31/blasphemy.gif b/static/images/88x31/blasphemy.gif new file mode 100644 index 0000000..e0da2ad Binary files /dev/null and b/static/images/88x31/blasphemy.gif differ diff --git a/static/images/88x31/blender_get.gif b/static/images/88x31/blender_get.gif new file mode 100644 index 0000000..0b7ee8a Binary files /dev/null and b/static/images/88x31/blender_get.gif differ diff --git a/static/images/88x31/blogger_88x31.gif b/static/images/88x31/blogger_88x31.gif new file mode 100644 index 0000000..41b4541 Binary files /dev/null and b/static/images/88x31/blogger_88x31.gif differ diff --git a/static/images/88x31/brothings.gif b/static/images/88x31/brothings.gif new file mode 100644 index 0000000..a774972 Binary files /dev/null and b/static/images/88x31/brothings.gif differ diff --git a/static/images/88x31/btn-silvercruiser.gif b/static/images/88x31/btn-silvercruiser.gif new file mode 100644 index 0000000..54f2320 Binary files /dev/null and b/static/images/88x31/btn-silvercruiser.gif differ diff --git a/static/images/88x31/buttons_now.gif b/static/images/88x31/buttons_now.gif new file mode 100644 index 0000000..7abaadd Binary files /dev/null and b/static/images/88x31/buttons_now.gif differ diff --git a/static/images/88x31/bvbstar.gif b/static/images/88x31/bvbstar.gif new file mode 100644 index 0000000..5f7c7d9 Binary files /dev/null and b/static/images/88x31/bvbstar.gif differ diff --git a/static/images/88x31/bvwe.gif b/static/images/88x31/bvwe.gif new file mode 100644 index 0000000..b98de4d Binary files /dev/null and b/static/images/88x31/bvwe.gif differ diff --git a/static/images/88x31/cakey.gif b/static/images/88x31/cakey.gif new file mode 100644 index 0000000..32831ab Binary files /dev/null and b/static/images/88x31/cakey.gif differ diff --git a/static/images/88x31/catp0rtal.gif b/static/images/88x31/catp0rtal.gif new file mode 100644 index 0000000..3678c51 Binary files /dev/null and b/static/images/88x31/catp0rtal.gif differ diff --git a/static/images/88x31/catscape2.gif b/static/images/88x31/catscape2.gif new file mode 100644 index 0000000..61a3ab6 Binary files /dev/null and b/static/images/88x31/catscape2.gif differ diff --git a/static/images/88x31/catscape3.gif b/static/images/88x31/catscape3.gif new file mode 100644 index 0000000..05bd59a Binary files /dev/null and b/static/images/88x31/catscape3.gif differ diff --git a/static/images/88x31/catt_banner.gif b/static/images/88x31/catt_banner.gif new file mode 100644 index 0000000..4fd7883 Binary files /dev/null and b/static/images/88x31/catt_banner.gif differ diff --git a/static/images/88x31/cc-by-nc-sa.gif b/static/images/88x31/cc-by-nc-sa.gif new file mode 100644 index 0000000..508f484 Binary files /dev/null and b/static/images/88x31/cc-by-nc-sa.gif differ diff --git a/static/images/88x31/cc-by-sa.gif b/static/images/88x31/cc-by-sa.gif new file mode 100644 index 0000000..c43b365 Binary files /dev/null and b/static/images/88x31/cc-by-sa.gif differ diff --git a/static/images/88x31/cc-some.gif b/static/images/88x31/cc-some.gif new file mode 100644 index 0000000..0860fa9 Binary files /dev/null and b/static/images/88x31/cc-some.gif differ diff --git a/static/images/88x31/cc-somerights.gif b/static/images/88x31/cc-somerights.gif new file mode 100644 index 0000000..0c01840 Binary files /dev/null and b/static/images/88x31/cc-somerights.gif differ diff --git a/static/images/88x31/cc0.png b/static/images/88x31/cc0.png new file mode 100644 index 0000000..1b710a0 Binary files /dev/null and b/static/images/88x31/cc0.png differ diff --git a/static/images/88x31/cheezit.gif b/static/images/88x31/cheezit.gif new file mode 100644 index 0000000..3a90ba0 Binary files /dev/null and b/static/images/88x31/cheezit.gif differ diff --git a/static/images/88x31/chilliwebhosting.gif b/static/images/88x31/chilliwebhosting.gif new file mode 100644 index 0000000..5dd4fa2 Binary files /dev/null and b/static/images/88x31/chilliwebhosting.gif differ diff --git a/static/images/88x31/chocomint.png b/static/images/88x31/chocomint.png new file mode 100644 index 0000000..702a5cd Binary files /dev/null and b/static/images/88x31/chocomint.png differ diff --git a/static/images/88x31/chrome.gif b/static/images/88x31/chrome.gif new file mode 100644 index 0000000..2090066 Binary files /dev/null and b/static/images/88x31/chrome.gif differ diff --git a/static/images/88x31/dumbasswebmasterahead.gif b/static/images/88x31/dumbasswebmasterahead.gif new file mode 100644 index 0000000..52fb8ab Binary files /dev/null and b/static/images/88x31/dumbasswebmasterahead.gif differ diff --git a/static/images/88x31/feed.gif b/static/images/88x31/feed.gif new file mode 100644 index 0000000..5a18e7e Binary files /dev/null and b/static/images/88x31/feed.gif differ diff --git a/static/images/88x31/happymix.gif b/static/images/88x31/happymix.gif new file mode 100644 index 0000000..728613d Binary files /dev/null and b/static/images/88x31/happymix.gif differ diff --git a/static/images/88x31/kittyrun.gif b/static/images/88x31/kittyrun.gif new file mode 100644 index 0000000..593e0bf Binary files /dev/null and b/static/images/88x31/kittyrun.gif differ diff --git a/static/images/88x31/mousemade.gif b/static/images/88x31/mousemade.gif new file mode 100644 index 0000000..bc5d7fe Binary files /dev/null and b/static/images/88x31/mousemade.gif differ diff --git a/static/images/88x31/otaku.gif b/static/images/88x31/otaku.gif new file mode 100644 index 0000000..0f60a9e Binary files /dev/null and b/static/images/88x31/otaku.gif differ diff --git a/static/images/88x31/proud_of_my_son.gif b/static/images/88x31/proud_of_my_son.gif new file mode 100644 index 0000000..25fe2ee Binary files /dev/null and b/static/images/88x31/proud_of_my_son.gif differ diff --git a/static/images/88x31/rainbowrain.gif b/static/images/88x31/rainbowrain.gif new file mode 100644 index 0000000..1f50feb Binary files /dev/null and b/static/images/88x31/rainbowrain.gif differ diff --git a/static/images/88x31/rave.gif b/static/images/88x31/rave.gif new file mode 100644 index 0000000..bc9b736 Binary files /dev/null and b/static/images/88x31/rave.gif differ diff --git a/static/images/88x31/sky-manta.gif b/static/images/88x31/sky-manta.gif new file mode 100644 index 0000000..e0e3cbd Binary files /dev/null and b/static/images/88x31/sky-manta.gif differ diff --git a/static/images/88x31/tenkuma.gif b/static/images/88x31/tenkuma.gif new file mode 100644 index 0000000..2cb4d0c Binary files /dev/null and b/static/images/88x31/tenkuma.gif differ diff --git a/static/images/88x31/undercon2.gif b/static/images/88x31/undercon2.gif new file mode 100644 index 0000000..c4b8f37 Binary files /dev/null and b/static/images/88x31/undercon2.gif differ diff --git a/static/images/towers.jpg b/static/images/towers.jpg new file mode 100644 index 0000000..ec417ba Binary files /dev/null and b/static/images/towers.jpg differ diff --git a/static/main.css b/static/main.css index 8039a14..ed3833b 100644 --- a/static/main.css +++ b/static/main.css @@ -147,7 +147,7 @@ blockquote, main p { } main h1, main h2 { - margin-bottom: .5em; + /* margin-bottom: .2em; */ } main h2 { @@ -163,6 +163,28 @@ blockquote { margin-left: 2.8em; } +hr { + border-bottom: thick solid rgba(255, 255, 255, 0.1); + box-shadow: + 2px 7px 5px rgba(0,0,0,0.3), + 0px -4px 10px rgba(0,0,0,0.3); + /* margin: .5em 0; */ +} + +.box { + border: thick solid rgba(255, 255, 255, 0.1); + padding: 1em; + background-color: rgba(0, 0, 0, 0.15); +} + +.box *:last-child { + margin-bottom: 0; +} + +.pageHeaderBox { + border-bottom: 0; +} + #headerSubtitle { color: white; opacity: 0.6; @@ -760,6 +782,15 @@ hs { margin-bottom: 1em; } +.i88x31 { + transition: .2s; + image-rendering: pixelated; +} + +.i88x31.selected { + transform: scale(2); +} + @keyframes ellipsis-loader { 0%, 25% { transform: translateX(0); diff --git a/static/scripts/88x31.js b/static/scripts/88x31.js new file mode 100644 index 0000000..32e37d1 --- /dev/null +++ b/static/scripts/88x31.js @@ -0,0 +1,13 @@ +const images = document.querySelectorAll(".i88x31"); + +images.forEach(image => { + image.addEventListener("click", () => { + const selected = document.querySelectorAll(".i88x31.selected"); + selected.forEach(s => { + if (s != image) { + s.classList.toggle("selected"); + } + }) + image.classList.toggle("selected"); + }) +}) \ No newline at end of file