Created
March 23, 2013 05:18
-
-
Save cwgem/5226557 to your computer and use it in GitHub Desktop.
Font sizing. Mostly pulled from http://clagnut.com/blog/348/ and http://clagnut.com/blog/348/#c790
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| html { font-size: 100%; /* IE hack */ } | |
| body { | |
| /* IE5/Win */ | |
| text-align:center; | |
| padding-top: 30px; | |
| font-size: 0.75em; | |
| } | |
| /* Title font. */ | |
| h1, h2, h3, h4, h5, h6, | |
| div.title, caption.title, | |
| thead, p.table.header, | |
| #toctitle, | |
| #author, #revnumber, #revdate, #revremark, | |
| #footer { | |
| } | |
| /* Percent span layout with auto-centering */ | |
| .article { | |
| margin: 0 auto; | |
| width: 70%; | |
| text-align: left; | |
| font-size: 1.2em; | |
| } | |
| h1 {font-size: 2em; } /* displayed at 24px */ | |
| h2 {font-size: 1.5em; } /* displayed at 18px */ | |
| h3 {font-size: 1.25em; } /* displayed at 15px */ | |
| h4 {font-size: 1em; } /* displayed at 12px */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment