mirror of https://github.com/tildeclub/site.git
Update style.css
This commit is contained in:
parent
5f2dee4000
commit
3537c30a48
15
style.css
15
style.css
|
@ -305,6 +305,7 @@ pre {
|
||||||
background-color: #111;
|
background-color: #111;
|
||||||
color: #fb5;
|
color: #fb5;
|
||||||
width: 100%; /* Make the list take up the rest of the available space */
|
width: 100%; /* Make the list take up the rest of the available space */
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active-users-list ul {
|
.active-users-list ul {
|
||||||
|
@ -316,6 +317,12 @@ pre {
|
||||||
animation: scroll-left 15s linear infinite;
|
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 {
|
.active-users-list li {
|
||||||
display: inline;
|
display: inline;
|
||||||
padding: 0 20px; /* Space between usernames */
|
padding: 0 20px; /* Space between usernames */
|
||||||
|
@ -328,15 +335,9 @@ pre {
|
||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
transform: translateX(-100%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.active-users-list ul::after {
|
|
||||||
content: '';
|
|
||||||
display: inline-block;
|
|
||||||
width: 100%; /* Width of the space to repeat */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue