canonical / sphinx-docs-starter-pack

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

Improve code block/monospace font sizing #146

Closed s-makin closed 7 months ago

s-makin commented 9 months ago

The monospace font currently renders at a smaller size than the general body text, which gives it a sort of pinched look and makes it harder to read by comparison.

image

The default size used in the ubuntu.com documentation is slightly larger so that the monospace font appears the same size as the body text, which makes it look more seamless.

image

Making the code/monospace font slightly larger (to be the same size as the body text) would be a good visual improvement, most likely through custom CSS

ru-fu commented 8 months ago

This should be fixed with https://github.com/canonical/sphinx-docs-starter-pack/pull/160

ru-fu commented 7 months ago

Or actually, fixed with https://github.com/canonical/sphinx-docs-starter-pack/pull/172 ;)