Skip to content

Commit

Permalink
trial and errors for frontpage photo display
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-weijie committed Jul 11, 2024
1 parent 4e81e41 commit 86b357d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -488,10 +488,6 @@ a,
}
}
@media screen and (max-width: 768px) {
html,
body {
height: 50vh;
}
#btn {
display: block;
color: #fefefa;
Expand Down Expand Up @@ -525,14 +521,17 @@ a,
}
.main-content {
width: 100%;
transition: all 0.5s ease;
transition: all 0.5s ease-in;
}
.main-content.shift-right {
width: calc(100% - 50px);
transform: translateX(50px);
transition: all 0.5s ease;
}

.home {
background-size: contain;
}
.home .content .text-1 {
font-size: 30px;
}
Expand Down

0 comments on commit 86b357d

Please sign in to comment.