This commit is contained in:
Richard Mikloš 2024-01-16 22:07:47 +01:00
parent a394f9af48
commit c0aba27007

@ -144,7 +144,7 @@ header hr {
flex-direction: column;
overflow: hidden; /* Hide the content initially */
max-height: 0; /* Set the initial height to 0 */
border: 4px solid transparent; /* Set initial border */
border: 0px solid transparent; /* Set initial border */
transition: max-height 0.1s ease, border 0.1s ease; /* Add transition for smooth height and border animation */
}
@ -157,7 +157,7 @@ header hr {
/* Add this style for the transition when not hovering */
.navsite_item:not(:hover) .navpage_list {
max-height: 0; /* Set height to 0 when not hovering */
border: 4px solid transparent; /* Maintain border for the delay */
border: 0px solid transparent; /* Maintain border for the delay */
transition-delay: 0.1s; /* Delay the border fade-out transition */
}