Skip to content

Commit

Permalink
Update default.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh-iitrpr authored Jul 3, 2024
1 parent 0a51030 commit 4b3462b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@
padding: 0;
width: 100%;
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
justify-items: center;
}
.gallery img {
width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.gallery img:hover {
transform: scale(1.05);
    }
</style>
<body>
<!--{%- include header.html -%}-->
Expand Down

0 comments on commit 4b3462b

Please sign in to comment.