mirror of
https://github.com/BreizhHardware/lefrenchmathproject.git
synced 2026-01-18 16:37:32 +01:00
@@ -1,5 +1,23 @@
|
||||
<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" -%}
|
||||
|
||||
@@ -26,22 +26,10 @@
|
||||
</script>
|
||||
|
||||
<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 {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
padding-top: 60px; /* Adjust according to your header's height */
|
||||
}
|
||||
|
||||
.toc {
|
||||
width: 20%;
|
||||
padding: 20px;
|
||||
@@ -165,11 +153,6 @@
|
||||
color: white;
|
||||
}
|
||||
|
||||
body.dark-mode header {
|
||||
background-color: #333;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.theme-toggle-button {
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
|
||||
Reference in New Issue
Block a user