mgeier / insipid-sphinx-theme

:yawning_face: An insipid theme for the Sphinx documentation generator.
https://insipid-sphinx-theme.readthedocs.io/
BSD 2-Clause "Simplified" License
38 stars 4 forks source link

CSS: remove "italic" from "in-view", reduce "letter-spacing" instead #111

Closed mgeier closed 2 years ago

mgeier commented 2 years ago

I originally didn't want to use italic, because I don't really like the look of it, but switching to bold alone made the text significantly wider, which led to line breaks in some cases which led to unwanted movement in the sidebar when scrolling the main text.

I just learned about the hack of using a negative letter-spacing, which looks promising.

The problem is that this depends on the used font, which might be different on different browsers. ~I still have to check this on multiple browsers.~