mirror of https://github.com/tildeclub/site.git
Update style.css
This commit is contained in:
parent
ca8a29713d
commit
2c12d1a77a
26
style.css
26
style.css
|
@ -296,21 +296,33 @@ pre {
|
||||||
}
|
}
|
||||||
|
|
||||||
.active-users-list {
|
.active-users-list {
|
||||||
max-height: 150px; /* Adjust the height as needed */
|
white-space: nowrap;
|
||||||
overflow-y: auto;
|
overflow: hidden;
|
||||||
border: 1px solid #ccc;
|
box-sizing: border-box;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background-color: #f9f9f9;
|
background-color: #f9f9f9;
|
||||||
border-radius: 0.25em;
|
border-radius: 0.25em;
|
||||||
|
border: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active-users-list ul {
|
.active-users-list ul {
|
||||||
list-style-type: none;
|
display: inline-block;
|
||||||
padding: 0;
|
padding-left: 100%; /* Initial offset for animation */
|
||||||
|
animation: scroll-left 15s linear infinite; /* Adjust duration as needed */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active-users-list li {
|
.active-users-list li {
|
||||||
padding: 5px 0;
|
display: inline;
|
||||||
border-bottom: 1px solid #eee;
|
padding: 0 20px; /* Space between names */
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes scroll-left {
|
||||||
|
0% {
|
||||||
|
transform: translateX(100%);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: translateX(-100%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue