forked from Adleraci/adlerka.top
less taeanising
This commit is contained in:
parent
b5941e8686
commit
07b828c2f3
@ -145,7 +145,7 @@ header hr {
|
|||||||
overflow: hidden; /* Hide the content initially */
|
overflow: hidden; /* Hide the content initially */
|
||||||
max-height: 0; /* Set the initial height to 0 */
|
max-height: 0; /* Set the initial height to 0 */
|
||||||
border: 0px solid var(--primary-hover); /* Set initial border */
|
border: 0px solid var(--primary-hover); /* Set initial border */
|
||||||
transition: max-height 0.3s ease, border 0.3s ease; /* Add transition for smooth height and border animation */
|
transition: max-height 0.1s ease, border 0.1s ease; /* Add transition for smooth height and border animation */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Modify this style for the hover state of the navsite_item */
|
/* Modify this style for the hover state of the navsite_item */
|
||||||
@ -158,7 +158,7 @@ header hr {
|
|||||||
.navsite_item:not(:hover) .navpage_list {
|
.navsite_item:not(:hover) .navpage_list {
|
||||||
max-height: 0; /* Set height to 0 when not hovering */
|
max-height: 0; /* Set height to 0 when not hovering */
|
||||||
border: 0px solid var(--primary-hover); /* Maintain border for the delay */
|
border: 0px solid var(--primary-hover); /* Maintain border for the delay */
|
||||||
transition-delay: 0.3s; /* Delay the border fade-out transition */
|
transition-delay: 0.1s; /* Delay the border fade-out transition */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user