fix sticky problems

This commit is contained in:
isUnknown 2024-04-10 14:55:34 +02:00
parent d9dcd940af
commit ba450cbb1f
15 changed files with 212 additions and 142 deletions

View file

@ -1,3 +1,6 @@
<?php
$entryTopPos = $entryTopPos ?? 20;
?>
<!DOCTYPE html>
<html lang="en">
<head>
@ -8,6 +11,11 @@
<script src="<?= url('assets') ?>/js/script.js?version-cache-prevent<?= rand(0, 1000)?>" defer></script>
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
<meta name="robots" content="noindex, nofollow, noarchive">
<style>
:root {
--entry-btns-top: calc(var(--unit--vertical-relative) * <?= $entryTopPos ?>);
}
</style>
</head>
<body class="grid" data-template="<?= $page->template() ?>" >
<header id="main-header">
@ -17,4 +25,5 @@
<h1 id="inactuel">inactuel</h1>
</a>
</div>
</header>
</header>
<?php snippet('panels') ?>