Add YouTube and Vimeo embed shortcodes (fixes #57)
This commit is contained in:
14
sass/_iframe.scss
Normal file
14
sass/_iframe.scss
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user