G-Loot logo
Framework
v1.0.80

Typography introduction

Font family

The default font is Roboto while all headings are using Podium Sharp. You can specify which font to use on any element using the following class names:

.font-headingsloads Podium Sharp
.font-bodyloads Roboto Condensed

Font weight

You can specify the weight of a text with the following class names:

.font-normalputs a font weight of 300 (normal)
.font-boldputs a font weight of 700 (bold)

Font style

You can specify the style of a text with the following class names:

.italicputs the text in italic
.not-italicdisplays the text normally

Font size

You can specify the size of a text with the following class names:

.text-xsset the size to 0.75rem (12px)
.text-smset the size to 0.875rem (14px)
.text-baseset the size to 1rem (16px)
.text-lgset the size to 1.125rem (18px)
.text-xlset the size to 1.25rem (20px)
.text-2xlset the size to 1.5rem (24px)
.text-3xlset the size to 1.875rem (30px)
.text-4xlset the size to 2.25rem (36px)
.text-5xlset the size to 2.25rem (36px)
.text-6xlset the size to 2.25rem (36px)
.text-7xlset the size to 2.25rem (36px)
.text-8xlset the size to 6rem (96px)
.text-9xlset the size to 8rem (128px)

Line height

You can specify the line height of a text with the following class names:

.leading-noneset the size to 1 (100%)
.leading-tightset the size to 1.25 (125%)
.leading-snugset the size to 1.375 (137.5%)
.leading-normalset the size to 1.5 (150%)
.leading-relaxedset the size to 1.625 (165.5%)
.leading-looseset the size to 2 (200%)

Letter spacing

You can specify the tracking (letter spacing) of a text with the following class names:

.tracking-tighterset the tracking to -0.05em
.tracking-tightset the tracking to -0.025em
.tracking-normalset the tracking to 0em
.tracking-wideset the tracking to 0.025em
.tracking-widestset the tracking to 0.1em
.tracking-widerset the tracking to 0.05em

Text align

You can specify the alignment of text with the following class names:

.text-leftset the text align to left
.text-centerset the text align to center
.text-rightset the text align to right
.text-justifyset the text align to justify
.text-startset the text align to start
.text-endset the text align to end