59 lines
1.0 KiB
CSS
59 lines
1.0 KiB
CSS
/* style.css */
|
|
|
|
.card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.card-image {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.card-content {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.card-footer {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.album-title, .artist-title, .music-title {
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2; /* Limite à 2 lignes */
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
height: 3em; /* Ajuste en fonction de la taille de la police */
|
|
}
|
|
|
|
.columns {
|
|
justify-content: center; /* Centre les colonnes */
|
|
}
|
|
|
|
.card img {
|
|
object-fit: cover; /* Assure que les images couvrent bien les figures */
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.pagination a, .pagination span {
|
|
padding: 8px 12px;
|
|
margin: 0 2px;
|
|
border-radius: 4px;
|
|
border: 1px solid #ddd;
|
|
color: #333;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.pagination a:hover {
|
|
background-color: #f0f0f0;
|
|
border-color: #bbb;
|
|
}
|
|
|
|
.pagination .is-current {
|
|
background-color: #3273dc;
|
|
border-color: #3273dc;
|
|
color: #fff;
|
|
}
|