Commit 30e6bc2dfd

30e6bc2dfdb9c00b0a6d66965d8fce19b438eec8

parent: 826cbd08bb

Verified · cmc

cmc <hello@cleberg.net> · 2026-03-23 22:09 UTC

compress structure and remove start state for fragment-first entry

Layout: unified · split

index.html +1 −73
@@ -1,73 +1 @@
1<!doctype html> 1<!doctype html><style>body>div{display:none}body>div:target{display:block}</style><div id=g><p>gate<p>ruin.dark ahead.<p><a href=#b>left</a> <a href=#e>right</a> <a href=#h>in</a></div><div id=b><p>bones<p>torch burns.dark favors walls.<p><a href=#h>take</a> <a href=#p>on</a></div><div id=e><p>beast<p>one eye opens.<a href=#d>eaten</a></div><div id=h><p>hall<p>stairs.bronze door.wall crack.<p><a href=#p>stairs</a> <a href=#i>door</a> <a href=#c>crack</a></div><div id=p><p>pit<p>too wide.dark below.<p><a href=#d>jump</a> <a href=#v>edge</a></div><div id=i><p>idol<p>gold at its feet.head bowed.<p><a href=#d>gold</a> <a href=#c>bow</a> <a href=#h>back</a></div><div id=c><p>crack<p>cold air.barely wide enough.<p><a href=#v>squeeze</a> <a href=#h>return</a></div><div id=v><p>vault<p>crown.small key.<p><a href=#d>crown</a> <a href=#w>key</a> <a href=#g>leave</a></div><div id=d><p>dead<p><a href=#g>again</a></div><div id=w><p>key taken<p>gate opens.dawn.<p><a href=#g>again</a></div>
2<html lang=en>
3<meta charset=utf-8>
4<meta name=viewport content="width=device-width,initial-scale=1">
5<title>Micro Roguelike</title>
6<style>
7section{display:none;min-height:100vh}#s:target,#g:target,#b:target,#e:target,#h:target,#p:target,#i:target,#c:target,#v:target,#d:target,#w:target{display:block}html:not(:has(:target))#s{display:block}
8</style>
9
10<section id=s>
11 <p>micro roguelike</p>
12 <p>learn fast. die often.</p>
13 <p><a href=#g>start</a></p>
14</section>
15
16<section id=g>
17 <p>gate</p>
18 <p>ruin. dark ahead.</p>
19 <p><a href=#b>left</a> <a href=#e>right</a> <a href=#h>in</a></p>
20</section>
21
22<section id=b>
23 <p>bones</p>
24 <p>torch burns. dark favors walls.</p>
25 <p><a href=#h>take torch</a> <a href=#p>move on</a></p>
26</section>
27
28<section id=e>
29 <p>beast</p>
30 <p>one eye opens. <a href=#d>eaten</a></p>
31</section>
32
33<section id=h>
34 <p>hall</p>
35 <p>stairs. bronze door. wall crack.</p>
36 <p><a href=#p>stairs</a> <a href=#i>door</a> <a href=#c>crack</a></p>
37</section>
38
39<section id=p>
40 <p>pit</p>
41 <p>too wide. dark below.</p>
42 <p><a href=#d>jump</a> <a href=#v>edge</a></p>
43</section>
44
45<section id=i>
46 <p>idol</p>
47 <p>gold at its feet. head bowed.</p>
48 <p><a href=#d>gold</a> <a href=#c>bow</a> <a href=#h>back</a></p>
49</section>
50
51<section id=c>
52 <p>crack</p>
53 <p>cold air. barely wide enough.</p>
54 <p><a href=#v>squeeze</a> <a href=#h>return</a></p>
55</section>
56
57<section id=v>
58 <p>vault</p>
59 <p>crown. small key.</p>
60 <p><a href=#d>crown</a> <a href=#w>key</a> <a href=#g>leave</a></p>
61</section>
62
63<section id=d>
64 <p>dead</p>
65 <p><a href=#g>again</a></p>
66</section>
67
68<section id=w>
69 <p>key taken</p>
70 <p>the gate opens. dawn.</p>
71 <p><a href=#g>again</a></p>
72</section>
73</html>