css pour playlist + php
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
.album img {
|
||||
max-width: 100%;
|
||||
max-width: 80%;
|
||||
height: auto;
|
||||
border-bottom: 1px solid #ccc;
|
||||
margin-bottom: 10px;
|
||||
|
||||
59
ci/assets/playlist.css
Normal file
59
ci/assets/playlist.css
Normal file
@@ -0,0 +1,59 @@
|
||||
/* Style for the buttons */
|
||||
button[type='submit'].create-button,
|
||||
button[type='submit'].delete-button {
|
||||
background-color: #1ed860 !important;
|
||||
color: white;
|
||||
padding: 5px 10px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
margin: 5px;
|
||||
}
|
||||
button.upload-image-button {
|
||||
background-color: transparent;
|
||||
color: green;
|
||||
border: 1px solid green;
|
||||
padding: 5px 10px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
button.upload-image-button:hover {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Style for the playlist container */
|
||||
div.playlist-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-around;
|
||||
padding-top: 20px; /* Ajoutez un padding pour éviter que le contenu ne soit caché par la barre de navigation */
|
||||
}
|
||||
|
||||
/* Style for each playlist */
|
||||
div.playlist-item {
|
||||
width: 200px;
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.playlist-item img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Style for the playlist name */
|
||||
div.playlist-item h3 {
|
||||
margin-top: 10px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
div.playlist-item:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ body {
|
||||
box-sizing: border-box;
|
||||
background-color: white;
|
||||
font-size: 16px;
|
||||
height: 100%;
|
||||
height: 80%;
|
||||
|
||||
}
|
||||
.navbar a {
|
||||
@@ -202,12 +202,6 @@ body {
|
||||
color: #1ed860;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Arial', sans-serif;
|
||||
}
|
||||
.logo img {
|
||||
padding-left: 10px;
|
||||
width: 200px;
|
||||
|
||||
Reference in New Issue
Block a user