Skip to content

Instantly share code, notes, and snippets.

@kaiomagalhaes
Created April 23, 2020 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaiomagalhaes/f2b38316e7aa61c85af6659c2d3ff27e to your computer and use it in GitHub Desktop.
Save kaiomagalhaes/f2b38316e7aa61c85af6659c2d3ff27e to your computer and use it in GitHub Desktop.
@import url('https://rsms.me/inter/inter.css');
$font-stack: 'Inter', sans-serif;
html {
font-family: $font-stack;
}
h1 {
font-size: 3.5rem;
font-weight: 600;
line-height: 4rem;
}
h2 {
font-size: 3rem;
font-weight: 500;
line-height: 3.5rem;
}
h3 {
font-size: 2.5rem;
font-weight: 600;
line-height: 3rem;
}
h4 {
font-size: 2rem;
font-weight: normal;
line-height: 2.5rem;
}
h5 {
font-size: 1.75rem;
font-weight: 600;
line-height: 2.25rem;
}
@media only screen and (max-width: 600px) {
h1 {
font-size: 3rem;
font-weight: 600;
line-height: 3.5rem;
}
h2 {
font-size: 2.5rem;
font-weight: 500;
line-height: 3rem;
}
h3 {
font-size: 2.25rem;
font-weight: 600;
line-height: 2.5rem;
}
h4 {
font-size: 1.75rem;
font-weight: normal;
line-height: 2.25rem;
}
h5 {
font-size: 1.5rem;
font-weight: 600;
line-height: 2rem;
}
}
.title {
font-size: 1.25rem;
font-weight: 600;
line-height: 2rem;
}
.body-content {
font-size: 1rem;
line-height: 1.5rem;
&.bold {
font-weight: 500;
}
}
.body-content-big {
font-size: 1.25rem;
line-height: 2rem;
}
.caption {
font-size: 0.75rem;
line-height: 1.25rem;
}
.label-cta {
font-size: 1.25rem;
font-weight: 500;
line-height: 28px;
}
.label-button {
font-size: 1.75rem;
font-weight: 500;
line-height: 1.5rem;
&.small {
font-size: 1rem;
}
}
.label-link {
font-size: 1rem;
line-height: 1.5rem;
text-decoration: underline;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment