Skip to content

Commit

Permalink
move the position of cover photo
Browse files Browse the repository at this point in the history
  • Loading branch information
ksw2000 committed Oct 31, 2024
1 parent ca6aa50 commit f2f6d41
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/app/home/home.component.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.cover, .cover-front {
.cover,
.cover-front {
width: 100%;
height: calc(100dvh - var(--mat-toolbar-standard-height));
background-size: cover;
Expand All @@ -7,8 +8,14 @@
margin-top: -10px;
}

.cover {
background-position-x: calc(50% - 300px);
}

@media (max-width: 599px) {
.cover, .cover-front {

.cover,
.cover-front {
height: calc(100dvh - var(--mat-toolbar-mobile-height));
}
}
Expand Down Expand Up @@ -51,6 +58,7 @@
flex-wrap: wrap;
justify-content: center;
}

.two-columns-texts p {
font-size: 1.3rem;
}
Expand Down Expand Up @@ -81,4 +89,4 @@
display: block;
max-width: 600px;
margin: 0 auto;
}
}

0 comments on commit f2f6d41

Please sign in to comment.