67 lines
1.5 KiB
CSS
67 lines
1.5 KiB
CSS
/* Style pour les boutons */
|
|
button[type='submit'].create-button,
|
|
button[type='submit'].delete-button {
|
|
background-color: #1ed860;
|
|
color: white;
|
|
padding: 8px 12px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
margin: 5px;
|
|
transition: background-color 0.3s, color 0.3s;
|
|
}
|
|
|
|
button.upload-image-button {
|
|
background-color: transparent;
|
|
color: green;
|
|
border: 1px solid green;
|
|
padding: 8px 12px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
margin-top: 10px;
|
|
transition: background-color 0.3s, color 0.3s;
|
|
}
|
|
|
|
button.upload-image-button:hover {
|
|
background-color: green;
|
|
color: white;
|
|
}
|
|
|
|
/* Style pour le conteneur de la playlist */
|
|
div.playlist-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
padding-top: 20px; /* Ajouter un padding pour éviter que le contenu ne soit caché par la barre de navigation */
|
|
}
|
|
|
|
/* Style pour chaque élément de la playlist */
|
|
div.playlist-item {
|
|
width: 200px;
|
|
margin: 10px;
|
|
padding: 12px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
transition: transform 0.3s;
|
|
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
div.playlist-item img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
/* Style pour le nom de la playlist */
|
|
div.playlist-item h3 {
|
|
margin-top: 10px;
|
|
font-size: 20px;
|
|
color: #333; /* changer la couleur du texte */
|
|
}
|
|
|
|
div.playlist-item:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|