Skip to content

Commit

Permalink
Add Full/Leftmost synonyms to all stylesheets
Browse files Browse the repository at this point in the history
.width-full and .position-leftmost are defined in decogrids-16.css but
not in the other stylesheets, including the gapless versions.

Added the missing classes to the other stylesheets, for consistency.
Honored:
 * .position-leftmost == .position-0
 * .width-full == .width-<N> (where <N> == grid size)
 * no "div" in gapless versions
  • Loading branch information
marciomazza committed May 30, 2012
1 parent 70e9326 commit 3d33db9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions decogrids-12.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ div.width-1\3a 3 { width: 31.250%; } /* .width-1:3 */
div.width-2\3a 3 { width: 64.583%; } /* .width-2:3 */
div.position-1\3a 3 {margin-left: -66.668%;} /* .position-1:3 */
div.position-2\3a 3 {margin-left: -33.336%;} /* .position-2:3 */

/* Full/leftmost are useful synonyms for full width and leftmost positioning */
div.position-leftmost { margin-left: -100% }
div.width-full { width: 97.916% }
4 changes: 4 additions & 0 deletions gapless/decogrids-12-gapless.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ These do not strictly conform to the grid, but are useful for certain layouts. *
.width-2\3a 3 { width: 66.66%; } /* .width-2:3 */
.position-1\3a 3 {margin-left: -66.66%;} /* .position-1:3 */
.position-2\3a 3 {margin-left: -33.33%;} /* .position-2:3 */

/* Full/leftmost are useful synonyms for full width and leftmost positioning */
.position-leftmost { margin-left: -100% }
.width-full { width: 100% }
4 changes: 4 additions & 0 deletions gapless/decogrids-16-gapless.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,7 @@ These do not strictly conform to the grid, but are useful for certain layouts. *
.width-2\3a 3 { width: 66.66%; } /* .width-2:3 */
.position-1\3a 3 {margin-left: -66.66%;} /* .position-1:3 */
.position-2\3a 3 {margin-left: -33.33%;} /* .position-2:3 */

/* Full/leftmost are useful synonyms for full width and leftmost positioning */
.position-leftmost { margin-left: -100% }
.width-full { width: 100% }
4 changes: 4 additions & 0 deletions gapless/decogrids-9-gapless.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ These do not strictly conform to the grid, but are useful for certain layouts. *
.width-2\3a 3 { width: 66.66%; } /* .width-2:3 */
.position-1\3a 3 {margin-left: -66.66%;} /* .position-1:3 */
.position-2\3a 3 {margin-left: -33.33%;} /* .position-2:3 */

/* Full/leftmost are useful synonyms for full width and leftmost positioning */
.position-leftmost { margin-left: -100% }
.width-full { width: 100% }

0 comments on commit 3d33db9

Please sign in to comment.