diff options
| author | Bradley Taunt <bt@btxx.org> | 2025-01-03 13:24:00 -0500 |
|---|---|---|
| committer | Bradley Taunt <bt@btxx.org> | 2025-01-03 13:24:00 -0500 |
| commit | 310ec04403d71ba58ee298d9e85315e2912f0acb (patch) | |
| tree | dd196f13a793ea3fcf27bbb2d819cca3e6f7294f | |
| parent | ae65fb1d28d79a8bb6d2bc12f7eb29779a79419e (diff) | |
Cleanup make file, use smaller webp imagery
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | compress.sh | 4 | ||||
| -rw-r--r-- | posts/useless-key.md | 6 | ||||
| -rw-r--r-- | public/images/dead-space.webp | bin | 0 -> 533668 bytes | |||
| -rw-r--r-- | public/images/re2-discard.webp | bin | 0 -> 69692 bytes | |||
| -rw-r--r-- | public/images/re2-inventory.webp | bin | 0 -> 30496 bytes | |||
| -rw-r--r-- | public/style.css | 5 |
7 files changed, 10 insertions, 9 deletions
@@ -5,4 +5,6 @@ build: clean: rm -rf build/* -.PHONY: build clean +.PHONY: build clean + + find . -type f \( -name "*.html" -o -name "*.css" -o -name "*.jpg" -o -name "*.png" -o -name "*.webp" \) -exec gzip -k -f {} \; diff --git a/compress.sh b/compress.sh deleted file mode 100644 index 652b992..0000000 --- a/compress.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -find build -type f \( -name '*.html' -o -name '*.css' \) -exec gzip -kf {} + - diff --git a/posts/useless-key.md b/posts/useless-key.md index 596131c..821f31d 100644 --- a/posts/useless-key.md +++ b/posts/useless-key.md @@ -23,7 +23,7 @@ Just like the first Resident Evil that came before it, RE2 has no in-game HUD (h The game *does* provide you with an inventory system, which holds your core items, weapons and notes you find along your journey. Opening up this sub-menu allows you to heal, reload weapons, combine objects or puzzle items, or read through previously collected documents. Not only is this more immersive (HUDs don't exist for us in the real world, we need to look through our packs as well...) it also gets *out of the way*. <figure> - <img src="/public/images/re2-inventory.png" alt="The main inventory screen in RE2"> + <img src="/public/images/re2-inventory.webp" alt="The main inventory screen in RE2"> <figcaption>The main inventory screen. Shows everything you need to know, only when you need it. (I can <i>hear</i> this screenshot...)</figcaption> </figure> @@ -71,7 +71,7 @@ Hey! This section is in reference to the title of the article. We made it! Don't overlook how powerful of a interaction this little text prompt is. Ask any veteran of the series and they will tell you this prompt is almost euphoric. <figure> - <img src="/public/images/re2-discard.png" alt="Text prompt asking to discard the useless key in RE2"> + <img src="/public/images/re2-discard.webp" alt="Text prompt asking to discard the useless key in RE2"> <figcaption>The game's prompt asking if you'd like to discard a useless key. Perfection.</figcaption> </figure> @@ -80,7 +80,7 @@ Don't overlook how powerful of a interaction this little text prompt is. Ask any RE2 is certainly not the first or last game to implement these "minimal" game systems. A more "modern" example is Dead Space (DS), along with its very faithful remake. In DS the character's health is displayed directly on the character model itself, and a similar inventory screen is used to manage items. An ammo-counter is visible but only when the player aims their weapon. Pretty great stuff and another masterpiece of survival horror. <figure> - <img src="/public/images/dead-space.jpg" alt="Screenshot of Dead Space, showing the lack of UI"> + <img src="/public/images/dead-space.webp" alt="Screenshot of Dead Space, showing the lack of UI"> <figcaption>In Dead Space, the character's health bar is set as part of their spacesuit.</figcaption> </figure> diff --git a/public/images/dead-space.webp b/public/images/dead-space.webp Binary files differnew file mode 100644 index 0000000..c434fbb --- /dev/null +++ b/public/images/dead-space.webp diff --git a/public/images/re2-discard.webp b/public/images/re2-discard.webp Binary files differnew file mode 100644 index 0000000..55485b8 --- /dev/null +++ b/public/images/re2-discard.webp diff --git a/public/images/re2-inventory.webp b/public/images/re2-inventory.webp Binary files differnew file mode 100644 index 0000000..cb4bede --- /dev/null +++ b/public/images/re2-inventory.webp diff --git a/public/style.css b/public/style.css index daf2d0f..4d8fd13 100644 --- a/public/style.css +++ b/public/style.css @@ -19,7 +19,6 @@ body { font-size: 100%; max-width: 85%; margin: 1rem auto; - max-width: 85%; padding: 0; } @@ -223,6 +222,10 @@ ul.posts li span { } @media(max-width:600px) { + body { + max-width: 100%; + margin: 12px; + } nav ul { display: block; margin: 0 0 -1px 0; |
