Skip to content

Commit

Permalink
Adjust regular text and heading sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Sep 30, 2024
1 parent 8ef4de8 commit 2508fa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/assets/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
--clr-top-btn-bg: #4153b6;
--clr-top-btn-txt: #fff;

--fs-base: 19px;
--fs-base: calc(16px + 0.19vw);
--fs-main-txt: 1.12em;
--fs-profile: 1.2em;
--fs-bloglist-title: 1.2em;
--fs-h1: clamp(2.2rem, 1rem + 5vw, 3.3rem);
--fs-h1: clamp(2.2rem, 1rem + 5vw, 2.5rem);
--fs-h2: clamp(1.7rem, 1rem + 3vw, 2.3rem);
--fs-h3: clamp(1.7rem, 1rem + 3vw, 2rem);
--fs-h4: clamp(1.6rem, 1rem + 3vw, 1.8rem);
Expand Down
2 changes: 1 addition & 1 deletion src/assets/css/utility.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Utility Classes */
.heading--main {
padding: 1rem 0;
font-size: 2.5rem;
font-size: var(--fs-h1);
font-weight: 700;
color: var(--clr-accent-600);
}
Expand Down

0 comments on commit 2508fa5

Please sign in to comment.