2024-03-05 00:42:56 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
This CSS file will be included with your plugin, and
|
|
|
|
|
available in the app when your plugin is enabled.
|
|
|
|
|
|
|
|
|
|
If your plugin does not need CSS, delete this file.
|
|
|
|
|
|
|
|
|
|
*/
|
2024-03-05 15:12:54 +00:00
|
|
|
iframe.auto-embed {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
/* min-height: 500px; */
|
2024-03-05 00:42:56 +00:00
|
|
|
}
|
|
|
|
|
|
2024-03-05 15:12:54 +00:00
|
|
|
iframe.small.auto-embed {
|
2024-03-05 00:42:56 +00:00
|
|
|
min-height: 300px;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-05 15:12:54 +00:00
|
|
|
iframe.large.auto-embed {
|
2024-03-05 00:42:56 +00:00
|
|
|
min-height: 1000px;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-05 15:12:54 +00:00
|
|
|
iframe.largest.auto-embed {
|
2024-03-05 00:42:56 +00:00
|
|
|
min-height: calc(100vh - 100px);
|
2024-03-05 15:12:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.auto-embed.twitter-embed {
|
|
|
|
|
width: 600px;
|
|
|
|
|
height: 350px;
|
|
|
|
|
min-height: unset;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-06 01:58:29 +00:00
|
|
|
.auto-embed.youtube-shorts-embed {
|
|
|
|
|
height: 560px;
|
|
|
|
|
aspect-ratio: 9/16;
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-05 15:12:54 +00:00
|
|
|
.auto-embed.youtube-embed {
|
2024-03-06 02:39:30 +00:00
|
|
|
/* Default size of YouTube videos when using Share > Embed option on YoutTube's website */
|
2024-03-05 15:12:54 +00:00
|
|
|
/* width: 560px;
|
|
|
|
|
height: 315px; */
|
|
|
|
|
|
|
|
|
|
width: 100%;
|
2024-03-06 01:58:29 +00:00
|
|
|
aspect-ratio: 16 / 9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.auto-embed.error-embed {
|
|
|
|
|
color: var(--text-error);
|
2024-03-06 02:39:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.auto-embed.steam-embed {
|
|
|
|
|
/* Default size of Steam previews when using Embed option on Steam's website */
|
|
|
|
|
/* width: 646px;
|
|
|
|
|
height: 190px; */
|
|
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 190px;
|
|
|
|
|
|
|
|
|
|
/* Even if height is set to very big and width is small, it doesn't change the height,
|
|
|
|
|
and height stays at 190px. So set a fixed height.*/
|
2024-03-05 00:42:56 +00:00
|
|
|
}
|