1
0
Fork 0
forked from are0h/tapes
tapes/assets/css/global/typography.css
Ro b72650ed2f Intial Project Commit
first commit to get all the project files in there
2025-03-05 16:14:37 -06:00

54 lines
1.2 KiB
CSS

/* RUBIK */
@font-face {
font-family: AlteHaasGrotesk;
src: url("fonts/ahg/AlteHaasGroteskRegular.ttf") format("truetype"),
url("fonts/ahg/AlteHaasGroteskRegular.woff") format("woff"),
url("fonts/ahg/AlteHaasGroteskRegular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: AlteHaasGrotesk;
src: url("fonts/ahg/AlteHaasGroteskBold.ttf") format("truetype"),
url("fonts/ahg/AlteHaasGroteskBold.woff") format("woff"),
url("fonts/ahg/AlteHaasGroteskBold.woff2") format("woff2");
font-weight: 700;
font-style: normal;
}
:root {
--base-type: AlteHaasGrotesk, helvetica, arial, sans-serif;
--mono-type: "Lucida Console", monaco, monospace;
}
p {
font: 400 1.2em/1.1em var(--base-type);
color: var(--white);
}
h1 {
font-size: 2em;
font-weight: 600;
font-kerning: normal;
letter-spacing: -3px;
text-transform: uppercase;
line-height: 0.75em;
margin: 0;
overflow-wrap: break-word;
color: var(--highlight);
}
h2 {
text-transform: lowercase;
font-size: 1.5em;
font-weight: 500;
line-height: 0.8em;
color: var(--primary);
margin: 15px 0;
}
h3 {
font-size: 1.5em;
font-weight: 300;
}