Skip to content

Commit

Permalink
updated screen orientation settings
Browse files Browse the repository at this point in the history
  • Loading branch information
juliam98 committed Apr 9, 2024
1 parent c1a534b commit 21358d5
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions style/main_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,21 @@ h2 {
margin-top: 30px;
}

p {
width: 50% ;
margin: auto;
@media screen and (orientation: portrait) {
p {
width: 80% ;
margin: auto;
}
}

@media screen and (orientation: landscape) {
p {
width: 50% ;
margin: auto;
}
}


p a, p a:link, p a:visited, p a:active {
text-decoration: none;
font-weight: bold;
Expand Down

0 comments on commit 21358d5

Please sign in to comment.