The source code for WebTypography.net, a practical guide to web typography.
HTML PHP CSS Other
Latest commit e251e82 Sep 14, 2015 @clagnut Merge pull request #20 from codegaze/navfeature
Guideline navigation with arrow keys

README.md

webtypography

This is the source code for WebTypography.net, a practical guide to web typography which translates some aspects of The Elements of Typographic Style by Robert Bringhurst.

The site was initially launched in December 2005 by Richard Rutter.

The markup still holds up but you might consider the CSS to be a bit... 2005. The site was built using a fluid layout so while it's not fully responsive (at the time of writing) it is pretty flexible.

Requirements

The site runs on PHP and probably requires PHP 5 to be safe (although I suspect PHP 4 will work just fine too). That's all really. Just download the zip into a folder and set yourself up with a virtual host and you're away. If you want the webfonts to work, you'll need to use the domain "webtypography.dev" as your virtual hostname.

Adding new items

The site builds upon the individual guidelines written in Bringhurst's book. To add a new guideline, you should add an entry in the PHP array in /includes/data.inc.php and then create an HTML file with the main content in the /items folder.