Plain-PHP fleet platform with id.andmore.pt SSO. Wires shared/platform-tools as a submodule (platform_update, backups, git/migration tools) like the other platforms. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
39 lines
1.2 KiB
PHP
39 lines
1.2 KiB
PHP
<div class="clearfix"></div>
|
|
<div class="video fade-in">
|
|
<div class="overlay"></div>
|
|
<video playsinline autoplay muted loop poster="<?= base_url($header_video_img) ?>">
|
|
<source src="<?= base_url($header_video_video) ?>" type="video/mp4">
|
|
</video>
|
|
<div class="container h-100">
|
|
<div class="d-flex h-100 text-center align-items-center">
|
|
<div class="w-100 text-white">
|
|
<h1 class="display-3"><img src="<?= base_url('site/assets/img/logos/logo_crossfit_white.svg')?>" alt="CrossFit" style="opacity: .85; max-width: 320px;"></h1>
|
|
<p class="lead mb-0"></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
.video {
|
|
position: relative; background-color: #000;
|
|
height: 75vh; min-height: 25rem; width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.video video {
|
|
position: absolute; top: 50%; left: 50%;
|
|
min-width: 100%; min-height: 100%;
|
|
width: auto; height: auto; z-index: 0;
|
|
transform: translate(-50%, -50%);
|
|
object-fit: cover;
|
|
}
|
|
.video .container { position: relative; z-index: 2; }
|
|
/* Fallback poster for touch devices */
|
|
@media (pointer: coarse) and (hover: none) {
|
|
.video {
|
|
background: url('<?= base_url($header_video_img) ?>') #000 center/cover no-repeat;
|
|
}
|
|
.video video { display: none; }
|
|
}
|
|
</style>
|