mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 08:58:30 -04:00
fix CSP
This commit is contained in:
parent
733b9b2556
commit
503efe348a
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
// all code
|
// all code
|
||||||
code {
|
code {
|
||||||
font-size: 0.95em;
|
font-size: 0.925em;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
page-break-inside: avoid; // stylelint-disable-line plugin/no-unsupported-browser-features
|
page-break-inside: avoid; // stylelint-disable-line plugin/no-unsupported-browser-features
|
||||||
}
|
}
|
||||||
|
@ -12,9 +12,9 @@ image: "images/codepen.png"
|
|||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
# Howdy, friends! <span class="wave">👋</span>
|
## Howdy, friends! <span class="wave">👋</span>
|
||||||
|
|
||||||
If you examine [my homepage](/) long enough, you might notice the 👋 hand emoji at the top subtly waving at you. This was easily accomplished using a few lines of CSS with a feature called [`@keyframes`](https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes) — no bulky GIFs involved, and no JS mess or jQuery overkill required.
|
If you examine [my homepage](/) long enough, you might notice the <span class="wave">👋</span> hand emoji at the top subtly waving at you. This was easily accomplished using a few lines of CSS with a feature called [`@keyframes`](https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes) — no bulky GIFs involved, and no JS mess or jQuery overkill required.
|
||||||
|
|
||||||
Below are the code snippets you can grab and customize to make your own ["waving hand" 👋](https://emojipedia.org/waving-hand-sign/) emojis **_actually wave_**, and a [CodePen playground](https://codepen.io/jakejarvis/pen/pBZWZw) for live testing.
|
Below are the code snippets you can grab and customize to make your own ["waving hand" 👋](https://emojipedia.org/waving-hand-sign/) emojis **_actually wave_**, and a [CodePen playground](https://codepen.io/jakejarvis/pen/pBZWZw) for live testing.
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@
|
|||||||
}
|
}
|
||||||
code {
|
code {
|
||||||
font-family: "Roboto Mono", monospace;
|
font-family: "Roboto Mono", monospace;
|
||||||
font-size: 0.95em;
|
font-size: 0.925em;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@
|
|||||||
manifest-src 'self';
|
manifest-src 'self';
|
||||||
media-src 'self' data: https:;
|
media-src 'self' data: https:;
|
||||||
object-src 'none';
|
object-src 'none';
|
||||||
script-src 'self' 'unsafe-eval' https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/ https://cdn.ampproject.org/rtv/ https://3p.ampproject.net https://buttons.github.io https://gist.github.com https://syndication.twitter.com https://platform.twitter.com https://player.vimeo.com 'sha256-JGG0npUp+0ABq/NY1azjpQ0WBtm+m5gU58mzF+2DCXY=';
|
script-src 'self' 'unsafe-eval' https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/ https://cdn.ampproject.org/rtv/ https://3p.ampproject.net https://buttons.github.io https://gist.github.com https://syndication.twitter.com https://platform.twitter.com https://player.vimeo.com 'sha256-y3Xr/40/KQnUvqk/kZO5us6t3i/I49BsbYjsH8ELhVg=' 'sha256-JGG0npUp+0ABq/NY1azjpQ0WBtm+m5gU58mzF+2DCXY=';
|
||||||
style-src 'self' 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://fonts.googleapis.com https://github.githubassets.com;
|
style-src 'self' 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://fonts.googleapis.com https://github.githubassets.com;
|
||||||
worker-src 'self';
|
worker-src 'self';
|
||||||
block-all-mixed-content;
|
block-all-mixed-content;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user