90 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			90 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
 | |
| *{
 | |
|     margin: 0;
 | |
|     padding: 0;
 | |
|     font-family: 'Poppins', sans-serif;
 | |
|     box-sizing: border-box;
 | |
| 
 | |
| }
 | |
| 
 | |
| html, body {
 | |
|     height: 100%;
 | |
|   }
 | |
| 
 | |
| body {
 | |
|     background: linear-gradient(to bottom, #ffa600, #dd3000);
 | |
|   }
 | |
| 
 | |
| /* Structure de base */
 | |
| header {
 | |
|     display: flex;
 | |
|     justify-content: flex-start; /* Aligne à gauche */
 | |
|     align-items: center;         /* Centré verticalement si tu ajoutes du texte à côté */
 | |
|     padding: 10px 20px;
 | |
|     position: relative;
 | |
|   }
 | |
|   
 | |
|   /* Style du logo */
 | |
|   .logo {
 | |
|     width: 120px;      /* Ajuste la taille selon ton design */
 | |
|     height: auto;
 | |
|   }
 | |
|   
 | |
|   /* Responsive pour smartphone */
 | |
|   @media (max-width: 768px) {
 | |
|     .logo {
 | |
|       width: 100px; /* Un peu plus petit sur mobile si nécessaire */
 | |
|     }
 | |
|   
 | |
|     header {
 | |
|       padding: 10px;
 | |
|     }
 | |
|   }
 | |
|   
 | |
|   .music-list {
 | |
|     display: flex;
 | |
|     flex-direction: column;
 | |
|     gap: 20px;
 | |
|     padding: 20px;
 | |
|     max-width: 600px;
 | |
|     margin: auto;
 | |
|   }
 | |
|   
 | |
|   .music-card {
 | |
|     display: flex;
 | |
|     align-items: center;
 | |
|     background-color: rgba(255, 255, 255, 0.1);
 | |
|     border-radius: 10px;
 | |
|     overflow: hidden;
 | |
|     text-decoration: none;
 | |
|     color: white;
 | |
|     transition: background-color 0.3s, transform 0.2s;
 | |
|     box-shadow: 0 4px 10px rgba(0,0,0,0.2);
 | |
|   }
 | |
|   
 | |
|   .music-card:hover {
 | |
|     background-color: rgba(255, 255, 255, 0.2);
 | |
|     transform: translateY(-2px);
 | |
|   }
 | |
|   
 | |
|   .music-card img {
 | |
|     width: 80px;
 | |
|     height: 80px;
 | |
|     object-fit: cover;
 | |
|   }
 | |
|   
 | |
|   .music-info {
 | |
|     padding: 10px 20px;
 | |
|   }
 | |
|   
 | |
|   .music-info h3 {
 | |
|     margin: 0;
 | |
|     font-size: 18px;
 | |
|   }
 | |
|   
 | |
|   .music-info p {
 | |
|     margin: 5px 0 0;
 | |
|     font-size: 14px;
 | |
|     opacity: 0.8;
 | |
|   }
 | |
|        | 
