mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 16:58:47 +01:00
make scrolling on carousel smoothhhher
Only for fine cursors or hover pointers
This commit is contained in:
parent
64b59e42a5
commit
5de45fe885
1 changed files with 5 additions and 0 deletions
|
@ -660,6 +660,11 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
||||||
counter-increment: index;
|
counter-increment: index;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
@media (hover: hover) or (pointer: fine) {
|
||||||
|
.status-carousel ul > li {
|
||||||
|
scroll-snap-stop: normal;
|
||||||
|
}
|
||||||
|
}
|
||||||
.status-carousel .content-container .content:only-child {
|
.status-carousel .content-container .content:only-child {
|
||||||
font-size: calc(100% + 25% * max(2 - var(--content-text-weight), 0));
|
font-size: calc(100% + 25% * max(2 - var(--content-text-weight), 0));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue