Skip to content

Instantly share code, notes, and snippets.

@usmanity
Created February 8, 2012 00:13
Show Gist options
  • Save usmanity/1763293 to your computer and use it in GitHub Desktop.
Save usmanity/1763293 to your computer and use it in GitHub Desktop.
Styles for some basic html pages
javascript:var style = document.createElement("style");
style.innerHTML = "@import url(http://usmanity.com/bootstrap.css);@import url(http://fonts.googleapis.com/css?family=Droid+Sans|Rokkit); body{ font-family: 'Droid sans'; font-size: 14px; color: #444; background: #feefee; padding: 0 100px; } p{ font-family: 'Droid sans'; font-size: 14px; } h1,h2,h3,h4,h5,h6{ font-family: Rokkit, Rockwell, serif; color: #333; font-size: 125%; }";
document.body.appendChild(style);
void(0);
@usmanity
Copy link
Author

usmanity commented Feb 8, 2012

About

I always like to have a legible page to read. A lot of manpages and documentation pages (except MDN 👍) have really bad style and layout. This is to help you see better and focus on the reading a little bit better.

I'll try to make changes to it as I get more time to spend on it.

⚡ This is a bookmarklet. Just copy and paste it in the URL for the bookmark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment