75 lines
1.4 KiB
CSS
75 lines
1.4 KiB
CSS
/* Container styling */
|
|
.container {
|
|
font-family: Arial, sans-serif;
|
|
padding: 20px;
|
|
text-align: center;
|
|
color: #333;
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
/* Header styling */
|
|
.header {
|
|
font-size: 2.5rem;
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.subheader {
|
|
font-size: 1.2rem;
|
|
color: #555;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
/* Team styling */
|
|
.team {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
align-items: center; /* Centers team member cards */
|
|
}
|
|
|
|
/* Individual team member card styling */
|
|
.card {
|
|
display: flex;
|
|
align-items: center;
|
|
border: 1px solid #ccc;
|
|
border-radius: 8px;
|
|
width: 90%; /* Width relative to the viewport */
|
|
max-width: 800px; /* Prevent it from getting too large */
|
|
padding: 15px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* Team member image styling */
|
|
.image {
|
|
width: 110px; /* Both width and height are equal */
|
|
height: 110px;
|
|
border-radius: 50%; /* Makes the image circular */
|
|
object-fit: cover; /* Ensures the image fits perfectly without distortion */
|
|
}
|
|
|
|
/* Card text styling */
|
|
.text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.name {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: #111;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 1.2rem;
|
|
color: #555;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.description {
|
|
font-size: 1rem;
|
|
color: #777;
|
|
} |