87 lines
1.3 KiB
CSS
87 lines
1.3 KiB
CSS
.card {
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
max-width: calc(540rem / 16);
|
|
padding: calc(24rem / 16);
|
|
border-radius: calc(20rem / 16);
|
|
background-color: var(--primary-background);
|
|
}
|
|
|
|
.poster {
|
|
width: calc(150rem / 16);
|
|
height: calc(150rem / 16);
|
|
margin-right: calc(20rem / 16);
|
|
}
|
|
|
|
.details {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.name {
|
|
font-size: calc(18rem / 16);
|
|
margin: 0;
|
|
}
|
|
|
|
.desc {
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: calc(32rem / 16);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.setting {
|
|
margin: 0;
|
|
color: var(--primary-accent);
|
|
font-size: calc(14rem / 16);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.details > footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-top: 1rem;
|
|
margin-top: auto;
|
|
}
|
|
|
|
@media only screen and (max-width: calc(768rem / 16)) {
|
|
.card {
|
|
max-width: unset;
|
|
padding: 0;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.details {
|
|
min-width: calc(150rem / 16);
|
|
}
|
|
|
|
.name,
|
|
.setting {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.poster {
|
|
width: calc(95rem / 16);
|
|
height: calc(95rem / 16);
|
|
border: 1px solid var(--primary-heading);
|
|
box-sizing: border-box;
|
|
margin-right: calc(14rem / 16);
|
|
}
|
|
|
|
.desc {
|
|
margin: 0;
|
|
}
|
|
|
|
.logo,
|
|
.button {
|
|
display: none;
|
|
}
|
|
}
|