Mercurial > web
diff index.html @ 57:ac1900c0e376
html: Remove CSP and use local files
Also I changed the font from Source Sans 3 to Helvetica
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 19 Dec 2022 18:18:57 -0500 |
parents | c95a96b61d9a |
children | 3946995eb2e6 |
line wrap: on
line diff
--- a/index.html Mon Dec 19 17:54:07 2022 -0500 +++ b/index.html Mon Dec 19 18:18:57 2022 -0500 @@ -2,17 +2,14 @@ <head> <title>Home - Paper's website</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - <meta http-equiv="Content-Security-Policy" content="default-src 'self' https://fonts.gstatic.com; style-src 'self' 'nonce-paper-web-inline' https://maxcdn.bootstrapcdn.com https://fonts.googleapis.com; img-src data:; script-src 'nonce-paper-web-inline'"> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="google-site-verification" content="rILPN0Fit17u21ImKQW-ZHQMvx_Ak7qcuM3ewqtrJg8" /> <!-- bootstrap 2.3.2 gives an error that the `zoom` css property isn't supported, but we don't have anything that uses it anyway --> - <link href="https://maxcdn.bootstrapcdn.com/bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet" media="screen"> + <link href="./css/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="shortcut icon" type="image/x-icon" href="favicon.ico?"> <style nonce="paper-web-inline"> - @import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300&display=swap'); .navbar { - font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; text-align: left; /* Override body text align */ box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); } @@ -46,9 +43,9 @@ } body { background-color: 1F255A; - font-family: 'Source Sans 3', sans-serif; + font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; overflow: hidden; - text-shadow: 5px 0 10px rgba(0, 0, 0, 0.5); + text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); } div.box { background-color: rgba(0, 0, 0, 0.5);