diff --git a/assets/style.css b/assets/style.css index 9b08679..42ff060 100644 --- a/assets/style.css +++ b/assets/style.css @@ -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: 0px solid var(--primary-hover); /* Set initial border */ + border: 4px 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: 0px solid var(--primary-hover); /* Maintain border for the delay */ + border: 4px solid transparent; /* Maintain border for the delay */ transition-delay: 0.1s; /* Delay the border fade-out transition */ }