#sideMenu { align-items: center; background-color: var(--backgroundColour); display: flex; flex-direction: column; gap: 1rem; height: calc(100% + 1rem); justify-content: space-between; left: 100%; overflow: hidden; padding: 1rem; padding-bottom: 2rem; padding-top: calc(var(--hamburgerHeight) + 2rem); position: absolute; width: 100%; z-index: 127; body[data-page = "achernar"] & { background-color: var(--backgroundColour); } @media (pointer: fine) and (not (prefers-reduced-motion)) { transition: left $slideDuration; transition-timing-function: ease-in-out; } @media (pointer: coarse) { font-size: 2em; overflow: scroll; } &.visible { left: 0; } div.links { display: flex; gap: 1rem; max-width: $contentWidth; padding: 1rem; width: 100%; @media (pointer: coarse) { flex-direction: column; } section { display: flex; flex-direction: column; gap: 0.25rem; p { background-color: var(--textColour); border-radius: 0.25rem; color: var(--backgroundColour); font-weight: bold; padding: 0.25rem 1rem; text-align: center; } a { padding: 0.25rem; } } } }