SAE_2.02/CodeIgniter-3.1.13/assets/css/artists_list.css

92 lines
1.4 KiB
CSS
Raw Normal View History

/* Styles généraux */
2024-05-22 20:03:53 +02:00
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f8f8;
2024-05-22 20:03:53 +02:00
}
.artist-list-container {
max-width: 1200px;
margin: 0 auto;
2024-05-22 20:03:53 +02:00
padding: 20px;
}
.artist-list-container h1 {
color: #6a0dad;
2024-05-22 20:03:53 +02:00
text-align: center;
margin-top: 20px;
2024-05-22 20:03:53 +02:00
}
.sort-options {
text-align: center;
margin-bottom: 20px;
}
.sort-options a {
color: #6a0dad;
2024-05-22 20:03:53 +02:00
text-decoration: none;
margin: 0 10px;
transition: color 0.3s ease;
2024-05-22 20:03:53 +02:00
}
.sort-options a:hover {
color: #4a0772;
2024-05-22 20:03:53 +02:00
}
.artist-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
2024-05-22 20:03:53 +02:00
list-style-type: none;
padding: 0;
}
.artist-list li {
width: 30%;
margin-bottom: 20px;
2024-05-22 20:03:53 +02:00
}
.artist-details {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease;
padding: 10px;
text-align: center;
2024-05-22 20:03:53 +02:00
}
.artist-details:hover {
transform: translateY(-5px);
2024-05-22 20:03:53 +02:00
}
.artist-details h2 {
color: #6a0dad;
font-size: 1.5em;
margin: 10px 0;
2024-05-22 20:03:53 +02:00
}
.artist-details a {
color: #6a0dad;
text-decoration: none;
transition: color 0.3s ease;
2024-05-22 20:03:53 +02:00
}
.artist-details a:hover {
color: #4a0772;
2024-05-22 20:03:53 +02:00
}
/* Responsive styles */
@media screen and (max-width: 768px) {
.artist-list li {
width: 45%;
}
2024-05-22 20:03:53 +02:00
}
2024-05-22 20:59:59 +02:00
@media screen and (max-width: 576px) {
.artist-list li {
width: 100%;
}
}