Add YouTube and Vimeo embed shortcodes (fixes #57)

This commit is contained in:
daudix
2024-08-26 05:16:43 +03:00
parent 0db21144df
commit 58e4507229
5 changed files with 53 additions and 0 deletions

14
sass/_iframe.scss Normal file
View File

@ -0,0 +1,14 @@
iframe {
margin: 1rem auto;
box-shadow: var(--edge-highlight), var(--shadow);
border: none;
border-radius: var(--rounded-corner);
background-color: var(--fg-muted-1);
width: 100%;
max-width: 100%;
&.youtube-embed,
&.vimeo-embed {
aspect-ratio: 16 / 9;
}
}