Spaces:
Running
Running
Alternate Modern Huggies hero tiles left/right (natural zigzag)
Browse files- index.html +14 -7
index.html
CHANGED
|
@@ -110,6 +110,13 @@
|
|
| 110 |
#no-results.show { display: block; }
|
| 111 |
#no-results .big { font-family: 'IBM Plex Mono', monospace; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
|
| 112 |
mark { background: #FEF08A; color: inherit; border-radius: 3px; padding: 0 1px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
</style>
|
| 114 |
<link rel="stylesheet" href="css/style.css" />
|
| 115 |
<style>
|
|
@@ -287,7 +294,7 @@
|
|
| 287 |
<div class="font-mono max-w-fit text-3xl bg-blue-500 text-white py-3 px-6 rounded-full">Modern Huggies</div>
|
| 288 |
</div>
|
| 289 |
<div class="grid grid-cols-2 md:grid-cols-4 gap-x-5 gap-y-10 card-grid" style="grid-auto-flow: dense">
|
| 290 |
-
<div class="w-full flex flex-col col-span-2 row-span-2" data-id="collection-2026__huguma" data-display-name="Huguma" data-tags="huguma daruma japanese lucky red pop art halftone mascot おみくじ">
|
| 291 |
<img src="images/Huggy Collection 2026/Huguma.png" alt="Huguma" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 292 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 293 |
<h5 class="text-lg asset-name">Huguma</h5>
|
|
@@ -327,7 +334,7 @@
|
|
| 327 |
</button>
|
| 328 |
</div>
|
| 329 |
</div>
|
| 330 |
-
<div class="w-full flex flex-col col-span-2 row-span-2" data-id="collection-2026__doodle-huggy" data-display-name="Doodle Huggy" data-tags="doodle">
|
| 331 |
<img src="images/Huggy Collection 2026/Doodle Huggy.gif" alt="Doodle Huggy" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 332 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 333 |
<h5 class="text-lg asset-name">Doodle Huggy</h5>
|
|
@@ -427,7 +434,7 @@
|
|
| 427 |
</button>
|
| 428 |
</div>
|
| 429 |
</div>
|
| 430 |
-
<div class="w-full flex flex-col col-span-2 row-span-2" data-id="collection-2026__dragon-huggy" data-display-name="Dragon Huggy" data-tags="dragon">
|
| 431 |
<img src="images/Huggy Collection 2026/Dragon Huggy.png" alt="Dragon Huggy" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 432 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 433 |
<h5 class="text-lg asset-name">Dragon Huggy</h5>
|
|
@@ -527,7 +534,7 @@
|
|
| 527 |
</button>
|
| 528 |
</div>
|
| 529 |
</div>
|
| 530 |
-
<div class="w-full flex flex-col col-span-2 row-span-2" data-id="collection-2026__huggy-pop" data-display-name="Huggy Pop" data-tags="pop">
|
| 531 |
<img src="images/Huggy Collection 2026/Huggy Pop.gif" alt="Huggy Pop" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 532 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 533 |
<h5 class="text-lg asset-name">Huggy Pop</h5>
|
|
@@ -627,7 +634,7 @@
|
|
| 627 |
</button>
|
| 628 |
</div>
|
| 629 |
</div>
|
| 630 |
-
<div class="w-full flex flex-col col-span-2 row-span-2" data-id="collection-2026__super-huggy" data-display-name="Super Huggy" data-tags="super">
|
| 631 |
<img src="images/Huggy Collection 2026/Super Huggy.png" alt="Super Huggy" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 632 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 633 |
<h5 class="text-lg asset-name">Super Huggy</h5>
|
|
@@ -727,7 +734,7 @@
|
|
| 727 |
</button>
|
| 728 |
</div>
|
| 729 |
</div>
|
| 730 |
-
<div class="w-full flex flex-col col-span-2 row-span-2" data-id="collection-2026__vibing-huggy" data-display-name="Vibing Huggy" data-tags="vibing">
|
| 731 |
<img src="images/Huggy Collection 2026/Vibing Huggy.gif" alt="Vibing Huggy" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 732 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 733 |
<h5 class="text-lg asset-name">Vibing Huggy</h5>
|
|
@@ -827,7 +834,7 @@
|
|
| 827 |
</button>
|
| 828 |
</div>
|
| 829 |
</div>
|
| 830 |
-
<div class="w-full flex flex-col col-span-2 row-span-2" data-id="collection-2026__viking-huggy" data-display-name="Viking Huggy" data-tags="viking">
|
| 831 |
<img src="images/Huggy Collection 2026/Viking Huggy.png" alt="Viking Huggy" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 832 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 833 |
<h5 class="text-lg asset-name">Viking Huggy</h5>
|
|
|
|
| 110 |
#no-results.show { display: block; }
|
| 111 |
#no-results .big { font-family: 'IBM Plex Mono', monospace; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
|
| 112 |
mark { background: #FEF08A; color: inherit; border-radius: 3px; padding: 0 1px; }
|
| 113 |
+
/* Heroes alternate sides at the 4-col breakpoint so the 2x2 feature tiles
|
| 114 |
+
zigzag (left, right, left...) instead of all hugging columns 1-2.
|
| 115 |
+
grid-auto-flow:dense backfills the singles around them with no gaps. */
|
| 116 |
+
@media (min-width: 768px) {
|
| 117 |
+
#ModernHuggies .card-grid > .hero-left { grid-column: 1 / span 2; }
|
| 118 |
+
#ModernHuggies .card-grid > .hero-right { grid-column: 3 / span 2; }
|
| 119 |
+
}
|
| 120 |
</style>
|
| 121 |
<link rel="stylesheet" href="css/style.css" />
|
| 122 |
<style>
|
|
|
|
| 294 |
<div class="font-mono max-w-fit text-3xl bg-blue-500 text-white py-3 px-6 rounded-full">Modern Huggies</div>
|
| 295 |
</div>
|
| 296 |
<div class="grid grid-cols-2 md:grid-cols-4 gap-x-5 gap-y-10 card-grid" style="grid-auto-flow: dense">
|
| 297 |
+
<div class="w-full flex flex-col col-span-2 row-span-2 hero-left" data-id="collection-2026__huguma" data-display-name="Huguma" data-tags="huguma daruma japanese lucky red pop art halftone mascot おみくじ">
|
| 298 |
<img src="images/Huggy Collection 2026/Huguma.png" alt="Huguma" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 299 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 300 |
<h5 class="text-lg asset-name">Huguma</h5>
|
|
|
|
| 334 |
</button>
|
| 335 |
</div>
|
| 336 |
</div>
|
| 337 |
+
<div class="w-full flex flex-col col-span-2 row-span-2 hero-right" data-id="collection-2026__doodle-huggy" data-display-name="Doodle Huggy" data-tags="doodle">
|
| 338 |
<img src="images/Huggy Collection 2026/Doodle Huggy.gif" alt="Doodle Huggy" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 339 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 340 |
<h5 class="text-lg asset-name">Doodle Huggy</h5>
|
|
|
|
| 434 |
</button>
|
| 435 |
</div>
|
| 436 |
</div>
|
| 437 |
+
<div class="w-full flex flex-col col-span-2 row-span-2 hero-left" data-id="collection-2026__dragon-huggy" data-display-name="Dragon Huggy" data-tags="dragon">
|
| 438 |
<img src="images/Huggy Collection 2026/Dragon Huggy.png" alt="Dragon Huggy" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 439 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 440 |
<h5 class="text-lg asset-name">Dragon Huggy</h5>
|
|
|
|
| 534 |
</button>
|
| 535 |
</div>
|
| 536 |
</div>
|
| 537 |
+
<div class="w-full flex flex-col col-span-2 row-span-2 hero-right" data-id="collection-2026__huggy-pop" data-display-name="Huggy Pop" data-tags="pop">
|
| 538 |
<img src="images/Huggy Collection 2026/Huggy Pop.gif" alt="Huggy Pop" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 539 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 540 |
<h5 class="text-lg asset-name">Huggy Pop</h5>
|
|
|
|
| 634 |
</button>
|
| 635 |
</div>
|
| 636 |
</div>
|
| 637 |
+
<div class="w-full flex flex-col col-span-2 row-span-2 hero-left" data-id="collection-2026__super-huggy" data-display-name="Super Huggy" data-tags="super">
|
| 638 |
<img src="images/Huggy Collection 2026/Super Huggy.png" alt="Super Huggy" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 639 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 640 |
<h5 class="text-lg asset-name">Super Huggy</h5>
|
|
|
|
| 734 |
</button>
|
| 735 |
</div>
|
| 736 |
</div>
|
| 737 |
+
<div class="w-full flex flex-col col-span-2 row-span-2 hero-right" data-id="collection-2026__vibing-huggy" data-display-name="Vibing Huggy" data-tags="vibing">
|
| 738 |
<img src="images/Huggy Collection 2026/Vibing Huggy.gif" alt="Vibing Huggy" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 739 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 740 |
<h5 class="text-lg asset-name">Vibing Huggy</h5>
|
|
|
|
| 834 |
</button>
|
| 835 |
</div>
|
| 836 |
</div>
|
| 837 |
+
<div class="w-full flex flex-col col-span-2 row-span-2 hero-left" data-id="collection-2026__viking-huggy" data-display-name="Viking Huggy" data-tags="viking">
|
| 838 |
<img src="images/Huggy Collection 2026/Viking Huggy.png" alt="Viking Huggy" class="w-full h-full bg-white shadow-DropShadow md:p-7 p-3 rounded-3xl object-contain">
|
| 839 |
<div class="px-3 pt-3 flex flex-col gap-1 md:flex-row md:justify-between md:items-center">
|
| 840 |
<h5 class="text-lg asset-name">Viking Huggy</h5>
|