Skip to content

Commit

Permalink
Update _layouts/default.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuanhao-Chao committed Jan 22, 2025
1 parent 691ad11 commit 0e4a139
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ <h4 id="intro-message-advisor" class="alt-font">Advisor: <a href="https://salzbe
/* Phone: reduce further if needed */
@media (max-width: 480px) {
#intro-message-name {
font-size: 2.0rem;
font-size: 2.2rem;
}
}

Expand Down Expand Up @@ -253,19 +253,19 @@ <h4 id="intro-message-advisor" class="alt-font">Advisor: <a href="https://salzbe
}

#intro-message-advisor {
font-size: 1.4rem;
font-size: 1.1rem;
white-space: nowrap; /* Keep the main message on one line */
}
/* Tablet: reduce name font size slightly */
@media (max-width: 768px) {
#intro-message-advisor {
font-size: 1.0rem;
font-size: 0.9rem;
}
}
/* Phone: reduce further if needed */
@media (max-width: 480px) {
#intro-message-advisor {
font-size: 0.8rem;
font-size: 0.7rem;
}
}

Expand Down

0 comments on commit 0e4a139

Please sign in to comment.