Skip to content

Commit

Permalink
pixel perfect for projects section
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej044 committed Jun 25, 2023
1 parent 07dff75 commit a80b544
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -712,21 +712,29 @@ a:hover, a:active, a:focus, button:hover, button:focus {

}
.projects__list{
gap: 3rem;
gap: 0;
column-gap: 3rem;
}
.projects__item{
position: relative;
max-width: 540px;
min-width: 540px;
}
.projects__item:hover .describe__links-wrapper{
display: flex;
}
.projects__item:not(.projects__item:first-child),.projects__item{
margin-top: 8rem;
}
.projects__list .projects__item:nth-child(n+3){
margin-top: 6.9rem;

}
.projects__preview-img{
max-height: 400px;
}
.projects__describe{
margin-top: 1.6rem;
}
.describe__links-wrapper{
position: absolute;
top:0;
Expand Down

0 comments on commit a80b544

Please sign in to comment.