diff --git a/lambda.js b/lambda.js index 10c3326e..190f3500 100644 --- a/lambda.js +++ b/lambda.js @@ -29,7 +29,11 @@ exports.handler = (event, context, callback) => { // }]; response.headers['Content-Security-Policy'] = [{ key: 'Content-Security-Policy', - value: "default-src 'none'; script-src 'self' stats.jarv.is 'sha256-TLAu2p9kt4LHt+sWwE0cvqq1Ok5LoGzRPrw7+mzhX00='; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self'; form-action 'self'; child-src 'self'; frame-src 'self'; frame-ancestors 'self'; base-uri 'none'; object-src 'none'; worker-src 'none'; connect-src 'self' jarvis.report-uri.com stats.jarv.is; upgrade-insecure-requests; report-uri https://jarvis.report-uri.com/r/d/csp/enforce" + value: "default-src 'none'; script-src 'self' stats.jarv.is 'sha256-TLAu2p9kt4LHt+sWwE0cvqq1Ok5LoGzRPrw7+mzhX00='; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self'; object-src 'none'; media-src 'self'; base-uri 'none'; form-action 'self'; frame-src 'self'; frame-ancestors 'self'; worker-src 'none'; connect-src 'self' jarvis.report-uri.com stats.jarv.is; upgrade-insecure-requests; report-uri https://jarvis.report-uri.com/r/d/csp/enforce; report-to default" + }]; + response.headers['Report-To'] = [{ + key: 'Report-To', + value: "{\"group\":\"default\",\"max_age\":31536000,\"endpoints\":[{\"url\":\"https://jarvis.report-uri.com/a/d/g\"}],\"include_subdomains\":true}" }]; response.headers['X-DNS-Prefetch-Control'] = [{ key: 'X-DNS-Prefetch-Control', @@ -41,7 +45,7 @@ exports.handler = (event, context, callback) => { }]; response.headers['Expect-CT'] = [{ key: 'Expect-CT', - value: "max-age=0, report-uri=\"https://jarvis.report-uri.com/r/d/ct/reportOnly\"" + value: "max-age=86400, enforce, report-uri=\"https://jarvis.report-uri.com/r/d/ct/enforce\"" }]; response.headers['X-Permitted-Cross-Domain-Policies'] = [{ key: 'X-Permitted-Cross-Domain-Policies', diff --git a/static/style.css b/static/style.css index a6a4e025..585e4e8f 100644 --- a/static/style.css +++ b/static/style.css @@ -56,16 +56,16 @@ div#home { width: 100%; height: 100%; margin: 0 auto; - padding: 8%; + padding: 6% 8%; } div#home img#me { float: right; - margin: 0 0 6px 12px; + margin: 0 0 20px 20px; padding: 4px; border: 1px solid #dddddd; - width: 135px; - height: 135px; + width: 160px; + height: 160px; } div#home h1 { @@ -110,7 +110,7 @@ div#home sup { width: 70px; height: 70px; padding: 2px; - margin: 0 0 6px 6px; + margin: 0 0 10px 10px; } div#home h1 { @@ -400,7 +400,7 @@ div#home a#email:hover { div#home a#pgp { color: #777777; - margin-left: -2px; + margin-left: -3px; margin-right: 1px; } div#home a#pgp:hover {