Set custom properties for main content text size
This commit is contained in:
parent
c77a68ec02
commit
60b1863395
|
@ -7,7 +7,7 @@ main,
|
|||
|
||||
main,
|
||||
.content__wrapper {
|
||||
font-size: 1.2rem;
|
||||
font-size: var(--sz-main-txt);
|
||||
}
|
||||
|
||||
main {
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
--ff-primary: 'Lexend';
|
||||
--ff-monospace: 'Inter One Mono';
|
||||
|
||||
--sz-main-txt: 1.2rem;
|
||||
--sz-h1: clamp(2rem, 1rem + 5vw, 3rem);
|
||||
--sz-h2: clamp(1.55rem, 1rem + 3vw, 2.15rem);
|
||||
--sz-h3: clamp(1.55rem, 1rem + 3vw, 1.8rem);
|
||||
|
|
Loading…
Reference in New Issue