// $Id: README.txt,v 1.2.2.2 2009-06-20 19:25:54 dvessel Exp $
This "framework" theme is based on the 960 Grid System created by Nathan Smith.
It is being proposed for the core base theme in Drupal 7. The CSS framework is
licenced under GPL and MIT. This Drupal theme is licensed under GPL.
See these pages:
Issue queue: http://drupal.org/node/293540
g.d.o discussion: http://groups.drupal.org/node/16200
960 post on g.d.o: http://groups.drupal.org/node/16457
Homepage and download for 960:
http://960.gs/
Background information on 960:
http://sonspring.com/journal/960-grid-system
Write-up from DivitoDesign:
http://www.divitodesign.com/2008/12/960-css-framework-learn-basics/
Write-up from Nettus:
http://nettuts.com/videos/screencasts/a-detailed-look-at-the-960-css-framework/
http://nettuts.com/tutorials/html-css-techniques/prototyping-with-the-grid-960-css-framework/
General idea behind a CSS framework:
http://www.alistapart.com/articles/frameworksfordesigners
Extensive overview on working within grids:
http://www.smashingmagazine.com/2007/04/14/designing-with-grid-based-approach/
==============================================================================
Modifications:
- The 960 Grid System package has been modified so it conforms to Drupal's
coding standards. Tabs were removed for double spaces and underscores
changed to hyphens.
- Additional .push-x and .pull-x classes have been added.
- Right-to-left languages are supported. It's not part of the 960 download.
It has been extended to support Drupal's rtl language system.
- Removed ".clear-fix" and ".clear" classes from 960.css. Drupal works with
".clear-block" which uses the same technique used in .clear-fix. The .clear
class on the other hand is too commonly used as a class name and the
properties can cause confusion since anything with that property will
disappear. A standard
tag can be used in its place.
- Removed the "outline:0;" rule from reset.css. Adding it back manually
prevents OS specific outline styles from being used. Specifically Webkit and
possibly others. Also removed the "a:focus {outline: 1px dotted invert;}"
from text.css where it's reapplied.
- Removed the large left margin for list items inside text.css. It interferes
in many places.
==============================================================================
Notes and rules to play nice with the grids:
- The class .container-[N] ([N] being a numeric value) is a subdivision of the
overall width (960 pixels). It can either be .container-12 or .container-16.
Depending on which is used, each grid unit (.grid-[N] class) will either be
in multiples of 80 pixels for 12 subdivisions or in multiple of 60 pixels for
16 subdivisions. All grid blocks include a 10 pixel margin on the left and
right side.
- Add a .show-grid class to the body tag to see the grid. It will add a
background graphic to guide you. This theme includes a printable sketch
sheet and templates for Photoshop and various other formats to guide you
from start to finish. See the "extras" folder within this theme.
- Do not add left or right margins or padding to anything that's assigned a
grid class or it may throw off the alignment.
- Use the .push-[N] and .pull-[N] classes so the order the layout is presented
does not depend on source order. For example, if the source order was this:
[content][side-1][side-2], and the desired presentation order was this:
[side-1][content][side-2]. Adding a .pull-[N] class to #side-1 with the same
numeric grid value as #content and adding a .push-[N] class to #content with
the same numeric grid value of #side-1 will swap their display. These classes
can also be used for the general shifting of content when needed.