- 63
- 2
Код:
.userBannerLight:before,.userBanner--staff:before {
content: "";
position: absolute;
background: linear-gradient(135deg, transparent 0%, transparent 30%, rgba(250,250,250,0.7) 50%, transparent 70%, transparent 100%);
background-repeat: no-repeat;
top: 0px;
left: -80%;
width: 100%;
height: 100%;
animation: light 2.5s infinite
}
@media (max-width: 990px) {
.message:not(.message--forceColumns) .message-userBanner.userBanner.userBannerLight,.message:not(.message--forceColumns) .message-userBanner.userBanner.userBanner--staff {
text-align:center;
display: block;
margin: 3px
}
}
.userBanner--staff {
background: #1ba39c !important;
color: #fff !important;
width: 108px
}
@keyframes light {
0% {
left: -80%
}
100% {
left: 80%
}
}