diff --git a/assets/_custom.scss b/assets/_custom.scss index ea74af7..fec62f6 100644 --- a/assets/_custom.scss +++ b/assets/_custom.scss @@ -1,3 +1,19 @@ :root { --body-background: #121212; } +html { + // scrollbar-color: hsl(0 0% 100% / 0.2) hsl(0 0% 0% / 0); + scrollbar-color: rgba(255, 255, 255, 0.2) rgba(0, 0, 0, 0); +} + +@media screen and (max-width: 56rem) { + .book-header { + position: sticky; + top: 0; + z-index: 10; + background: var(--body-background); + padding: 1rem; + margin: -1rem -1rem 1rem -1rem; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); + } +}