Revert "nothing is under control"

This reverts commit 86309733e8.
This commit is contained in:
Vincent
2024-09-09 11:09:27 +02:00
parent aa8e7cb6d9
commit 5076fededb
2 changed files with 16 additions and 19 deletions

View File

@@ -1,23 +1,4 @@
<header class="site-header">
<style>
header {
position: fixed;
top: 0;
width: 100%;
z-index: 1000; /* Ensure it stays above other content */
background-color: #fff; /* or any background you prefer */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow to make it stand out */
}
body {
padding-top: 60px; /* Adjust according to your header's height */
}
body.dark-mode header {
background-color: #333;
color: white;
}
</style>
<div class="wrapper">
{%- assign default_paths = site.pages | map: "path" -%}

View File

@@ -173,7 +173,23 @@
{%- include header.html -%}
header {
position: fixed;
top: 0;
width: 100%;
z-index: 1000; /* Ensure it stays above other content */
background-color: #fff; /* or any background you prefer */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow to make it stand out */
}
body {
padding-top: 60px; /* Adjust according to your header's height */
}
body.dark-mode header {
background-color: #333;
color: white;
}
<div class="toc">
<h2 class="no-toc">Sommaire</h2>