homegrade_theme_production/resources/css/layout/header.css
Nonimart 1886840c70
Some checks failed
continuous-integration/drone/push Build is failing
FINAL MERGE V2 (from antoine-merge branch)
2025-08-05 14:53:21 +02:00

36 lines
671 B
CSS

/* Handling background page scroll */
body:has(header .menu-renovateur .sub-menu--open) {
@apply overflow-hidden;
@media screen and (max-width: 960px) {
/* FIXING BUG ON SAFARI */
.menu-renovateur__mobile-menu-toggle,
main {
@apply hidden;
}
}
}
header#main-header {
@apply flex
relative
flex-col-reverse
lg:flex-col;
}
.skiplinks {
@apply bg-primary pl-8;
&__link {
transition: margin 0.25s ease-in-out;
@apply text-white block w-fit border-white rounded-md px-4 overflow-hidden
max-h-0
focus:py-2
focus:border
focus:my-4
focus:max-h-12;
}
}
.sub-menu {
@apply z-10;
}