mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 08:01:16 -04:00
CSS and header tweaks
This commit is contained in:
@@ -29,7 +29,11 @@ exports.handler = (event, context, callback) => {
|
|||||||
// }];
|
// }];
|
||||||
response.headers['Content-Security-Policy'] = [{
|
response.headers['Content-Security-Policy'] = [{
|
||||||
key: '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'] = [{
|
response.headers['X-DNS-Prefetch-Control'] = [{
|
||||||
key: 'X-DNS-Prefetch-Control',
|
key: 'X-DNS-Prefetch-Control',
|
||||||
@@ -41,7 +45,7 @@ exports.handler = (event, context, callback) => {
|
|||||||
}];
|
}];
|
||||||
response.headers['Expect-CT'] = [{
|
response.headers['Expect-CT'] = [{
|
||||||
key: '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'] = [{
|
response.headers['X-Permitted-Cross-Domain-Policies'] = [{
|
||||||
key: 'X-Permitted-Cross-Domain-Policies',
|
key: 'X-Permitted-Cross-Domain-Policies',
|
||||||
|
@@ -56,16 +56,16 @@ div#home {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 8%;
|
padding: 6% 8%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#home img#me {
|
div#home img#me {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 0 0 6px 12px;
|
margin: 0 0 20px 20px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
border: 1px solid #dddddd;
|
border: 1px solid #dddddd;
|
||||||
width: 135px;
|
width: 160px;
|
||||||
height: 135px;
|
height: 160px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#home h1 {
|
div#home h1 {
|
||||||
@@ -110,7 +110,7 @@ div#home sup {
|
|||||||
width: 70px;
|
width: 70px;
|
||||||
height: 70px;
|
height: 70px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin: 0 0 6px 6px;
|
margin: 0 0 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#home h1 {
|
div#home h1 {
|
||||||
@@ -400,7 +400,7 @@ div#home a#email:hover {
|
|||||||
|
|
||||||
div#home a#pgp {
|
div#home a#pgp {
|
||||||
color: #777777;
|
color: #777777;
|
||||||
margin-left: -2px;
|
margin-left: -3px;
|
||||||
margin-right: 1px;
|
margin-right: 1px;
|
||||||
}
|
}
|
||||||
div#home a#pgp:hover {
|
div#home a#pgp:hover {
|
||||||
|
Reference in New Issue
Block a user