Skip to content

244 pixel art effects, every one a small piece of code. Plus a Claude Code skill to make your own.

Show every category and keep the README hero moving

rehan-remade150b4fccd2d1
diff --git a/README.md b/README.md
index a5c9d72..e55fcad 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
<p align="center">
- <img src="docs/readme/montage.gif" width="800" alt="A grid of pixel art effects playing at once: fire, explosions, ice, lightning, slashes, magic, weather, pickups and critters.">
+ <img src="docs/readme/montage.gif" width="800" alt="A grid of pixel art effects playing at once: a campfire, a burning skull, a waterfall, a plasma ball, a portal, a tornado and more.">
</p>
# pixelfx.
diff --git a/docs/readme/montage.gif b/docs/readme/montage.gif
index 4e8fa53..db6aa17 100644
Binary files a/docs/readme/montage.gif and b/docs/readme/montage.gif differ
diff --git a/gallery/style.css b/gallery/style.css
index fa9796a..d9f73ca 100644
--- a/gallery/style.css
+++ b/gallery/style.css
@@ -70,7 +70,7 @@ h1 { margin: 0; font: 400 54px/66px var(--display); letter-spacing: 0; }
border-bottom: 1px solid var(--line);
}
.bar-in { max-width: 1240px; margin: 0 auto; display: flex; gap: 12px; align-items: center; padding-block: 10px; }
-.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding-block: 2px; }
+.chips { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; min-width: 0; padding-block: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
flex: none;
@@ -88,7 +88,7 @@ h1 { margin: 0; font: 400 54px/66px var(--display); letter-spacing: 0; }
.chip[aria-pressed="true"] span { color: #555; }
#q {
flex: none;
- width: 180px;
+ width: 108px;
max-width: 40vw;
background: none;
border: 1px solid var(--line);
@@ -190,6 +190,8 @@ pre {
}
@media (max-width: 520px) {
.bar-in { flex-wrap: wrap; }
+ /* 20 categories won't fit a phone's bar: they scroll in one row there */
+ .chips { flex-wrap: nowrap; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }
#q { width: 100%; max-width: none; }
}
@media (max-width: 330px) {