Typography

Headers

Heading 1 (h1)

Usage: Use for the main title on a page or as key headlines.

Heading 2 (h2)

Usage: Use for introducing major sections of content.

Heading 3 (h3)

Usage: Use for breaking sections down into subsections.

Heading 4 (h4)

Usage: Use for smaller headings within subsections, often to emphasise or title specific points.

Heading 5 (h5)

Usage: Use for smaller headings or when introducing less significant subtopics. Can also be used as a 'Lead paragraph' under a heading.

Heading 6 (h6)

Usage: Use for the smallest headings, typically for detailed points or final subpoints.

Paragraphs

Lead Paragraphs

This is a leading paragraph. Lorem ipsum odor amet, consectetuer adipiscing elit. Ullamcorper enim faucibus ornare suspendisse volutpat. Enim malesuada pellentesque justo ad hendrerit efficitur. Mauris ligula mus inceptos tempus litora primis varius quisque sagittis.

Usage: Use for introductory text. It stands out from normal paragraphs and draws attention to the most important information.


Normal Paragraph

This is a normal paragraph. Lorem ipsum odor amet, consectetuer adipiscing elit. Ullamcorper enim faucibus ornare suspendisse volutpat. Enim malesuada pellentesque justo ad hendrerit efficitur. Mauris ligula mus inceptos tempus litora primis varius quisque sagittis.

Usage: Use for general content throughout the page. This is the standard paragraph style for body text.

Lists

Unordered List

Usage: Use for a list of items where the order doesn’t matter, such as features or options.

Ordered List

Usage: Use for lists where the order matters, such as steps in a process or ranking.

  1. First item
  2. Second item
  3. Third item

CSS Properties

                

:root {
    --base-font-family: 'Nunito', 'Nunito Sans', 'Roboto', 'Open Sans';
    --rdoc-font-family: 'Arial';
    --DXS-font-family: 'Helvetica', 'Arial', 'Sans-serif';
}

/* Headings */

    h1 {
        font-size: 2.5rem; /* 40px */
        color: var(--PrussianBlue);
        font-family: var(--heading-font-family);
        font-weight: 500;
        position: relative;
        text-transform: capitalize;
        line-height: 1.2;
        margin-bottom: 2rem; /* 32px */
    }
    h1::before {
        content: '';
        display: block;
        width: 200px;
        height: 5px;
        background-color: var(--PuertoRico);
        position: absolute;
        top: -20px;
        left: 0;
    }
    h2 {
        font-size: 2rem; /* 32px */
        color: var(--PrussianBlue);
        font-family: var(--heading-font-family);
        font-weight: 500;
        line-height: 1.25;
        margin-bottom: 1.75rem; /* 28px */
    }
    h3 {
        font-family: var(--heading-font-family);
        font-size: 1.75rem; /* 28px */
        color: var(--PrussianBlue);
        font-weight: 400;
        line-height: 1.25;
        margin-bottom: 1.5rem; /* 24px */
    }
    h4 {
        font-family: var(--heading-font-family);
        font-size: 1.5rem; /* 24px */
        color: var(--PrussianBlue);
        font-weight: 500;
        line-height: 1.25;
        margin-bottom: 1.25rem; /* 20px */
    }
    h5 {
        font-family: var(--heading-font-family);
        font-size: 1.25rem; /* 20px */
        color: var(--PrussianBlue);
        font-weight: 500;
        line-height: 1.25;
        margin-bottom: 1rem; /* 16px */
    }
    h6 {
        font-family: var(--heading-font-family);
        font-size: 1rem; /* 16px */
        color: var(--PrussianBlue);
        font-weight: 500;
        line-height: 1.5;
        margin-bottom: 0.75rem; /* 12px */
    }

/* Paragraphs */

        .lead-paragraph {
            font-size: 1rem;
            font-weight: bold;
            color: black;
            line-height: 1.5;
            margin-bottom: 12px;
        }

        p {
        font-size: 1rem;
        font-family: var(--base-font-family);
        color: var(--Black);
        line-height: 1.6;
        margin-bottom: 1rem;
        }

/*Lists*/   

    ul {
        font-size: 1rem;
        font-family: var(--base-font-family);
        line-height: 1.5;
    }
    ul li::marker {
        color: var(--PuertoRico);
    }
    /*First-level items*/
    ul > li {
        list-style-type: disc;
    }
    /* Second-level items */
    ul > li > ul > li {
        list-style-type: '-   ';
    }
    ol {
        font-size: 1rem;
        font-family: var(--base-font-family);
        line-height: 1.5;
    }