Test font changes
This commit is contained in:
parent
f7c7408fdd
commit
f11a53cd11
4 changed files with 14 additions and 4 deletions
src
|
@ -36,6 +36,7 @@ import LinkContainer from "../links/linkContainer.astro";
|
|||
font-weight: 700;
|
||||
font-family: 'Work Sans Variable', system-ui, 'Segoe UI', sans-serif;
|
||||
font-size-adjust: 0.52;
|
||||
min-height: 4.8rem;
|
||||
}
|
||||
|
||||
.sub {
|
||||
|
@ -44,6 +45,7 @@ import LinkContainer from "../links/linkContainer.astro";
|
|||
font-family: 'Work Sans Variable', system-ui, 'Segoe UI', sans-serif;
|
||||
font-size-adjust: 0.52;
|
||||
width: 97.5%;
|
||||
min-height: 1.5rem;
|
||||
}
|
||||
|
||||
.fancy {
|
||||
|
|
|
@ -113,7 +113,15 @@ const mapped_navdata = navdata.map((item) => ({
|
|||
</body>
|
||||
</html>
|
||||
|
||||
<style is:global>
|
||||
<style is:global define:vars={{ workSans }}>
|
||||
@font-face {
|
||||
font-family: 'Work Sans Variable';
|
||||
src: var(--workSans) format('woff2');
|
||||
font-display: swap;
|
||||
font-weight: 100 900;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
:root {
|
||||
/* Animations */
|
||||
--a-time-default: 200ms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue