nextstrain / sphinx-theme

A Sphinx theme for Nextstrain's documentation, based on Read The Docs' default theme.
https://docs.nextstrain.org/projects/sphinx-theme/
MIT License
0 stars 5 forks source link

Revert back to using a monospace font for inline literals #5

Closed tsibley closed 3 years ago

tsibley commented 3 years ago

These literals usually contain code or commands that benefit from the clarity and convention of monospace.

The font was switched from monospace → variable width along with broader style changes in "Modify styling of main docs content" (3b2302f). I suspcect it was unintentional, as the basis for those style changes—a past version of https://nextstrain.github.io/auspice/—also seems to have used a monospace font for inline literals.

tsibley commented 3 years ago

Before

Screenshot from 2020-11-20 16-42-56

After

Screenshot from 2020-11-20 16-37-27

tsibley commented 3 years ago

Thanks for the 👀, @eharkins. @jameshadfield, I wanted to make sure you had a chance to see this too as your commit made the monospace → variable width change in the first place.