@ywkrlerche/richardwho 1.0.49 → 1.0.52

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/index.html CHANGED
@@ -30,8 +30,7 @@
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 (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";
33
+ if ((m === 11 && d === 31) || (m === 0 && d <= 7)) theme = "newyear";
35
34
  else if (today >= superbowl - 2 * DAY && today <= superbowl) theme = "superbowl"; // Friday to Sunday
36
35
  else if (m === 1 && d <= 14) theme = "valentines";
37
36
  else if (m === 2 && d >= 10 && d <= 17) theme = "stpatricks";
@@ -41,8 +40,8 @@
41
40
  else if ((m === 5 && d >= 15) || m === 6 || (m === 7 && d <= 10)) theme = "summer";
42
41
  else if ((m === 7 && d >= 20) || (m === 8 && d <= 7)) theme = "backtoschool";
43
42
  else if (m === 9) theme = "halloween";
44
- else if (m === 10 && d <= thanksgiving + 1) theme = "thanksgiving";
45
- else if (m === 11 && d <= 26) theme = "christmas";
43
+ else if (m === 10 && d <= thanksgiving) theme = "thanksgiving";
44
+ else if ((m === 10 && d > thanksgiving) || (m === 11 && d <= 26)) theme = "christmas";
46
45
  return { theme: theme, day: day };
47
46
  };
48
47
  window.rugHoliday = function (now) { return calendar(now).theme; };
@@ -87,6 +86,7 @@
87
86
  <button class="rail-btn" type="button" data-nav="trivia" title="Trivia" aria-label="Trivia">
88
87
  <svg viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 14a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm0-10a4 4 0 0 0-4 4h2a2 2 0 1 1 3 1.73c-1.2.7-2 1.6-2 3.27h2c0-.9.4-1.3 1-1.65A4 4 0 0 0 12 6Z"/></svg>
89
88
  </button>
89
+
90
90
  <button class="rail-btn" type="button" id="soundboard-btn" title="Soundboard" aria-label="Soundboard">
91
91
  <svg viewBox="0 0 24 24"><path d="M3 9v6h4l5 5V4L7 9H3Zm13.5 3A4.5 4.5 0 0 0 14 7.97v8.05A4.48 4.48 0 0 0 16.5 12ZM14 3.23v2.06a7 7 0 0 1 0 13.42v2.06A9 9 0 0 0 14 3.23Z"/></svg>
92
92
  </button>
@@ -255,6 +255,7 @@
255
255
  </div>
256
256
  </section>
257
257
 
258
+
258
259
  <!-- CHAT -->
259
260
  <section id="view-chat" class="view chat" hidden>
260
261
  <header class="games-head"><div><h1>Chat</h1><p class="lede">Be nice. Swears, slurs, links and personal info are blocked. Don't post photos of real people without asking them. 🚩 reports anything bad.</p></div></header>
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ywkrlerche/richardwho",
3
- "version": "1.0.49",
3
+ "version": "1.0.52",
4
4
  "description": "Richards Unblocked Games",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/style.css CHANGED
@@ -701,45 +701,46 @@ html.rail-hidden.rail-peek .rail { transform: none; box-shadow: 0 0 40px rgba(0,
701
701
  html.rail-peek .rail-show { display: none; }
702
702
  @media (max-width: 720px) { html.rail-hidden .rail-zone { display: none; } }
703
703
 
704
- /* ---------- Christmas (December, or picked in Settings): snow, lights, pines ---------- */
704
+ /* ---------- Christmas (late November to December 26, or picked in Settings): snow and a winter scene ---------- */
705
705
  html.christmas[data-theme="dark"] { --shine: #fca5a5; --glow-cyan: #f87171; }
706
- html.christmas[data-theme="dark"], html.christmas[data-theme="dark"] body { background: #08101c; }
706
+ html.christmas[data-theme="dark"], html.christmas[data-theme="dark"] body { background: #071a33; }
707
707
  html.christmas[data-theme="dark"] .aurora {
708
708
  background:
709
- radial-gradient(45vw 26vh at 25vw 0, rgba(220, 38, 38, .12), transparent 70%),
710
- radial-gradient(45vw 26vh at 80vw 10vh, rgba(22, 163, 74, .12), transparent 70%),
711
- linear-gradient(180deg, #0b1424 0%, #08101c 50%, #060a12 100%);
709
+ radial-gradient(70vw 40vh at 50% 0, rgba(59, 130, 246, .14), transparent 70%),
710
+ linear-gradient(180deg, #06162c 0%, #0a2445 55%, #0d2d54 100%);
712
711
  }
713
712
  html.christmas[data-theme="dark"] .wordmark {
714
713
  background-image:
715
714
  radial-gradient(circle var(--spot, 0px) at var(--mx, 50%) var(--my, 50%), #fff, transparent 70%),
716
- linear-gradient(100deg, #f8fafc 0%, #f8fafc 40%, #ef4444 46%, #fff 50%, #22c55e 54%, #f8fafc 60%, #f8fafc 100%);
715
+ linear-gradient(#f8fafc, #f8fafc);
716
+ animation: rise .7s cubic-bezier(.2, .8, .2, 1) both;
717
717
  filter: drop-shadow(0 0 26px rgba(248, 250, 252, .18));
718
718
  }
719
- html.christmas[data-theme="dark"] .boot { background: radial-gradient(60vw 30vh at 50% 30%, rgba(220, 38, 38, .25), transparent 70%), #0b1424; }
720
- html.christmas[data-theme="dark"] .boot-word { background-image: linear-gradient(100deg, #f8fafc 0%, #f8fafc 40%, #ef4444 46%, #fff 50%, #22c55e 54%, #f8fafc 60%, #f8fafc 100%); }
721
- html.christmas[data-theme="dark"] .rail { background: rgba(8, 14, 26, .94); border-color: rgba(248, 250, 252, .08); }
719
+ html.christmas[data-theme="dark"] .boot { background: radial-gradient(60vw 30vh at 50% 30%, rgba(59, 130, 246, .22), transparent 70%), #071a33; }
720
+ html.christmas[data-theme="dark"] .boot-word { background-image: linear-gradient(#f8fafc, #f8fafc); animation: none; }
721
+ html.christmas[data-theme="dark"] .rail { background: rgba(5, 17, 34, .94); border-color: rgba(248, 250, 252, .08); }
722
722
  html.christmas[data-theme="dark"] .rail-btn:hover { color: #fff; background: rgba(239, 68, 68, .14); }
723
723
  html.christmas[data-theme="dark"] .rail-btn.active { background: #dc2626; color: #fff; }
724
- html.christmas[data-theme="dark"] .home-search { border-color: rgba(248, 250, 252, .18); background: rgba(10, 18, 32, .8); border-radius: 8px; }
724
+ html.christmas[data-theme="dark"] .home-search { border-color: rgba(248, 250, 252, .18); background: rgba(6, 22, 44, .85); border-radius: 8px; }
725
725
  .xmas { position: fixed; inset: 0 0 0 var(--rail-w); z-index: -1; overflow: hidden; pointer-events: none; display: none; }
726
726
  html.christmas[data-theme="dark"] .xmas { display: block; }
727
- .xmas .lights { position: absolute; top: 62px; left: 0; right: 0; height: 30px; }
728
- .xmas .lights svg { position: absolute; inset: 0; width: 100%; height: 22px; fill: none; stroke: #1f2937; stroke-width: .5; }
729
- .xmas .lights i { position: absolute; width: 7px; height: 11px; margin-left: -3px; border-radius: 50% 50% 45% 45%; background: var(--c); box-shadow: 0 0 10px var(--c); animation: twinkle 2.2s ease-in-out infinite alternate; }
730
- @keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
731
- .xmas .hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 28vh; }
732
- .xmas .pines { fill: #0d2a1c; }
733
- .xmas .snowbank { fill: #cbd5e1; opacity: .16; }
734
- .xmas .xmas-tree { position: absolute; bottom: 14px; right: 10vw; font-size: 76px; opacity: .9; filter: drop-shadow(0 0 16px rgba(250, 204, 21, .25)); }
735
- .xmas .gift { position: absolute; bottom: 10px; font-size: 34px; opacity: .85; }
736
- .xmas .gift.g1 { right: calc(10vw - 20px); }
737
- .xmas .gift.g2 { right: calc(10vw + 72px); font-size: 28px; }
727
+ @keyframes bulb { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
728
+ .xmas .scene { position: absolute; left: 0; bottom: 0; width: 100%; height: 72vh; }
729
+ .xmas .side { position: absolute; bottom: 0; height: min(50vh, 440px); width: auto; }
730
+ .xmas .side.l { left: -20px; } .xmas .side.r { right: -20px; transform: scaleX(-1); }
731
+ .xmas .cabin { position: absolute; right: 11vw; bottom: 4vh; width: clamp(200px, 24vw, 360px); height: auto; }
732
+ .xmas .xtree { position: absolute; left: 50%; bottom: 2vh; height: clamp(170px, 32vh, 300px); width: auto; transform: translateX(-50%); }
733
+ .xmas .sign { position: absolute; left: calc(50% - clamp(170px, 17vw, 240px)); bottom: 3vh; height: clamp(90px, 16vh, 150px); width: auto; }
734
+ .xmas .glow { filter: drop-shadow(0 0 6px #fbbf24); }
735
+ .xmas .tw { animation: bulb 1.8s ease-in-out infinite; } .xmas .tw.b { animation-delay: -.9s; }
738
736
  @media (prefers-reduced-motion: reduce) { .xmas * { animation: none !important; } }
739
737
  @media (max-width: 720px) {
740
738
  .xmas { inset: 0 0 56px 0; }
741
- .xmas .gift.g2 { display: none; }
742
- .xmas .xmas-tree { font-size: 52px; right: 6vw; }
739
+ .xmas .scene { height: 55vh; }
740
+ .xmas .side { height: 32vh; }
741
+ .xmas .cabin { width: 130px; right: 2vw; bottom: 2vh; }
742
+ .xmas .xtree { height: 22vh; left: 38%; }
743
+ .xmas .sign, .xmas .side.r { display: none; }
743
744
  }
744
745
 
745
746
  /* ---------- "🔥 N playing" badge and Game of the day ---------- */
@@ -888,12 +889,12 @@ html.christmas[data-theme="dark"] .xmas { display: block; }
888
889
  .spooky .moon { width: 78px; top: 12vh; right: 8vw; }
889
890
  .spooky .ghost, .spooky .spider, .spooky .bat.b2 { display: none; }
890
891
  .spooky .web { width: clamp(110px, 11vw, 160px); }
891
- .spooky .graveyard, .xmas .hills { height: 20vh; }
892
+ .spooky .graveyard { height: 20vh; }
892
893
  .spooky .pumpkin { font-size: 38px; }
893
894
  .spooky .pumpkin.p2 { font-size: 28px; left: calc(max(300px, 24vw) + 44px); }
894
- .xmas .xmas-tree { font-size: 52px; }
895
- .xmas .gift { font-size: 24px; }
896
- .xmas .snowman { font-size: 34px; }
895
+ .xmas .xtree { height: 26vh; }
896
+ .xmas .sign { height: 13vh; }
897
+ .xmas .cabin { width: clamp(180px, 20vw, 280px); }
897
898
  }
898
899
 
899
900
  /* ---------- Chat videos and voice notes ---------- */
@@ -917,12 +918,15 @@ html.christmas[data-theme="dark"] .xmas { display: block; }
917
918
 
918
919
 
919
920
  /* ---------- Snowman (Christmas decoration) ---------- */
920
- .xmas .snowman { position: absolute; bottom: 6px; right: calc(10vw + 150px); width: 70px; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); transform-origin: 50% 100%; animation: pal-sway 4s ease-in-out infinite alternate; }
921
+ .xmas .snowman { position: absolute; bottom: 3vh; left: calc(50% - clamp(290px, 29vw, 400px)); width: 70px; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); transform-origin: 50% 100%; animation: pal-sway 4s ease-in-out infinite alternate; }
921
922
  @keyframes pal-sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
922
- @media (max-width: 720px) { .xmas .snowman { width: 52px; right: calc(6vw + 70px); } }
923
+ @media (max-width: 720px) { .xmas .snowman { width: 46px; left: auto; right: calc(2vw + 140px); } }
923
924
 
924
925
  /* Falling snow, hearts, leaves… (drawn by app.js) */
925
926
  .fallers { position: fixed; top: 0; left: var(--rail-w); width: calc(100% - var(--rail-w)); height: 100%; z-index: -1; pointer-events: none; }
927
+ html.christmas[data-theme="dark"] .fallers { z-index: 2; }
928
+ html.christmas[data-theme="dark"] :is(.home-search, .home-sub, .holiday-banner, .online) { position: relative; z-index: 3; }
929
+ html.christmas[data-theme="dark"] .quote-strip { z-index: 3; }
926
930
  .fallers[hidden] { display: none; }
927
931
 
928
932
  /* ---------- More holiday themes: New Year's, Valentine's, St. Patrick's, Easter, Fourth of July, Thanksgiving ---------- */
package/logos/gn-26.webp DELETED
Binary file
package/logos/gn-506.png DELETED
Binary file
package/logos/gn-694.png DELETED
Binary file
package/logos/gn-851.png DELETED
Binary file