Typography

Typography defines how text looks. The page layout customizes Bootstrap’s default font to implement the CentOS Type setting Montserrat for regular text and Source Code Pro for mono-spaced texts. Both fonts are available under the Open Font License.

Presentation template

Typography presentation template is in the _includes/base/head.html file.

<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Code+Pro:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap">

Configuration files

Typography configuration file is in the _sass/base/_variables.scss file.

Configuration variables

Typography configuration variables are described in the following table:

Name Description
$font-family-sans-serif Defines font name for regular text. By default, it is set to "Montserrat", sans-serif.
$font-family-monospace Define font name for mono-spaced text. By default, it is set to "Source Code Pro", monospace.