Update style.css

This commit is contained in:
deepend-tildeclub 2024-08-17 10:45:59 -06:00 committed by GitHub
parent 3537c30a48
commit 0b3bd2a8f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 12 deletions

View File

@ -309,22 +309,16 @@ pre {
}
.active-users-list ul {
display: inline-block;
display: flex;
padding: 0;
margin: 0;
list-style-type: none;
white-space: nowrap;
animation: scroll-left 15s linear infinite;
}
.active-users-list ul:before,
.active-users-list ul:after {
content: attr(data-content);
display: inline-block;
animation: scroll-left 30s linear infinite; /* Adjust the duration as needed */
}
.active-users-list li {
display: inline;
display: inline-block;
padding: 0 20px; /* Space between usernames */
color: #fb5;
font-family: "courier new", monospace;
@ -335,9 +329,13 @@ pre {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
transform: translateX(-100%);
}
}
.active-users-list ul:before {
content: '';
display: inline-block;
width: 100%; /* Makes it loop seamlessly */
flex-shrink: 0;
}