• This repository has been archived on 11/Apr/2020
  • Stars
    star
    5,318
  • Rank 7,723 (Top 0.2 %)
  • Language
    CSS
  • License
    MIT License
  • Created about 16 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

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

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/lib/blueprint/grid.css.erb
    This file is used by the compressor (see below) when generating grids. All changes to grid.css are mirrored in this file, manually.
  • 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.

More Repositories

1

unused

Deprecated; see https://github.com/unused-code/unused
Haskell
859
star
2

dotfiles

Because everyone else is doing it
Shell
231
star
3

polylines

Easily handle Google polylines
Ruby
93
star
4

palette

An easier way to write Vim color schemes
Ruby
89
star
5

specit

A wrapper around QUnit that has a similar style to RSpec
JavaScript
71
star
6

phoenix_elm_webpack_heroku_example_app

Phoenix and Elm, compiled by Webpack, running on Heroku
Elixir
36
star
7

backbone-data-bootstrap

Example app demoing data bootstrapping with backbone
Ruby
27
star
8

page_ez

PageEz is a tool to define page objects with Capybara.
Ruby
17
star
9

fusebox

A super-lightweight lightbox-esque jQuery plugin (with jQuery UI support)
JavaScript
13
star
10

elm-ports-example

Example application demonstrating inbound/outbound ports in Elm
CSS
12
star
11

jitter

jQuery + Twitter
JavaScript
11
star
12

douglas_peucker

A Ruby implementation of the Douglas-Peucker algorithm
Ruby
11
star
13

elm-colors

Phoenix + Elm application for browsing colors
CSS
10
star
14

peas

A demo app of a URL shortener
Ruby
10
star
15

faststep

Mongo on Speed
C
10
star
16

sieve

Ruby C Extension for the Sieve of Eratosthenes
Ruby
10
star
17

file-fun

A fun program for files, written in Haskell, to demonstrate a monad transformer stack
Haskell
7
star
18

todos

Ruby
7
star
19

date-math

A small parser and CLI for date calculations
Rust
7
star
20

google-analytics-elm-example

Elm
6
star
21

quizzical

Elm
5
star
22

basic_decorator

Ruby
5
star
23

Write-Web-Applications-Your-Customers-Want

GLRB Talk
JavaScript
4
star
24

elm-hop-mailboxes-example

Elm
4
star
25

possible_unused_methods

Identify possible unused methods/functions in a codebase
Elixir
4
star
26

qunit-examples

JavaScript
4
star
27

sentinel

Simple authorization for Rails (includes Shoulda macros)
Ruby
4
star
28

rails_elm_webpacker_heroku_example_app

Rails and Elm, compiled by Webpack, running on Heroku
Ruby
4
star
29

new-test-driven-todos

Ruby
3
star
30

import-sort

Sort your Haskell import statements
Haskell
3
star
31

watchtower

An exception logger for Rails 2.3
JavaScript
3
star
32

moving-averages

Haskell
3
star
33

j-archive-api

Haskell
3
star
34

json-diff

Rust
3
star
35

ship-it

Elm
2
star
36

todo

Todo terminal app written in Haskell
Haskell
2
star
37

jdclayton

Personal blog
Ruby
2
star
38

engineering-skills-matrix

Elm
2
star
39

investments-elm

A little can turn into a lot.
CSS
2
star
40

redirect-to

Elixir
2
star
41

advent-of-code-rust

Rust
2
star
42

chords

Haskell
2
star
43

scarab

Scrabble word finder
Ruby
2
star
44

alfred-freshbooks

Ruby
2
star
45

date-calculations

Rust Crate supporting relative date calculations for Chrono's NaiveDate
Rust
2
star
46

dots_web

JavaScript
2
star
47

exploring-elm

Elm
2
star
48

fuzzy-monster

Demo app utilizing recent standard programming practices, as well as a place to try out Rails 2.2 RC1 and any plugins
JavaScript
2
star
49

testing_rails

Ruby
2
star
50

token-search

This is a library for efficient substring detection across a codebase.
Ruby
2
star
51

geocoding

Elixir
1
star
52

colorcoded-words

Haskell
1
star
53

grammarly-bug

JavaScript
1
star
54

advent-of-code-2016

Haskell
1
star
55

math-equations-csv

Rust
1
star
56

polygon.js

Quick and dirty Polygon object in Javascript
JavaScript
1
star
57

advent-of-code

Haskell
1
star
58

hashtag

Ruby
1
star
59

timeline

Haskell
1
star
60

hangman

Hangman exercise from http://haskellbook.com/
Haskell
1
star
61

similar-names

Haskell
1
star
62

j-archive-parser

Haskell
1
star
63

multi_step_component

Ruby
1
star