github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

joshuaclayton / blueprint-css

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2,411
    • 248
  • Source
  • Commits
  • Network (248)
  • Downloads (7)
  • Wiki (10)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • test
  • Tags (7)
    • v0.9.1
    • v0.9
    • v0.8.0
    • v0.7.1
    • v0.6.1
    • v0.6
    • v0.5
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A CSS framework that aims to cut down on your CSS development time — Read more

  cancel

http://www.blueprintcss.org

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Clean up whitespace and remove div.span-# in lieu of .span-# 
joshuaclayton (author)
Sat Jan 16 12:41:39 -0800 2010
commit  2e3e4f59cfcd8265059a063a4a2a8508b6f9f46c
tree    b19f5353d145c5292085090dbe1877af120a69a9
parent  7e34b61a6dfdc9096ebd7c830bcbe1615d6eb45a
blueprint-css /
name age
history
message
file .gitignore Mon Jun 29 20:05:32 -0700 2009 Fix grid builder to properly generate png [joshuaclayton]
file AUTHORS.textile Sat Aug 22 19:58:54 -0700 2009 Whitespace [joshuaclayton]
file CHANGELOG Sat Aug 22 19:58:54 -0700 2009 Whitespace [joshuaclayton]
file LICENSE Sat Aug 22 19:58:54 -0700 2009 Whitespace [joshuaclayton]
file README.textile Sat Jan 16 12:17:05 -0800 2010 Remove broken link within README [joshuaclayton]
file TUTORIAL.textile Fri Jul 17 20:33:03 -0700 2009 Fixed some typos in TUTORIAL.textile. Signed-o... [shlomif]
directory blueprint/ Sat Jan 16 12:41:39 -0800 2010 Clean up whitespace and remove div.span-# in li... [joshuaclayton]
directory lib/ Sat Jan 16 12:41:39 -0800 2010 Clean up whitespace and remove div.span-# in li... [joshuaclayton]
directory templates/ Thu Aug 06 08:44:25 -0700 2009 Added PSD template to help with mockups [ericclemmons]
directory tests/ Sat Aug 22 19:58:54 -0700 2009 Whitespace [joshuaclayton]
README.textile

Blueprint CSS Framework Readme

Welcome to Blueprint! This is a CSS framework designed to cut down on your CSS development time. It gives you a solid foundation to build your own CSS on. Here are some of the features BP provides out-of-the-box:

  • An easily customizable grid
  • Sensible default typography
  • A typographic baseline
  • Perfected browser CSS reset
  • A stylesheet for printing
  • Powerful scripts for customization
  • Absolutely no bloat!

Project Info

  • Web: http://blueprintcss.org
  • Source: http://github.com/joshuaclayton/blueprint-css
  • Wiki: http://github.com/joshuaclayton/blueprint-css/wikis/home
  • Bug/Feature Tracking: http://blueprintcss.lighthouseapp.com

Setup Instructions

Here’s how you set up Blueprint on your site.

  1. Upload the “blueprint” folder in this folder to your server, and place it in whatever folder you’d like. A good choice would be your CSS folder.
  2. Add the following three lines to every <head/> of your site. Make sure the three href paths are correct (here, BP is in my CSS folder):
    
    <link rel="stylesheet" href="css/blueprint/screen.css" type="text/css" media="screen, projection">
    <link rel="stylesheet" href="css/blueprint/print.css" type="text/css" media="print">
    <!--[if lt IE 8]>
      <link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection">
    <![endif]-->

    Remember to include trailing slashes (" />") in these lines if you’re using XHTML.
  3. For development, add the .showgrid class to any container or column to see the underlying grid. Check out the plugins directory for more advanced functionality.

Tutorials

  • How to customize BP with the compressor script
  • How to use a grid in a layout
  • How to use a baseline in your typography

Files in Blueprint

The framework has a few files you should check out. Every file in the src directory contains lots of (hopefully) clarifying comments.

Compressed files (these go in the HTML):

  • blueprint/screen.css
  • blueprint/print.css
  • blueprint/ie.css

Source files:

  • blueprint/src/reset.css
    This file resets CSS values that browsers tend to set for you.
  • blueprint/src/grid.css
    This file sets up the grid (it’s true). It has a lot of classes you apply to <div/> elements to set up any sort of column-based grid.
  • blueprint/src/typography.css
    This file sets some default typography. It also has a few methods for some really fancy stuff to do with your text.
  • blueprint/src/forms.css
    Includes some minimal styling of forms.
  • blueprint/src/print.css
    This file sets some default print rules, so that printed versions of your site looks better than they usually would. It should be included on every page.
  • blueprint/src/ie.css
    Includes every hack for our beloved IE6 and 7.

Scripts:

  • lib/compress.rb
    A Ruby script for compressing and customizing your CSS. Set a custom namespace, column count, widths, output paths, multiple projects, and semantic class names. See commenting in compress.rb or run $ruby compress.rb -h for more information.
  • lib/validate.rb
    Validates the Blueprint core files with the W3C CSS validator.

Other:

  • blueprint/plugins/
    Contains additional functionality in the form of simple plugins for Blueprint. See individual readme files in the directory of each plugin for further instructions.
  • tests/
    Contains html files which tests most aspects of Blueprint. Open tests/index.html for further instructions.

Extra Information

  • For credits and origins, see AUTHORS.
  • For license instructions, see LICENSE.
  • For the latest updates, see CHANGELOG.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server