version history MVP

implement basic version history support; there's now an icon in the footer that lets you see the previous versions and their sources
I'm a bit worried about spoilers but honestly it's yet another way to hint yourself at the cool secrets so I don't mind
This commit is contained in:
りき萌 2024-09-28 23:43:05 +02:00
parent 46dee56331
commit c58c07d846
28 changed files with 1066 additions and 330 deletions

27
static/css/history.css Normal file
View file

@ -0,0 +1,27 @@
.version-history {
&>ul.commits {
--recursive-mono: 1;
list-style: none;
padding-left: 0;
&>li {
padding-top: 0.2rem;
padding-bottom: 0.2rem;
display: grid;
grid-template-columns: 4em min-content auto;
align-items: start;
gap: 0.5em;
&>.revision-number {
justify-self: end;
}
details>summary {
cursor: pointer;
}
}
}
}