56 lines
779 B
SCSS
56 lines
779 B
SCSS
.coin-card {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: center;
|
|
background-color: #161b22;
|
|
padding: 1.5rem;
|
|
border-radius: 12px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
|
|
transition: transform 0.4s ease;
|
|
min-height: 260px;
|
|
|
|
&:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
p {
|
|
font-weight: bold;
|
|
margin: 0.1rem 0;
|
|
}
|
|
|
|
span {
|
|
font-weight: normal;
|
|
}
|
|
|
|
.coin-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.coin-image {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.symbol {
|
|
font-size: 0.8rem;
|
|
color: #aaa;
|
|
}
|
|
|
|
.positive {
|
|
color: #4caf50;
|
|
}
|
|
|
|
.negative {
|
|
color: #f44336;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 300px) {
|
|
.coin-card {
|
|
padding: 1rem;
|
|
}
|
|
}
|