Grids
The basic grid uses percentage widths, with classes pre set for: 5%, 10%, 20%, 25%, 30%, 40%, 50%, 60%, 70%, 75%, 80%, 90% and 100%, as well as quarter, half, three-quarters, full, one-third and two-thirds.
However with the use of the mixin you can use any percentage width you like. Columns that exceed a total width of 100% will just flow onto the next line.
Grid classes are now turned off by default to encourage you to use flexbox and css grids.
Grid columns can also be reversed by using the `.grid-col-rev` class to make them float right.
Offset columns also use percentages and can be applied to both standard and reverse columns.
Grid columns can have different sizes for different breakpoints, and all grids gutters are responsive and adjust size depending on break points.
xs: 100%
sm: 80%
md: 60%
lg: 40%
xl: 20%
xs: 100%
sm: 20%
md: 40%
lg: 60%
xl: 80%
You can easily nest grids by including a new `.grid-row` and `.grid-col` set inside any other grid column.
Containers
To work cleanly grids do need to be placed inside a container. Containers are percentage widths and can be changed at any breakpoint. Fluid containers are always 100% of the screens width.
Typography
Headings
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Heading with link
Paragraphs
All type by default, and anything that uses ems & rems for sizes will be effected by the Fluid Type styles. This means that as the screen size increases, so does the font sizes.
Type blocks may also be wrapped with a `.reading-length` class to keep the line length from exceeding an acceptable length—roughly 30–40em's.
Text alignment can be changed at different break points. This text is left aligned as size XS, centre aligned and size MD, and right aligned at size XL.
Block & Pull Quotes
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
Lorem Ipsum is simply dummy text of the printing and typesetting industry
Horizontal Rules
Lists
Default Un-ordered List:
- List item
- List item link
-
Nested:
- Nested list item
- Nested list item link
Default Ordered List:
- List item
- List item link
-
Nested:
- Nested list item
- Nested list item link
Un-styled List:
- List unstyled
- List item link
Un-styled & Inline List:
- List inline
- List item link
Default Definition List:
- Title:
- This is a title
- Title:
- This is a title
Un-styled Definition List:
- Title:
- This is a title
- Title:
- This is a title
Un-styled & Inline Definition List:
- Title:
- This is a title
- Title:
- Lorem Ipsum is simply dummy text of the print*ing and typesetting industry. *Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Tables
Tables should be used for tabular data, so by default all tables will have basic styles that make them function better.
All tables are responsive and will collapse down into a list-like style on small screen sizes. To include a header for each cell add a title attribute to the td element.
Default:
Table Heading 1 | Table Heading 2 | Table Heading 3 |
---|---|---|
Table data 1 with a lot more text than the other columns to show some unevenness. | Table data 2 | Table data 3 |
Table data 1 | Table data 2 | Table data 3 |
Table data 1 | Table data 2 | Table data 3 |
Footer cell 1 | Footer cell 2 |
Borders:
Table Heading 1 | Table Heading 2 | Table Heading 3 |
---|---|---|
Table data 1 | Table data 2 with a lot more text than the other columns to show some unevenness. | Table data 3 |
Table data 1 | Table data 2 | Table data 3 |
Table data 1 | Table data 2 | Table data 3 |
Footer cell 1 | Footer cell 2 |
Table Heading 1 | Table Heading 2 | Table Heading 3 |
---|---|---|
Table data 1 | Table data 2 | Table data 3 with a lot more text than the other columns to show some unevenness. |
Table data 1 | Table data 2 | Table data 3 |
Table data 1 | Table data 2 | Table data 3 |
Footer cell 1 | Footer cell 2 |
Table Heading 1 | Table Heading 2 | Table Heading 3 |
---|---|---|
Table data 1 | Table data 2 | Table data 3 |
Table data 1 with a lot more text than the other columns to show some unevenness. | Table data 2 | Table data 3 |
Table data 1 | Table data 2 | Table data 3 |
Footer cell 1 | Footer cell 2 |
Stripes:
Table Heading 1 | Table Heading 2 | Table Heading 3 |
---|---|---|
Table data 1 | Table data 2 | Table data 3 |
Table data 1 | Table data 2 with a lot more text than the other columns to show some unevenness. | Table data 3 |
Table data 1 | Table data 2 | Table data 3 |
Footer cell 1 | Footer cell 2 |
Borders & Stripes:
Table Heading 1 | Table Heading 2 | Table Heading 3 |
---|---|---|
Table data 1 | Table data 2 | Table data 3 |
Table data 1 | Table data 2 | Table data 3 with a lot more text than the other columns to show some unevenness. |
Table data 1 | Table data 2 | Table data 3 |
Footer cell 1 | Footer cell 2 |