.navbar { position: fixed; display: flex; z-index: 2; flex-direction: column; overflow-x: hidden; padding: var(--pad-l); width: var(--view); height: 100%; overflow-y: scroll; scrollbar-width: none; gap: var(--pad-m); & li *:is(a, button) { align-items: center; border-style: solid; border-width: 2px; border-radius: var(--round); } & section { border-radius: var(--round); font-weight: bold; border-width: 2px; border-style: solid; & h3 { display: flex; justify-content: center; align-items: center; padding: 0; height: var(--pad-xl); font-size: 1.4rem; } } & * svg, li img { margin: 0 8px 0 8px; width: 20px; align-self: center; } & ul { margin: var(--pad-sm); padding: 0; & li, button { padding: 0; align-items: center; margin-bottom: inherit; & img { border-radius: 100%; } } } & li *:is(a, button) { display: flex; font-size: 1.125rem; width: 100%; font-weight: bold; height: 36px; line-height: var(--pad-xl); } } #mobile > nav::before, body::after { z-index: -1; content: ""; position: absolute; mask-image: url("/assets/img/theme/sundae_sit-lines.png"); mask-repeat: no-repeat; margin: 0; width: inherit; height: inherit; pointer-events: none; } #mobile > nav::before { bottom: 0; left: 0; mask-size: 160%; -webkit-mask-position-x: -25px; -webkit-mask-position-y: 90%; } body::after { content: none; mask-size: 100%; width: 100%; height: 100vw; -webkit-mask-position-x: 0; -webkit-mask-position-y: bottom; } button[popovertarget="mobile"] { display: none; } #floating { width: fit-content; height: fit-content; border-bottom-style: solid; border-right-style: solid; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: var(--pad-l); } #mobile { margin: 0; padding: 0; background: none; border: 0; } #mobile > nav { border-right-style: solid; border-right-width: 2px; }