Hotfix : Header navbar fixed to the top
This commit is contained in:
parent
cfdfeb142c
commit
a3eda673a7
@ -15,6 +15,7 @@ body {
|
|||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
font-family: 'Montserrat', 'Arial', sans-serif;
|
font-family: 'Montserrat', 'Arial', sans-serif;
|
||||||
margin: 0 0 var(--footer-height); /* bottom = footer height */
|
margin: 0 0 var(--footer-height); /* bottom = footer height */
|
||||||
|
padding-top: 96px; /* Hauteur de la navbar */
|
||||||
}
|
}
|
||||||
.important {
|
.important {
|
||||||
color: var(--important);
|
color: var(--important);
|
||||||
@ -44,6 +45,13 @@ header {
|
|||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
.navbar {
|
.navbar {
|
||||||
|
position: fixed;
|
||||||
|
width: 100%;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 100;
|
||||||
|
background-color: var(--background-color);
|
||||||
border-bottom: var(--border-header-footer);
|
border-bottom: var(--border-header-footer);
|
||||||
}
|
}
|
||||||
.nav-link {
|
.nav-link {
|
||||||
|
Reference in New Issue
Block a user