Skip to content

Commit

Permalink
Modify CSS for about page
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueBoy247 committed Jun 5, 2024
1 parent d2f1ce6 commit aee8550
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions styles/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
display: grid;
gap: 7px;
margin: 1%;
grid-template-columns: repeat(6,1fr);
grid-template-columns: repeat(8,1fr);
}
@media only screen and (max-width: 425px){
.items{
Expand All @@ -25,7 +25,7 @@
grid-template-columns: repeat(2,1fr);
}
.smallitems{
grid-template-columns: repeat(3,1fr);
grid-template-columns: repeat(4,1fr);
}
}
.item{
Expand All @@ -44,11 +44,16 @@
.item:hover{
background-color: #46ada3;
}
.item img{
.items .item img{
width: 100%;
margin-bottom: 3%;
object-fit: cover;
}
.smallitems .item img{
width: 96px;
margin-bottom: 3%;
object-fit: cover;
}
.title{
font-size: 20px;
text-align: center;
Expand Down

0 comments on commit aee8550

Please sign in to comment.