💄 Update Team Card Style

This commit is contained in:
stefan080106
2022-09-20 15:41:31 +02:00
parent 03b9e3e75c
commit 2cb34c8b40
3 changed files with 36 additions and 22 deletions

View File

@@ -2,37 +2,49 @@
width: 100%;
display: flex;
justify-content: space-around;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
div {
height: 300px;
> div {
height: 260px;
width: 250px;
border: 1px solid black;
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: column;
border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 15px;
text-align: center;
img {
object-fit: cover;
width: 100%;
height: 75%;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
width: 50%;
height: 50%;
border-radius: 50%;
}
h2 {
// margin: 0 1rem;
margin: 0;
padding: 0;
}
h3 {
// margin: -0.5rem 1rem;
margin: 0;
padding: 0;
color: grey;
font-weight: normal;
div {
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: column;
h2 {
// margin: 0 1rem;
margin: 0;
padding: 0;
}
h3 {
// margin: -0.5rem 1rem;
margin: 0;
padding: 0;
color: grey;
font-weight: normal;
}
}
}
}