Typography
The typography is one of the essential parts of any website since the majority of content is text. Ascension supports all typography styles and offers custom ones.
Headings
Here is the complete list of headings, from 1 to 6:
Code | Preview |
---|---|
|
Heading 1Heading 2Heading 3Heading 4Heading 5Heading 6 |
Helper classes
On top of these, there are a few helper classes used to modify the default styling of the headings.
Class | Description | Code & preview |
---|---|---|
heavy |
Sets the font weight to 900 where possible. Applicable for h3 and h4 . |
Default heading 3Heavy heading 3Default heading 4Heavy heading 4 |
thin |
Sets the font weight to 300 where possible. Applicable for h4 only. |
Default heading 4Thin heading 4 |
accent |
Sets the font color to accent instead of the heading default. Applicable for h5 only. |
Default heading 5Accent heading 5 |
Paragraphs
Paragraphs are defined normally, using the p
tag. Small and emphasis tags are also supported.
Code | Preview |
---|---|
|
This is a paragraph with some emphasized text. It can also contain some small text. |
Blockquotes
Blockquotes are easily added by using the blockquote
element. If you want to add a citation, use the cite
element.
Code | Preview |
---|---|
|
|