Skip to content

Commit

Permalink
update css
Browse files Browse the repository at this point in the history
  • Loading branch information
Fujun Luan committed May 2, 2023
1 parent 0e90b3f commit effc756
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ body {
background-color: #000;
width: auto;
font-family: 'Montserrat', sans-serif;
font-weight: 100;
font-weight: 300;
font-size: 14px;
margin: 0 auto;
}
Expand All @@ -19,14 +19,14 @@ h2 {
}

/* Increase font size for mobile devices using relative units */
@media screen and (max-width: 768px) {
h1 {
font-size: 2.0rem;
@media only screen and (max-device-width: 768px) {
body h1 {
font-size: 2.0rem !important;
margin-top: 0; /* Remove the top margin */
}

h2 {
font-size: 1.6rem;
body h2 {
font-size: 1.75rem !important;
margin-bottom: 0; /* Remove the bottom margin */
}
}
Expand Down

0 comments on commit effc756

Please sign in to comment.