Skip to content

Instantly share code, notes, and snippets.

@CST1229
Created August 9, 2022 09:15
Show Gist options
  • Save CST1229/af11103b15524721520c9588724d09d3 to your computer and use it in GitHub Desktop.
Save CST1229/af11103b15524721520c9588724d09d3 to your computer and use it in GitHub Desktop.
TBGs AJAX Chat Userstyle
#content #chatList q {
font-variant: normal;
display: inline-flex;
flex-wrap: wrap;
align-items: center;
vertical-align: bottom;
}
#content #chatList q::before {
content: "";
width: 0.2em;
height: 1.5em;
background-color: #0003;
margin-right: 0.5em;
display: inline-block;
}
#content #chatList .quote::after {
content: "";
display: block;
}
#content #chatList span.dateTime {
display: none;
user-select: none;
font-size: inherit;
position: absolute;
right: 0.25em;
background: #fff;
color: #333333;
border-radius: 0.25em;
}
#content #chatList :hover span.dateTime {
display: inline-block;
}
#statusIconContainer {
background-image: none;
background-color: white;
border: solid 1px #333333;
border-radius: 100%;
display: flex;
align-items: center;
justify-content: center;
animation: tbgImprover-statusClock 2s linear infinite;
}
#statusIconContainer::after {
content: "";
display: inline-block;
width: 1px;
height: 50%;
margin-bottom: 50%;
background-color: #333333
}
#statusIconContainer.statusContainerOn {
animation: tbgImprover-statusBlink 0.3s linear;
}
@keyframes tbgImprover-statusBlink {
from {
background-color: #8f8;
transform: scale(1.15);
}
to {
background-color: white;
transform: scale(1);
}
}
@keyframes tbgImprover-statusClock {
from {
transform: rotate(0deg);
}
to {
transform: rotate(1turn);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment