Fix inline code in mattgraham's Midnight theme

Added by Leif Arne Storset@userstyles, Created: Jun 10, 2015, Updated: Jun 10, 2015
No screenshot

Description:

The Midnight theme (by mattgraham) for GitHub Pages may make inline code smaller than the surrounding text. (This is an extremely common problem on the Web.) When inline code is used in a heading, it can make the heading hard to pick out from surrounding text. This stylesheet uses the experimental font-size-adjust property to "fix" this—it's not necessarily beautiful, but it is more readable.

More info
Caveats:
  • Your browser may need a flag turned on in order to allow font-size-adjust. (In Chromium, enable Experimental Web Platform Features.)
  • The font-size-adjust value was arrived at by experimentation (which seems to be the approach recommended by the spec), and I'm not sure how well it generalizes. The fonts rendered on my system are "OTS derived font" (not sure what this is?) and Consolas.
  • I'm not sure how other Midnight-themed pages use .

Installs:
Applies to:
all URLs
License:
CC0 1.0 Universal.
Leif Arne Storset@userstyles has waived all copyright and related or neighboring rights to Fix inline code in mattgraham's Midnight theme, to the extent allowed by law.

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.