Auto-commit: add shadow gradient at the bottom of the screen

This commit is contained in:
2026-01-15 10:52:54 +01:00
parent ba4af75ff9
commit 951d50dc29
2 changed files with 41 additions and 31 deletions

View File

@@ -98,6 +98,16 @@
--width-carousel-padding: calc((100vw - var(--width-content-width)) / 2 + 1px - var(--vw-1_5));
--width-carousel-padding-controls: calc((100vw - var(--width-content-width)) / 2 + 1px);
--width-carousel-padding-expanded: calc((var(--width-content-width-expanded) - var(--width-content-width)) / 2 + 1px - var(--vw-1_5));
body::after {
content: '';
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 100px;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
z-index: -1;
}
html {
scroll-behavior: smooth;
}