Sites-Camelia/p/camelianimes/calendar.css
Melaine Gérard dac35b6107
All checks were successful
camelia / deploy (push) Successful in 30s
Responsive cards
2024-10-04 16:08:56 +02:00

74 lines
1.1 KiB
CSS

.cards {
display: flex;
flex-direction: column;
gap: 1rem;
}
.card {
background: #3f4248;
border-radius: 1rem;
padding: 1rem;
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
@media screen and (max-width: 768px) {
.grid {
grid-template-columns: 1fr;
}
}
.column {
display: flex;
flex-direction: column;
gap: .5rem;
justify-content: space-between;
}
.image {
width: 100%;
height: 100%;
border-radius: 1rem;
}
.icon {
width: 1rem;
height: 1rem;
color: white;
}
.flex {
display: flex;
align-items: center;
gap: .25rem;
flex-wrap: wrap;
}
.anime-name {
font-size: 1.25rem;
font-weight: bold;
}
.discordButton {
background: #5b5d67;
color: white;
padding: .5rem 1rem;
border-radius: .5rem;
text-decoration: none;
transition: background .2s;
}
.discordButton:hover {
background: #636570;
text-decoration: none;
}
.d-flex {
display: flex;
}