breakout-custom/embed/embed.html

31 lines
928 B
HTML
Raw Normal View History

2024-09-07 22:19:15 +00:00
<style>
.responsive-iframe-container {
position: relative;
overflow: hidden;
width: 100%;
}
.responsive-iframe-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
</style>
<div class="responsive-iframe-container">
<iframe src="https://deconstruit-breakout.coolify.jevalide.ca/game" style="overflow: hidden;"></iframe>
</div>
<script>
2024-09-08 00:02:12 +00:00
document.addEventListener('DOMContentLoaded', function () {
var footer = document.querySelector('footer');
var contentArea = document.querySelector('.content-area');
if (footer && footer.parentNode && contentArea) {
var footerHeight = footer.offsetHeight;
footer.parentNode.removeChild(footer);
contentArea.style.minHeight = 'calc(100vh - ' + footerHeight + 'px)';
2024-09-07 22:19:15 +00:00
}
2024-09-08 00:02:12 +00:00
});
2024-09-07 22:19:15 +00:00
</script>