mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-30 09:47:22 +00:00
21 lines
237 B
SCSS
21 lines
237 B
SCSS
.youtube-embed {
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
&.aspect-16x9 {
|
|
padding-top: calc(100% / (16 / 9));
|
|
}
|
|
|
|
img,
|
|
iframe {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
img {
|
|
cursor: pointer;
|
|
}
|
|
}
|