chore(clean): dedup CV/index CSS, drop dead directives (tour F1-F8)
CV: shared block for xp/project/edu headers + date chips + roles + tags, 2 identical inline style attrs -> .inline-link class, no-op body margin/ padding removed, stray blank collapsed. Proven behavior-preserving: PDF text-hash + per-page render-hash + full byte-identity vs committed PDF. index: .stack-note/.theme-list code grouped, 2 no-op .formation overrides removed. nginx.conf: dead 'deny all' after return 404 removed (nginx -t + dotfile-404 oracle PASS). .dockerignore: phantom nginx.conf.bak entry. Snippet comment: CV style attrs no longer exist. CSP hash unchanged.
This commit is contained in:
1 parent
1aa97f0af0
commit
613bfc0d49
5 files changed
+45
-99
No files matched your search
@@ -8,7 +8,7 @@ add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||
add_header Permissions-Policy "geolocation=(), microphone=(), camera=(), payment=()" always;
|
||||
# CSP: inline CSS allowed (style attributes in the CV + single-file convention);
|
||||
# CSP: inline CSS allowed (single-file convention: inline <style> element);
|
||||
# the inline script is HASH-pinned (no script unsafe-inline). INVARIANT: after
|
||||
# ANY edit to index.html's inline <script>, recompute the hash (command in
|
||||
# CLAUDE.md) and update it here — a stale hash silently disables the JS.
|
||||
|
||||
Reference in new issue
Block a user