Untitled
unknown
plain_text
10 months ago
2.3 kB
5
Indexable
.match-card {
background-color: #fff;
border-radius: 0.5rem;
border: 1px solid #172046;
padding: 1.6rem;
padding-bottom: 6rem;
display: flex;
flex-direction: column;
gap: 1.2rem;
position: relative;
.match-header {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 1.4rem;
color: #333;
.match-title {
color: #172046;
font-size: 1.5rem;
font-weight: bold;
}
.match-status {
display: flex;
align-items: center;
gap: 0.4rem;
font-size: 1.5rem;
color: #eb210b;
font-weight: bold;
// box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
border: 1px solid rgb(231, 226, 226);
border-radius: 0.8rem;
text-transform: uppercase;
padding: 0.5rem;
.live-indicator {
width: 0.8rem;
height: 0.8rem;
background-color: #eb210b;
border-radius: 50%;
}
}
}
.match-scores {
display: flex;
align-items: center;
justify-content: space-between;
.team {
display: flex;
align-items: center;
gap: 0.8rem;
.logo {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
&.team1 {
border: 1px solid #172046;
}
&.team2 {
border: 1px solid red;
}
}
.team-score {
display: flex;
flex-direction: column;
align-items: flex-start;
font-size: 1.4rem;
.runs-wickets {
font-weight: 800;
font-size: 1.6rem;
white-space: nowrap;
}
.overs {
font-size: 1.5rem;
font-weight: 600;
color: #555;
}
}
}
.vs-text {
font-size: 1.6rem;
font-weight: bold;
color: black;
}
}
.match-footer {
background-color: #f0f4ff;
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: 0;
padding: 0;
border-bottom-left-radius: 0.5rem;
border-bottom-right-radius: 0.5rem;
p {
font-size: 1.4rem;
font-weight: 600;
color: #172046;
text-align: left;
padding: 1rem 1.2rem;
}
}
}
Editor is loading...
Leave a Comment