mirror of https://github.com/tildeclub/site.git
Update style.css
This commit is contained in:
parent
e40c9bea2d
commit
a997631cc6
11
style.css
11
style.css
|
@ -296,14 +296,13 @@ pre {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
overflow: hidden; /* Hide overflow to prevent scrolling glitches */
|
||||
overflow: hidden; /* Ensure no overflow */
|
||||
}
|
||||
|
||||
.active-users-list {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 2em; /* Adjust height as needed */
|
||||
height: 2em; /* Set a consistent height */
|
||||
}
|
||||
|
||||
.active-users-list ul {
|
||||
|
@ -312,7 +311,7 @@ pre {
|
|||
margin: 0;
|
||||
list-style-type: none;
|
||||
white-space: nowrap;
|
||||
animation: scroll-left 30s linear infinite;
|
||||
animation: scroll-left 60s linear infinite; /* Adjust duration for smoother scrolling */
|
||||
}
|
||||
|
||||
.active-users-list li {
|
||||
|
@ -332,10 +331,10 @@ pre {
|
|||
|
||||
@keyframes scroll-left {
|
||||
0% {
|
||||
transform: translateX(100%); /* Start off-screen */
|
||||
transform: translateX(0); /* Start at the beginning */
|
||||
}
|
||||
100% {
|
||||
transform: translateX(-100%); /* End off-screen */
|
||||
transform: translateX(-100%); /* Move entire list left */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue