57 lines
900 B
CSS
57 lines
900 B
CSS
.stack-card {
|
|
width: 325px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.stack-card-image {
|
|
width: 250px;
|
|
height: 250px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.stack-card-image::selection,
|
|
.stack-card-image *::selection {
|
|
background: transparent;
|
|
}
|
|
|
|
.stack-card-body {
|
|
padding: 10px;
|
|
flex-grow: 1;
|
|
|
|
width: 250px;
|
|
height: 130px;
|
|
inline-size: 250px;
|
|
}
|
|
|
|
.stack-card-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.stack-card-text {
|
|
word-break: break-all !important;
|
|
white-space: normal !important;
|
|
font-size: 1rem;
|
|
font-weight: 400 !important;
|
|
font-family: 'Hind', sans-serif !important;
|
|
}
|
|
|
|
|
|
/*CARD STATE*/
|
|
.active {
|
|
opacity: 1;
|
|
width: 300px;
|
|
}
|
|
|
|
.inactive {
|
|
opacity: 0.7;
|
|
width: 280px;
|
|
height: 410px;
|
|
}
|