68 lines
1.1 KiB
CSS
68 lines
1.1 KiB
CSS
.root {
|
|
display: flex;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%),
|
|
rgba(179, 165, 152, 0.4);
|
|
box-shadow: inset 4px 4px 12px rgba(255, 255, 255, 0.12);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.number {
|
|
width: 96px;
|
|
height: 96px;
|
|
background: #fcd500;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 92px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.content {
|
|
width: 265px;
|
|
height: 96px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 8px;
|
|
}
|
|
|
|
.title {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.crawlLine {
|
|
display: inline-block;
|
|
animation: crawl linear infinite;
|
|
animation-duration: 10s;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
|
|
.titleStart,
|
|
.titleEnd {
|
|
font-weight: 700;
|
|
font-size: 24px;
|
|
line-height: 28px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.titleTranslation {
|
|
margin-top: 4px;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 15px;
|
|
|
|
color: #cbcbcb;
|
|
}
|
|
|
|
@keyframes crawl {
|
|
0% {
|
|
transform: translateX(100%);
|
|
}
|
|
100% {
|
|
transform: translateX(-100%);
|
|
}
|
|
}
|