Skip to content

Instantly share code, notes, and snippets.

@jaredbeck
Created June 16, 2011 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredbeck/1030285 to your computer and use it in GitHub Desktop.
Save jaredbeck/1030285 to your computer and use it in GitHub Desktop.
Refactoring font sizes
body { font-size: 63.125%; } /* translate 1.0em to 10px, 1.5em to 15px, etc. */
h1 { font-size: 20px; }
a, input, textarea { font-size: 12px; }
p { font-size: 1.2em; }
#centerColumn h2, #allAnnouncements h2, .announcementManagement h2 { font-size: 19px; }
#leftColumn h2, #rightColumn h2 { font-size: 12px; }
h2.box a#addProjBox { font-size: 11px; }
ul { font-size: 1.1em; }
h1 span#beta { font-size: 10px; }
#adminReports h3 { font-size: 1.1em; }
a.redx { font-size: 1.1em; }
#search_well label { font-size: 1.2em; }
#addNewItem { font-size: 13px; }
.feedItem h3, form.feedItemTitleForm input { font-size: 1.2em; }
#feed p.item_attributes { font-size: 1.1em; }
.permalink_field input { font-size:0.95em; }
#activeFilterArea { font-size:1.2em; }
.announcementManagement textarea { font-size:1.2em; }
#allAnnouncements div.summary { font-size:1.1em; }
ul.itemTagList { font-size: 1.1em; }
a.ancShowFewerTags, a.ancShowMoreTags { font-size:1.1em; }
li.projBox h3 { font-size: 1.1em; }
li.projBox h3 span { font-size: .9em; }
p.sharedUserList { font-size: .8em; }
#rightColumn li.projBox ul.projBoxItems li.projBoxItem { font-size: .9em; }
li.projBox a.showToolsProjBox { font-size: .9em; }
li.projBox a.collapseProjBox { font-size: .9em; }
li.projBox div.projBoxTools a, li.projBox div.projBoxTools a:hover { font-size: 13px; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment