Lisää toimintoja
| Ei muokkausyhteenvetoa | Ei muokkausyhteenvetoa | ||
| Rivi 3: | Rivi 3: | ||
|    flex-direction: column; |    flex-direction: column; | ||
|    gap: 1rem; |    gap: 1rem; | ||
|   text-align: center; | |||
|   padding: 2rem; | |||
|   border: 1px solid rgba(0, 0, 0, 0.15); | |||
| } | } | ||
| Rivi 9: | Rivi 12: | ||
|    height: 100%; |    height: 100%; | ||
|    width: 100%; |    width: 100%; | ||
|   max-width: 256px; | |||
|    aspect-ratio: 1 / 1; |    aspect-ratio: 1 / 1; | ||
|    overflow: hidden; |    overflow: hidden; | ||
Versio 11. joulukuuta 2024 kello 22.36
.team-member {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.team-member .avatar img {
  image-rendering: pixelated;
  height: 100%;
  width: 100%;
  max-width: 256px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  object-fit: cover;
  object-position: left;
}
