Skip to content

Remove inline styles and tighten CSP style-src - #24

Open
amiyalis wants to merge 4 commits into
wonmortech:mainfrom
amiyalis:main
Open

amiyalis wants to merge 4 commits into
wonmortech:mainfrom
amiyalis:main

Conversation

@amiyalis

Copy link
Copy Markdown

What and why

Checklist

  • node tools/check-site.mjs and npm test pass
  • New behaviour or a fixed bug has a test
  • All three language pages (/, /en/, /ru/) are updated where needed
  • User-visible change is in CHANGELOG.md under [Unreleased]
  • Every commit is signed off (git commit -s, DCO)
  • No inline scripts, no third-party origins, no innerHTML with data (docs/ASSURANCE.md)

Related issue:

What and why

Removed inline margin-top styles from index.html files and replaced them with classes in site.css. Removed unsafe-inline from CSP style-src in Caddyfile.

Closes #7

@amiyalis
amiyalis requested a review from a team as a code owner November 14, 2026 22:24
Signed-off-by: Ami  <kucharskaamelia361@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant