@ywkrlerche/richardwho 1.0.49 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.js +23 -1
- package/config.js +1 -0
- package/games.json +1 -1
- package/index.html +5 -0
- package/package.json +1 -1
- package/style.css +3 -0
package/index.html
CHANGED
|
@@ -184,6 +184,11 @@
|
|
|
184
184
|
<div class="marquee" id="marquee"><div class="marquee-track" id="marquee-track"></div></div>
|
|
185
185
|
</section>
|
|
186
186
|
|
|
187
|
+
<section class="block" id="new-block" hidden>
|
|
188
|
+
<div class="block-head"><h2>Recently added <span class="pill-chip">New</span></h2></div>
|
|
189
|
+
<div class="recent-row" id="new-row"></div>
|
|
190
|
+
</section>
|
|
191
|
+
|
|
187
192
|
<section class="block">
|
|
188
193
|
<div class="block-head"><h2 id="all-title">All games</h2><span class="count" id="count"></span><button class="text-btn" type="button" id="request-btn">Request a game</button></div>
|
|
189
194
|
<div class="grid" id="grid"></div>
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1102,3 +1102,6 @@ html.vice[data-theme="dark"] .home-search { background: rgba(20, 26, 64, .72); }
|
|
|
1102
1102
|
@keyframes v-bob { to { transform: translateY(-2px) rotate(-1.5deg); } }
|
|
1103
1103
|
@media (max-width: 720px) { .festive .v-cloud.c3, .festive .v-birds.b2, .festive .v-bridge { display: none; } }
|
|
1104
1104
|
@media (prefers-reduced-motion: reduce) { .festive .v-cloud, .festive .v-birds, .festive .v-birds svg, .festive .v-bridge .car, .festive .v-boat, .festive .v-boat svg { animation: none !important; } }
|
|
1105
|
+
|
|
1106
|
+
/* "Recently added" block: same layout as Recently played, with a chip in the title */
|
|
1107
|
+
.pill-chip { display: inline-block; font-size: 0.65em; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: color-mix(in srgb, var(--accent, #7aa7ff) 25%, transparent); color: var(--accent, #7aa7ff); border: 1px solid color-mix(in srgb, var(--accent, #7aa7ff) 40%, transparent); border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }
|