css playlist bientot fini

This commit is contained in:
2024-06-12 14:57:59 +02:00
parent ecc49c8c7e
commit 43921099be
8 changed files with 22 additions and 33 deletions

View File

@@ -23,22 +23,21 @@ button.upload-image-button {
}
button.upload-image-button:hover {
background-color: green;
background-color: rgb(0, 255, 0);
color: white;
}
/* Style pour le conteneur de la playlist */
div.playlist-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
padding-top: 20px; /* Ajouter un padding pour éviter que le contenu ne soit caché par la barre de navigation */
justify-content: center; /* Centrer les éléments */
}
/* Style pour chaque élément de la playlist */
div.playlist-item {
width: 200px;
margin: 10px;
padding: 12px;
border: 1px solid #ccc;
border-radius: 8px;
@@ -47,20 +46,10 @@ div.playlist-item {
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);
}

251
ci/assets/CSS/style.css Normal file
View File

@@ -0,0 +1,251 @@
body {
box-sizing: border-box;
background-color: white;
font-size: 16px;
height: 80%;
padding-top: 100px;
margin-right: 5px;
}
.content {
max-width: 1200px;
margin: 80px auto 0;
padding: 0px
}
.navbar a {
color: white;
text-decoration: none;
margin: 0 5px;
}
.navbar {
background-color: black;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-sizing: border-box;
}
.bouton a{
color: #FFF;
text-decoration: none;
}
.bouton {
display: flex;
text-decoration: none;
background-color: #1ed860;
font-weight: bold;
padding: 12px;
border-radius: 60px;
border: 2px;
margin: 0 40px;
}
.user {
margin-right: 50px;
padding-left: center;
list-style: none;
display: flex;
text-decoration: none;
font-weight: bold;
justify-content: space-between;
}
.menu {
display: flex;
flex-direction: column;
}
.menu ul {
list-style: none;
display: flex;
flex-direction: row;
margin: 0;
}
.menu li {
display: inline-block;
margin-right: 15px;
}
.menu a {
text-decoration: none;
font-weight: bold;
color: #FFF;
font-family: Open Sans, 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 1.2rem;
}
#Page {
text-align: center;
padding: 50px 0;
background: url(../img/fond.jpeg);
}
.text-page {
border-top: 2px solid #1ed860;
margin-top: 100px;
color: white;
}
#header {
background-color: #1ed860;
padding: 2px 0;
}
.mention_legale h2{
color: #1ed860;
font-size: 2em;
margin-left: 400px;
}
.mention_legale{
background-color: white;
border-radius: 20px;
margin: 60px auto 0;
padding: 40px;
}
.box {
display: flex;
flex-direction: column;
border-radius: 50px;
padding: 20px;
margin: 20px 0;
}
.box-img {
display: flex;
flex-direction: row-reverse;
align-items: center;
justify-content: space-between;
height: auto;
max-width: 100%;
}
.box .box-img img{
width: 250px;
height: 150px;
border-radius: 8px;
padding-right: 50px;
margin-left: 100px;
object-fit: initial;
}
.box-content{
display: flex;
flex-direction: row;
align-items: center;
}
.text-content{
flex: 1;
}
.box p{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 1.2em;
margin-bottom: 10px;
text-align: center;
}
.box h2 {
color: #1ed860;
font-weight: bold;
font-family: 'Open Sans', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 3.5em;
margin-bottom: 10px;
}
.box h3{
color: #1ed860;
font-weight: bold;
font-size: 2em;
margin-bottom: 10px;
}
.box p{
text-align: justify;
}
.box img {
width: 200px;
height: 200px;
object-fit: cover;
border-radius: 8px;
margin-right: 50px;
margin-left: 40px;
}
.content-section h2 {
color: #1ed860;
}
.logo img {
padding-left: 10px;
width: 200px;
height: 80px;
margin-right: auto;
}
img {
max-width: 100%;
height: auto;
}
.footer {
background-color: black;
color: white;
padding: 20px;
text-align: center;
margin-top: 20px;
width: 100%;
box-sizing: border-box;
}
.footer-content {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.footer-section {
text-align: center;
margin: 10px;
}
.footer-logo {
order: 1;
}
.logo-reseaux {
display: flex;
align-items: center;
justify-content: center;
margin-top: 10px;
}
.logo-reseaux img {
width: 40px;
height: 40px;
}
.footer-section h3 {
margin-bottom: 10px;
font-size: 1.5em;
}
.footer-section a {
color: white;
}
.footer-section img {
width: 30px;
height: 30px;
margin-right: 5px;
}
#scrollTopBtn {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
background-color: #1ed860;
border: none;
border-radius: 5px;
font-size: 25px;
padding: 10px;
cursor: pointer;
}