Color scrollbar to match navbar (scrollbar-color CSS)
This commit is contained in:
@@ -7,9 +7,7 @@
|
||||
<link href="https://cdn.jsdelivr.net/npm/daisyui@4/dist/full.min.css" rel="stylesheet">
|
||||
<script src="https://unpkg.com/htmx.org@2/dist/htmx.min.js"></script>
|
||||
<style>
|
||||
html { overflow-y: scroll; }
|
||||
.navbar { position: relative; }
|
||||
.navbar::after { content: ''; position: absolute; right: calc(-1 * (100vw - 100%)); top: 0; width: calc(100vw - 100%); height: 100%; background: var(--fallback-b3, oklch(var(--b3)/1)); pointer-events: none; }
|
||||
html { overflow-y: scroll; scrollbar-color: var(--fallback-b3, oklch(var(--b3)/1)) var(--fallback-b3, oklch(var(--b3)/1)); }
|
||||
#search-wrapper { position: relative; width: 100%; }
|
||||
#search-results { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; }
|
||||
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem; }
|
||||
|
||||
Reference in New Issue
Block a user