Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Maze

Maze is a responsive grid built using Sass and HTML5, the grid is easily customisable with editable options for grid columns, gutter widths, break points and push values. Each content block reacts differently allowing for all content types and devices.

Support

If you have any questions get in touch:

Features

  • Semantic markup.
  • Cross-browser compatible (Chrome, Firefox, IE9+, Safari, polyfills can be added for ie8 and 7).
  • Configurable column layout, Traditional & Ratio.
  • Configurable breakpoints.
  • Configurable gutter.
  • Optional push values.

Guide

Include the grid mixin on each element in a row, adding up to the $$total-grid-columns variable.

@include grid(3)  -  spans 3 columns of $total-grid-columns
@include grid(6)  -  spans 6 columns of $total-grid-columns

Grid Ratio:

When the design does not fit a traditional coloum layout ratios can be used to create the grid. the $grid-size mixin argument overrides the $total-grid-columns variable.

@include grid(2, $grid-size:5); - Size Two of Five
@include grid(3, $grid-size:5); - Size Three of Five

Margin:

The grid’s default margin is set using the $gutter variable. To override this on any row add a value to the optional argument in the mixin…

@include grid(8, $margin:0) or
@include grid(8, $margin:4%)

Note: The margin needs to be consistent across each row.

Breakpoints:

Breakpoints are included in the same way as the main grid...

 @include grid(3)            - Desktop spans 3 columns of $total-grid-columns
 @include break(tablet, 6);  - Tablet spans 6 columns of $total-grid-columns
 @include break(mobile, 12);   - Mobile spans 12 columns of $total-grid-columns

Fold/Float Direction:

By default columns will float left and collapse from the right hand side of the page. To change this to right floated columns which collapse from the left add the value ’right’ to the optional argument in the grid mixin..

grid(3, $fold:"right"); - spans 3 columns is floated Right and will collapse from the left

Push:

.push-two {
  @include grid(2, $push:2); - Add two column spans to the margin.
}

Log

  • V1.0.1 (14/01/2014) - Upload first version for testing.
  • V1.0.2 (19/01/2014) - Reastructure Sass folder.
  • V1.1.0 (30/03/2014) - Add option to collapse columns from the left.
  • V1.1.1 (20/05/2014) - Adjust the Push code, Add default vertical scroll bar and min width property.
  • V1.1.2 (29/06/2014) - Add the option to over-ride the default margin variable in an optional argument.
  • V2.0.1 (02/02/2015) - Add the option to use grid ratios as well as traditional column layouts.

License

The MIT License (MIT)

Copyright (c) [2014] [Cathy Dutton]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Maze - Responsive Sass Framework

Resources

Releases

No releases published

Packages

No packages published