lvra.gitlab.io/assets/_custom.scss
2023-12-04 21:08:10 +00:00

21 lines
396 B
SCSS

main {
min-height: 100vh;
}
.book-menu-overlay {
display: block !important;
background-color: black;
visibility: hidden;
opacity: 0;
transition: opacity 0.2s ease-in-out;
}
#menu-control:checked ~ main .book-menu-overlay {
opacity: .3;
visibility: visible;
transition: opacity 0.2s ease-in-out;
}
#menu-control:checked ~ main .book-page {
opacity: 1;
}