Update style.css

This commit is contained in:
deepend-tildeclub 2024-08-17 10:44:51 -06:00 committed by GitHub
parent 5f2dee4000
commit 3537c30a48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 7 deletions

View File

@ -305,6 +305,7 @@ pre {
background-color: #111;
color: #fb5;
width: 100%; /* Make the list take up the rest of the available space */
position: relative;
}
.active-users-list ul {
@ -316,6 +317,12 @@ pre {
animation: scroll-left 15s linear infinite;
}
.active-users-list ul:before,
.active-users-list ul:after {
content: attr(data-content);
display: inline-block;
}
.active-users-list li {
display: inline;
padding: 0 20px; /* Space between usernames */
@ -328,15 +335,9 @@ pre {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
transform: translateX(-50%);
}
}
.active-users-list ul::after {
content: '';
display: inline-block;
width: 100%; /* Width of the space to repeat */
}