summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs9
1 files changed, 8 insertions, 1 deletions
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<Response> {
". 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)) }