No autoresizing to fit the code
Render blocking of the parent page
Apply local draft version or discard it
Auto-close HTML tags
Show line numbers
Enable line wrapping
Indent with tabs
An improved stylesheet to include with Entypo. It has a class for aria fallback (if required) and a class to access each individual icon. The naming of each icon isn't perfect, that is one part that could certainly be improved. I have adjust the font-size and position of each icon to match the demo, it can easily be adjusted in the .icon:before rule.
I've also encoded the font in base-64 to "bulletproof" it. Losing a text font is a visual style issue, losing an icon font is a major usability issue. I believe it necessary to base-64 all icon fonts to fix this problem.
Most icon fonts don't come with this sort of stylesheet, which makes the font difficult to use. Each user has to find out or decide on their own implementation of the icons. If an icon font is being delivered for web use it should include a sample of the best way to use the font. This is what I have attempted to do.
Please do with this as you see fit. I made it because I am very particular about typography online, especially icon font implementation. I hope this stylesheet will prove useful to both you and your users.
Add title to make the fiddle public.
/echo simulates AJAX calls:
See docs for more info.
Created and maintained by Piotr and Oskar.
Hosting by DigitalOcean
All code belongs to the poster and no license is enforced.
JSFiddle or its authors are not responsible or liable for any loss or damage of any kind during the usage of provided code.
Keep us running by whitelisting JSFiddle in your ad blocker.
We're serving quality, tech-related ads only.