make scrolling on carousel smoothhhher

Only for fine cursors or hover pointers
This commit is contained in:
Lim Chee Aun 2023-03-28 21:25:41 +08:00
parent 64b59e42a5
commit 5de45fe885

View file

@ -660,6 +660,11 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
counter-increment: index;
position: relative;
}
@media (hover: hover) or (pointer: fine) {
.status-carousel ul > li {
scroll-snap-stop: normal;
}
}
.status-carousel .content-container .content:only-child {
font-size: calc(100% + 25% * max(2 - var(--content-text-weight), 0));
}