From 7a6863ba0c858554225648c788227fe3bc770927 Mon Sep 17 00:00:00 2001 From: NinoReichardt Date: Sun, 15 Nov 2026 18:19:39 +0100 Subject: feat: csp and sitemap --- _headers | 1 + assets/main.css | 13 +++++++++++++ index.html | 5 +---- sitemap.xml | 6 ++++++ 4 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 sitemap.xml diff --git a/_headers b/_headers index 88b5885..3ca0862 100644 --- a/_headers +++ b/_headers @@ -5,6 +5,7 @@ Content-Type: application/manifest+json /* + Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self'; font-src 'self'; img-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'none'; form-action 'none' X-Content-Type-Options: nosniff Referrer-Policy: strict-origin-when-cross-origin X-Frame-Options: DENY diff --git a/assets/main.css b/assets/main.css index bcf5add..cae7aed 100644 --- a/assets/main.css +++ b/assets/main.css @@ -11,6 +11,17 @@ html { background: #eeeeee } +#renderer { + position: fixed; + padding: 0; + margin: 0; + top: 0; + bottom: 0; + left: 0; + right: 0; + z-index: -5; +} + * { font-family: "Inter", sans-serif; font-optical-sizing: auto; @@ -36,6 +47,8 @@ ul li { } hr { + margin-block: 1.25rem; + opacity: 0.5; border: 0; border-top: 1px solid var(--text-dim); } diff --git a/index.html b/index.html index e1e477f..52763cd 100644 --- a/index.html +++ b/index.html @@ -29,10 +29,7 @@ -
+
diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..7660184 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,6 @@ + + + + https://nire.dev/ + + -- cgit v1.2.3