mirror of
https://github.com/tildeclub/site.git
synced 2026-03-10 05:50:17 +00:00
Update style.css
This commit is contained in:
committed by
GitHub
parent
3537c30a48
commit
0b3bd2a8f1
22
style.css
22
style.css
@@ -309,22 +309,16 @@ pre {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.active-users-list ul {
|
.active-users-list ul {
|
||||||
display: inline-block;
|
display: flex;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
animation: scroll-left 15s linear infinite;
|
animation: scroll-left 30s linear infinite; /* Adjust the duration as needed */
|
||||||
}
|
|
||||||
|
|
||||||
.active-users-list ul:before,
|
|
||||||
.active-users-list ul:after {
|
|
||||||
content: attr(data-content);
|
|
||||||
display: inline-block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.active-users-list li {
|
.active-users-list li {
|
||||||
display: inline;
|
display: inline-block;
|
||||||
padding: 0 20px; /* Space between usernames */
|
padding: 0 20px; /* Space between usernames */
|
||||||
color: #fb5;
|
color: #fb5;
|
||||||
font-family: "courier new", monospace;
|
font-family: "courier new", monospace;
|
||||||
@@ -335,9 +329,13 @@ pre {
|
|||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
}
|
}
|
||||||
100% {
|
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;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user