Fix inline code in mattgraham's Midnight theme
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.
- 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
Applies to:all URLs
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.
Installs:Created: Jun 17, 2015Last Updated: Jun 17, 2015
Created: Oct 23, 2015Last Updated: Mar 16, 2016
Created: Jun 01, 2016Last Updated: Jun 01, 2016
Created: Oct 23, 2015Last Updated: Oct 23, 2015
Created: May 30, 2010Last Updated: Sep 13, 2015
Created: Feb 09, 2006Last Updated: Nov 21, 2013
Created: Apr 18, 2014Last Updated: Nov 29, 2016
Created: Dec 22, 2009Last Updated: May 06, 2015
Created: Jul 06, 2015Last Updated: Jul 06, 2015