chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

commit 4cb07ff872d87ea3ead002dc03ec66faab547901
parent d9bf507b42eec8e13325c664a79c1f339ae9958f
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Wed, 21 Oct 2026 19:20:57 +0000

website: more secrets

Diffstat:
Adocs/404.html | 44++++++++++++++++++++++++++++++++++++++++++++
Mdocs/egg.js | 31+++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+), 0 deletions(-)

diff --git a/docs/404.html b/docs/404.html @@ -0,0 +1,44 @@ +<!doctype html> +<html lang="en"> +<head> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1"> +<title>You died - Chamesle Linux</title> +<link rel="icon" href="/img/logo.png"> +<link rel="stylesheet" href="/style.css"> +</head> +<body> + +<header> + <a class="brand" href="/"><img src="/img/logo.png" alt="" width="36" height="36"> Chamesle</a> + <nav> + <a href="/new.html">What's new</a> + <a href="/download.html">Download</a> + <a href="/editions.html">Editions</a> + <a href="/packages.html">Packages</a> + <a href="/docs.html">Docs</a> + <a href="/board.html">Board</a> + <a href="/about.html">About</a> + </nav> +</header> + +<main> + +<div style="text-align:center;padding:80px 0 40px"> + <div style="font-family:Georgia,'Times New Roman',serif;font-size:clamp(48px,11vw,110px);letter-spacing:.06em;color:#a31c1c; + text-shadow:0 0 24px rgba(163,28,28,.45)">YOU DIED</div> + <p class="small" style="margin-top:4px">That page doesn't exist. Maybe it never did.</p> + <p><a class="button" href="/">Return to the site of grace</a></p> +</div> + +</main> + +<footer> + <p><a href="/about.html">About</a> &middot; <a href="https://github.com/tortr-rs/chamesle">GitHub</a> &middot; + <a href="https://sourceforge.net/projects/chameslerepos/">SourceForge</a></p> + <p>Chamesle Linux. Source code for every package is available on request.</p> +</footer> + +<script src="/egg.js"></script> +</body> +</html> diff --git a/docs/egg.js b/docs/egg.js @@ -27,3 +27,34 @@ }, 1400); }); })(); + +// up up down down left right left right b a +(function () { + var code = ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a']; + var at = 0, typed = ''; + function banner(text, color, sub) { + var d = document.createElement('div'); + d.style.cssText = 'position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;' + + 'background:linear-gradient(transparent 35%,rgba(0,0,0,.75) 45%,rgba(0,0,0,.75) 55%,transparent 65%);' + + 'pointer-events:none;opacity:0;transition:opacity 1.2s;z-index:99;font-family:Georgia,"Times New Roman",serif'; + d.innerHTML = '<div style="font-size:clamp(28px,6vw,64px);letter-spacing:.08em;color:' + color + ';text-shadow:0 0 18px ' + + color + '88">' + text + '</div>' + (sub ? '<div style="color:#ddd;font-size:18px;margin-top:8px;font-style:italic">' + + sub + '</div>' : ''); + document.body.appendChild(d); + requestAnimationFrame(function () { d.style.opacity = 1; }); + setTimeout(function () { d.style.opacity = 0; }, 3200); + setTimeout(function () { d.remove(); }, 4600); + } + document.addEventListener('keydown', function (e) { + if (e.target.tagName === 'INPUT' || e.target.tagName === 'TEXTAREA') return; + at = (e.key === code[at]) ? at + 1 : (e.key === code[0] ? 1 : 0); + if (at === code.length) { + at = 0; + banner('GREAT ENEMY FELLED', '#e8c872'); + } + if (e.key.length === 1) { + typed = (typed + e.key.toLowerCase()).slice(-6); + if (typed === 'margit') banner('MARGIT, THE FELL OMEN', '#d6c79a', 'Put these foolish ambitions to rest!'); + } + }); +})();