Skip to content

Commit

Permalink
fix design ios safari issue
Browse files Browse the repository at this point in the history
  • Loading branch information
richmartins committed Apr 3, 2024
1 parent 0a28986 commit f91221f
Showing 1 changed file with 5 additions and 31 deletions.
36 changes: 5 additions & 31 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,13 @@ footer {
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-attachment: scroll;
height: 100vh;
}

header.row {
justify-content: center
}

.row {
flex-direction: column;
}
Expand Down Expand Up @@ -296,33 +299,4 @@ footer {
margin: 0;
}

}

@media screen and (max-width:480px) {
.card-deck {
flex-direction: column;
align-items: center;
}

#header-content h2 {
font-size: 2.5em;
}

#header-content {
margin-top: 0;
}

#header {
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-attachment: scroll;
height: 100vh;
padding: 5.5em 0 1em 0;
}

#header-content h3 {
font-size: 1.5em;
}
}
}

0 comments on commit f91221f

Please sign in to comment.