Adjust fluid font sizes
This commit is contained in:
parent
fa145a5fce
commit
54cfc65d56
|
@ -37,11 +37,11 @@
|
||||||
--ff-default: 'Lexend', Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
--ff-default: 'Lexend', Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
||||||
--ff-monospace: 'Intel One Mono', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
|
--ff-monospace: 'Intel One Mono', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
|
||||||
|
|
||||||
--fs-main: 1.2rem;
|
--fs-main: clamp(1.125rem, 1.0565rem + 0.3096vi, 1.2rem);
|
||||||
--fs-h1: clamp(2rem, 1rem + 5vw, 3rem);
|
--fs-h1: clamp(2rem, 1rem + 5vi, 3rem);
|
||||||
--fs-h2: clamp(1.55rem, 1rem + 3vw, 2.15rem);
|
--fs-h2: clamp(1.55rem, 1rem + 3vi, 2.15rem);
|
||||||
--fs-h3: clamp(1.55rem, 1rem + 3vw, 1.8rem);
|
--fs-h3: clamp(1.55rem, 1rem + 3vi, 1.8rem);
|
||||||
--fs-h4: clamp(1.4rem, 1rem + 3vw, 1.6rem);
|
--fs-h4: clamp(1.4rem, 1rem + 3vi, 1.6rem);
|
||||||
|
|
||||||
--sz-paragraph-margin: 1.15em;
|
--sz-paragraph-margin: 1.15em;
|
||||||
--sz-main-padding: clamp(1rem, 5%, 4rem);
|
--sz-main-padding: clamp(1rem, 5%, 4rem);
|
||||||
|
|
Loading…
Reference in New Issue