@ywkrlerche/richardwho 1.0.45 → 1.0.47
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 +126 -17
- package/games.json +1 -1
- package/index.html +5 -2
- package/logos/choppy-orc.webp +0 -0
- package/logos/ext-adarkroom.webp +0 -0
- package/logos/ext-evolve.webp +0 -0
- package/logos/ext-sharkgame.webp +0 -0
- package/logos/ext-synergism.webp +0 -0
- package/logos/ext-trimps.webp +0 -0
- package/logos/gladi-hoppers.webp +0 -0
- package/logos/gn-104.webp +0 -0
- package/logos/gn-154.webp +0 -0
- package/logos/gn-160.webp +0 -0
- package/logos/gn-191.webp +0 -0
- package/logos/gn-209.webp +0 -0
- package/logos/gn-241.webp +0 -0
- package/logos/gn-307.webp +0 -0
- package/logos/gn-360.webp +0 -0
- package/logos/gn-376.webp +0 -0
- package/logos/gn-404.webp +0 -0
- package/logos/gn-426.webp +0 -0
- package/logos/gn-435.webp +0 -0
- package/logos/gn-447.webp +0 -0
- package/logos/gn-493.webp +0 -0
- package/logos/gn-494.webp +0 -0
- package/logos/gn-515.webp +0 -0
- package/logos/gn-528.webp +0 -0
- package/logos/gn-533.webp +0 -0
- package/logos/gn-535.webp +0 -0
- package/logos/gn-537.webp +0 -0
- package/logos/gn-575.webp +0 -0
- package/logos/gn-625.webp +0 -0
- package/logos/gn-657.webp +0 -0
- package/logos/gn-662.webp +0 -0
- package/logos/gn-94.webp +0 -0
- package/package.json +1 -1
- package/style.css +54 -0
package/index.html
CHANGED
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
aprilfools: at(3, 1), easter: easter, july4: at(6, 4), halloween: at(9, 31), thanksgiving: at(10, thanksgiving), christmas: at(11, 25)
|
|
31
31
|
};
|
|
32
32
|
var theme = null;
|
|
33
|
-
if (
|
|
33
|
+
if (y === 2026 && m === 10 && d >= 16 && d <= 23) theme = "vice"; // GTA 6 launch week (out Nov 19)
|
|
34
|
+
else if ((m === 11 && d === 31) || (m === 0 && d <= 7)) theme = "newyear";
|
|
34
35
|
else if (today >= superbowl - 2 * DAY && today <= superbowl) theme = "superbowl"; // Friday to Sunday
|
|
35
36
|
else if (m === 1 && d <= 14) theme = "valentines";
|
|
36
37
|
else if (m === 2 && d >= 10 && d <= 17) theme = "stpatricks";
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
};
|
|
47
48
|
window.rugHoliday = function (now) { return calendar(now).theme; };
|
|
48
49
|
window.rugHolidayDay = function (name, now) { return calendar(now).day[name] || null; };
|
|
49
|
-
var t = s.theme === "black" || s.theme === "white" ? s.theme : window.rugHoliday() || "black";
|
|
50
|
+
var t = s.theme === "black" || s.theme === "white" || s.theme === "vice" ? s.theme : window.rugHoliday() || "black";
|
|
50
51
|
document.documentElement.dataset.theme = t === "white" ? "light" : "dark";
|
|
51
52
|
if (t !== "black" && t !== "white") {
|
|
52
53
|
document.documentElement.classList.add(t, "holiday");
|
|
@@ -161,6 +162,7 @@
|
|
|
161
162
|
<input id="search" type="search" placeholder="Search games" autocomplete="off" spellcheck="false" aria-label="Search games">
|
|
162
163
|
</label>
|
|
163
164
|
<select id="sort" aria-label="Sort games">
|
|
165
|
+
<option value="popular">Most popular</option>
|
|
164
166
|
<option value="az">A–Z</option>
|
|
165
167
|
<option value="za">Z–A</option>
|
|
166
168
|
<option value="small">Smallest first</option>
|
|
@@ -396,6 +398,7 @@
|
|
|
396
398
|
<option value="auto">Holiday (changes by itself)</option>
|
|
397
399
|
<option value="black">Black</option>
|
|
398
400
|
<option value="white">White</option>
|
|
401
|
+
<option value="vice">Vice (GTA 6 style)</option>
|
|
399
402
|
</select>
|
|
400
403
|
</label>
|
|
401
404
|
<label class="set-row"><span>Clock</span>
|
package/logos/choppy-orc.webp
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/logos/gladi-hoppers.webp
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/logos/gn-94.webp
ADDED
|
Binary file
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1011,6 +1011,7 @@ html.aprilfools[data-theme="dark"] .wordmark:hover { transform: none; }
|
|
|
1011
1011
|
.holiday-banner { margin: 14px 0 0; display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
|
|
1012
1012
|
color: var(--f-cream, var(--text)); background: color-mix(in srgb, var(--f-a, #fff) 14%, transparent); border: 1px solid color-mix(in srgb, var(--f-a, #fff) 35%, transparent); }
|
|
1013
1013
|
.holiday-banner[hidden] { display: none; }
|
|
1014
|
+
.holiday-banner { font-variant-numeric: tabular-nums; } /* the countdown's digits don't jiggle */
|
|
1014
1015
|
|
|
1015
1016
|
/* every other page: the holiday's accent color on the selected things, its emoji by the page title and in the corner */
|
|
1016
1017
|
html.holiday[data-theme="dark"] .games-head h1::after { content: var(--f-emoji); margin-left: 12px; font-size: .62em; vertical-align: .12em; }
|
|
@@ -1048,3 +1049,56 @@ html.holiday[data-theme="dark"] body.chat-full::after { content: none; }
|
|
|
1048
1049
|
html.holiday[data-theme="dark"] .chat-tab[aria-selected="true"] { box-shadow: inset 0 2px 0 var(--f-a); }
|
|
1049
1050
|
html.holiday[data-theme="dark"] .chat-tab.unread::after, html.holiday[data-theme="dark"] .chat-tab.add { color: var(--f-a); background-color: transparent; }
|
|
1050
1051
|
html.holiday[data-theme="dark"] .chat-tab.unread::after { background: var(--f-a); box-shadow: 0 0 6px var(--f-a); }
|
|
1052
|
+
|
|
1053
|
+
/* ---------- Vice (GTA 6 inspired): a pastel waterfront, dusk-blue sky fading to a peach horizon ---------- */
|
|
1054
|
+
html.vice { --f-bg: #1d2559; --f-bg2: #141a40; --f-a: #ff6fa8; --f-b: #ffb27a; --f-cream: #fff1e6; --f-glow1: rgba(255, 178, 122, .22); --f-glow2: rgba(127, 214, 207, .18); --f-on: #1d2559; --f-hill: #22295f; --f-emoji: "🌴"; }
|
|
1055
|
+
html.vice[data-theme="dark"] .aurora {
|
|
1056
|
+
background:
|
|
1057
|
+
radial-gradient(70vw 30vh at 50% 78vh, rgba(255, 196, 154, .45), transparent 70%),
|
|
1058
|
+
radial-gradient(40vw 26vh at 80vw 8vh, rgba(127, 214, 207, .14), transparent 70%),
|
|
1059
|
+
linear-gradient(180deg, #1d2559 0%, #2b3d78 40%, #4f6fa0 68%, #8e9fc0 86%, #e7b39f 100%);
|
|
1060
|
+
}
|
|
1061
|
+
html.vice[data-theme="dark"] .wordmark {
|
|
1062
|
+
background-image:
|
|
1063
|
+
radial-gradient(circle var(--spot, 0px) at var(--mx, 50%) var(--my, 50%), #ffd6e8, transparent 70%),
|
|
1064
|
+
linear-gradient(100deg, #fff 0%, #fff 42%, #ffd6e8 50%, #fff 58%, #fff 100%);
|
|
1065
|
+
filter: drop-shadow(0 0 26px rgba(255, 111, 168, .45)) drop-shadow(0 3px 0 rgba(20, 26, 64, .6));
|
|
1066
|
+
}
|
|
1067
|
+
html.vice[data-theme="dark"] .boot-word { background-image: linear-gradient(100deg, #fff 0%, #fff 42%, #ffd6e8 50%, #fff 58%, #fff 100%); }
|
|
1068
|
+
html.vice[data-theme="dark"] .festive-scene { height: 38vh; }
|
|
1069
|
+
html.vice[data-theme="dark"] .home-search { background: rgba(20, 26, 64, .72); }
|
|
1070
|
+
|
|
1071
|
+
/* ---------- Vice scene: moving parts (HTML on top of the drawing, so the graphics chip animates them) ---------- */
|
|
1072
|
+
.festive .v-glare { position: absolute; left: 50%; bottom: 6vh; width: 70vh; height: 34vh; margin-left: -35vh; border-radius: 50%;
|
|
1073
|
+
background: radial-gradient(closest-side, rgba(255, 246, 216, .5), rgba(255, 210, 170, .18) 60%, transparent); }
|
|
1074
|
+
.festive .v-cloud { position: absolute; left: 0; width: 260px; height: 70px; opacity: .55;
|
|
1075
|
+
background: radial-gradient(36px 26px at 30% 60%, #fff 60%, transparent 62%), radial-gradient(52px 34px at 55% 45%, #fff 60%, transparent 62%), radial-gradient(40px 26px at 78% 62%, #fff 60%, transparent 62%), radial-gradient(120px 18px at 52% 76%, #ffe4ef 60%, transparent 62%);
|
|
1076
|
+
filter: blur(1px); animation: v-drift 150s linear infinite; }
|
|
1077
|
+
.festive .v-cloud { opacity: .78; background: radial-gradient(36px 26px at 30% 60%, #fff4f8 60%, transparent 62%), radial-gradient(52px 34px at 55% 45%, #fffaf3 60%, transparent 62%), radial-gradient(40px 26px at 78% 62%, #ffeef5 60%, transparent 62%), radial-gradient(120px 18px at 52% 76%, #ffd9e8 60%, transparent 62%); }
|
|
1078
|
+
.festive .v-cloud.c1 { top: 13vh; transform: scale(.9); animation-delay: -30s; }
|
|
1079
|
+
.festive .v-cloud.c2 { top: 24vh; animation-duration: 190s; animation-delay: -120s; opacity: .4; }
|
|
1080
|
+
.festive .v-cloud.c3 { top: 36vh; animation-duration: 230s; animation-delay: -60s; opacity: .3; }
|
|
1081
|
+
@keyframes v-drift { from { transform: translateX(-300px); } to { transform: translateX(calc(100vw + 60px)); } }
|
|
1082
|
+
.festive .v-birds { position: absolute; left: 0; width: 42px; animation: v-fly 46s linear infinite; }
|
|
1083
|
+
.festive .v-birds svg { display: block; animation: v-flap .5s ease-in-out infinite alternate; transform-origin: center; }
|
|
1084
|
+
.festive .v-birds.b1 { top: 20vh; }
|
|
1085
|
+
.festive .v-birds.b2 { top: 30vh; width: 30px; animation-duration: 62s; animation-delay: -25s; }
|
|
1086
|
+
@keyframes v-fly { from { transform: translateX(-60px); } to { transform: translateX(calc(100vw + 60px)); } }
|
|
1087
|
+
@keyframes v-flap { to { transform: scaleY(.55); } }
|
|
1088
|
+
/* a causeway over the water on the right, with headlights and taillights going both ways */
|
|
1089
|
+
.festive .v-bridge { position: absolute; right: 0; left: 60%; bottom: 8.9vh; height: 1.2vh; overflow: hidden;
|
|
1090
|
+
border-top: 2px solid rgba(255, 255, 255, .7); background: repeating-linear-gradient(90deg, rgba(94, 58, 75, .7) 0 4px, transparent 4px 46px); }
|
|
1091
|
+
.festive .v-bridge .car { position: absolute; top: -4px; left: 0; width: 7px; height: 3px; border-radius: 2px; animation: v-car 9s linear infinite; }
|
|
1092
|
+
.festive .v-bridge .car.a, .festive .v-bridge .car.c, .festive .v-bridge .car.e { background: #fff7d1; box-shadow: 0 0 6px #fff7d1; }
|
|
1093
|
+
.festive .v-bridge .car.b, .festive .v-bridge .car.d { top: -1px; background: #ff4d6d; box-shadow: 0 0 6px #ff4d6d; animation-name: v-car-back; animation-duration: 11s; }
|
|
1094
|
+
.festive .v-bridge .car.c { animation-delay: -3s; } .festive .v-bridge .car.e { animation-delay: -6.2s; } .festive .v-bridge .car.d { animation-delay: -5s; }
|
|
1095
|
+
@keyframes v-car { from { transform: translateX(-10px); } to { transform: translateX(42vw); } }
|
|
1096
|
+
@keyframes v-car-back { from { transform: translateX(42vw); } to { transform: translateX(-10px); } }
|
|
1097
|
+
/* a speedboat crossing the water with a white wake behind it */
|
|
1098
|
+
.festive .v-boat { position: absolute; left: 0; bottom: 2.6vh; width: 74px; animation: v-boat 24s linear infinite; animation-delay: -8s; }
|
|
1099
|
+
.festive .v-boat svg { position: relative; display: block; width: 100%; animation: v-bob 1.2s ease-in-out infinite alternate; }
|
|
1100
|
+
.festive .v-wake { position: absolute; right: 88%; top: 52%; width: 160px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85)); }
|
|
1101
|
+
@keyframes v-boat { from { transform: translateX(-260px); } to { transform: translateX(calc(100vw + 40px)); } }
|
|
1102
|
+
@keyframes v-bob { to { transform: translateY(-2px) rotate(-1.5deg); } }
|
|
1103
|
+
@media (max-width: 720px) { .festive .v-cloud.c3, .festive .v-birds.b2, .festive .v-bridge { display: none; } }
|
|
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; } }
|