Files
portfolio/src/css/ProjectCard.css
2025-01-21 21:49:52 +01:00

90 lines
1.3 KiB
CSS

.projectCard {
width: 33%;
display: flex;
flex-direction: column;
align-items: start;
justify-content: space-between;
}
.imgs,
.img {
display: flex;
align-items: center;
justify-content: center;
}
.imgs img:first-child {
border-radius: 8px 0 0 8px;
}
.imgs img:last-child {
border-radius: 0 8px 8px 0;
}
.imgs img {
height: 55%;
object-fit: contain;
}
.img img {
width: 100%;
border-radius: 8px;
height: 55%;
object-fit: contain;
}
.img img,
.imgs img {
box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
margin-bottom: 0.245rem;
}
.projectInfo h3 span {
color: rgb(151, 151, 151);
font-size: 1rem;
}
.projectJob {
color: rgb(151, 151, 151);
margin-bottom: 0.5rem;
}
.socialIcon {
width: 1.5rem;
height: auto;
fill: white;
transition: fill 0.5s ease;
}
.socialIcon:hover {
fill: rgb(151, 151, 151);
}
.projectLinks {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 0.5rem;
}
.projectCard.light .projectInfo h3 span,
.projectCard.light .projectJob {
color: rgb(90, 90, 90);
}
.projectCard.light .socialIcon {
fill: #333;
}
.projectCard.light .socialIcon:hover {
fill: #6e6e6e;
}
@media screen and (max-width: 450px) {
.projectCard {
width: 100%;
align-items: center;
justify-content: center;
}
}