diff --git a/content/notes/security-headers-cloudflare-workers/index.md b/content/notes/security-headers-cloudflare-workers/index.md index c648ea1a..ac73ff37 100644 --- a/content/notes/security-headers-cloudflare-workers/index.md +++ b/content/notes/security-headers-cloudflare-workers/index.md @@ -29,7 +29,7 @@ The following script can be added as a Worker and customized to your needs. Some ```js let newHeaders = { "Content-Security-Policy": "default-src 'self'; upgrade-insecure-requests", - "Strict-Transport-Security" : "max-age=1000", + "Strict-Transport-Security": "max-age=1000", "X-XSS-Protection": "1; mode=block", "X-Frame-Options": "SAMEORIGIN", "X-Content-Type-Options": "nosniff", diff --git a/static/style.css b/static/style.css index c9563e25..828ede32 100644 --- a/static/style.css +++ b/static/style.css @@ -619,7 +619,7 @@ body#notes main#single article div#info { text-align: center; } -body#notes main#single article h1 { +body#notes main#single article div#info h1 { margin-top: 0; margin-bottom: 20px; color: #222; @@ -627,18 +627,16 @@ body#notes main#single article h1 { line-height: 1.4em; } -body#notes main#single article h1 a { +body#notes main#single article div#info h1 a { color: #222; border: none; } -body#notes main#single article h2 { +body#notes main#single article div#content h1, body#notes main#single article div#content h2, body#notes main#single article div#content h3 { margin-top: 20px; margin-bottom: 10px; - font-weight: normal; - font-size: 24px; + font-weight: 500; line-height: 1.5em; - color: #222; } body#notes main#single article div.meta {