Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
happylinze authored Aug 7, 2024
1 parent cfc1f2e commit a36fece
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,26 @@ layout: default
.content {
margin-top: 60px;
}
.image-container {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-top: 20px;
}

.image-wrapper {
width: 300px;
height: 300px;
overflow: hidden;
}

.image-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
}

#back-to-top {
display: none;
position: fixed;
Expand Down Expand Up @@ -80,25 +100,7 @@ layout: default
.page {
padding: 1.5rem;
}
.image-container {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-top: 20px;
}
.image-wrapper {
max-width: 300px;
}
.image-wrapper img {
width: 100%;
height: auto;
display: block;
}
#navbar {
flex-direction: column;
align-items: stretch;
Expand Down

0 comments on commit a36fece

Please sign in to comment.