mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-06 12:08:12 +08:00
More website loading speed and code improvements
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
.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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user