canonical / sphinx-docs-starter-pack

A documentation starter-pack
https://canonical-starter-pack.readthedocs-hosted.com/
Other
13 stars 35 forks source link

Add new Ubuntu variable font to custom CSS #160

Closed bartaz closed 7 months ago

bartaz commented 7 months ago

This PR adds @font-face definitions based on Vanilla to include latest Ubuntu variable web font, and uses this font in font config. This should fix the issue with wrong weight of the Ubuntu font and align this better with Vanilla styling.

image

Part of WEBDOC-7

bartaz commented 7 months ago

Apart from the font itself the typography could use some adjustments towards Vanilla (font sizes, margins, etc), but should be fine as is for now.