From 47e4c456590b9846612bdc1db83756e7b546f9a2 Mon Sep 17 00:00:00 2001 From: u <@> Date: Sun, 22 Mar 2026 15:08:52 +0200 Subject: a --- src/lib.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 6b28e00..9f7f540 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -94,6 +94,8 @@ async fn fetch(req: Request, env: Env, _ctx: Context) -> Result { ". Source available " a href="https://git.neetlo.li/ataxia/tree" { "here" } "." + br; br; + "I may be contacted by shouting loudly on the Internet, though I doubt there would be a need to." } }) }) @@ -198,7 +200,12 @@ body { max-width: 960px; margin-left: auto; margin-right: auto; -}"; +} +.f,.f *{position:fixed;height:100%;top:0;left:50%} +.f *{transform:translate(-50%,0)} +.f{display:none;left:0;width:100%;background:rgba(0,0,0,0.8)} +*:focus+.f{display:block} +"; html! { (DOCTYPE) style { (PreEscaped(css)) } -- cgit v1.2.3