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.
Created: Oct 23, 2015Last Updated: Jan 28, 2017
Created: Jun 17, 2015Last Updated: Jun 17, 2015
Created: Oct 23, 2015Last Updated: Oct 23, 2015
Created: Jun 01, 2016Last Updated: Jun 01, 2016
Created: May 30, 2010Last Updated: Sep 13, 2015
Created: Feb 09, 2006Last Updated: Nov 21, 2013
Created: Apr 18, 2014Last Updated: Apr 25, 2017
Created: Dec 22, 2009Last Updated: May 06, 2015
Created: May 12, 2016Last Updated: Sep 07, 2016