File size: 823 Bytes
0504ed2 c37ac4d 0504ed2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
.cast-section h2 {
margin-bottom: 15px;
font-size: 1.5rem;
border-bottom: 2px solid #4339ff;
padding-bottom: 5px;
}
.cast-list {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 15px; /* Adjusted space between items */
}
.cast-item {
margin: 0;
display: flex; /* Use flex to align image and text */
align-items: center; /* Center vertically */
width: auto; /* Allow dynamic width */
}
.cast-image-container {
position: relative;
min-width: 100px;
min-height: 100px;
border-radius: 50%; /* Circular container */
overflow: hidden;
margin-right: 10px; /* Space between image and text */
}
.cast-image {
border-radius: 50%; /* Circular images */
object-position: top;
}
.cast-name {
font-weight: bold; /* Highlight the actor's name */
text-overflow: clip;
}
|