Skip to content

Commit

Permalink
Add documentation to override the main typeface
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrucs committed Feb 12, 2025
1 parent d2348bf commit 16cf6c0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/customization/customization-themestyles.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ You can override CSS in `customization/theme/style.css` file. To help overriding

In addition, some classes prefixed with `custo-*` are gradually being added to facilitate style overrides for components.

The font used is `Source sans 3`. If you wish to replace it, you must modify the
dedicated `--font-main` variable in the custom properties.
For example, if you want to use the `arial` typeface, put the following code in
`customization/theme/style.css`.

```css
:root {
--font-main: arial;
font-size-adjust: 0.5; /* Arial is bigger than Source sans 3 */
}
```

!!! note

**Explanations and differents styling for the main menu**
Expand Down

0 comments on commit 16cf6c0

Please sign in to comment.