diff --git a/_config.yml b/_config.yml index fb2aca0..ff465e1 100644 --- a/_config.yml +++ b/_config.yml @@ -7,11 +7,13 @@ permalink: pretty # Server source: docs -url: http://lucasgruwez.github.io/waffle-grid +url: http://lucasgruwez.github.io +baseurl: /waffle-grid encoding: UTF-8 # Custom vars -current_version: 1.0.0 +version: v1.2.0 repo: https://github.com/lucasgruwez/waffle-grid - -download: https://github.com/lucasgruwez/waffle-grid/releases/download/v1.0.0/waffle-grid.min.css +download: https://github.com/lucasgruwez/waffle-grid/releases/download/v1.2.0/waffle-grid.min.css +cdn: https://unpkg.com/waffle-grid@1.2.0 +docs: https://github.com/lucasgruwez/waffle-grid/wiki diff --git a/dist/waffle-grid.css b/dist/waffle-grid.css index 537f414..aa0ed17 100644 --- a/dist/waffle-grid.css +++ b/dist/waffle-grid.css @@ -18,320 +18,427 @@ display: flex; -ms-flex-direction: row; flex-direction: row; - margin-top: 20px; } + width: 100%; + -ms-flex-wrap: wrap; + flex-wrap: wrap; } .col { box-sizing: border-box; - padding-left: 20px; + margin: 10px; vertical-align: top; } -.full-width, .row, .col-4-of-4, .col-8-of-8, .col-12-of-12 { - width: 100%; } - -.half-width, .col-2-of-4, .col-4-of-8, .col-6-of-12 { - width: 50%; } - -.one-third, .col-4-of-12 { - width: 33.33333%; } - -.two-thirds, .col-8-of-12 { - width: 66.66667%; } - -.one-quarter, .col-1-of-4, .col-2-of-8, .col-3-of-12 { - width: 25%; } - -.two-quarters { - width: 50%; } - -.three-quarters, .col-3-of-4, .col-6-of-8, .col-9-of-12 { - width: 75%; } - -.push-full-width, .push-4-of-4, .push-8-of-8, .push-12-of-12 { - margin-left: 100%; } +.center { + margin-left: auto; + margin-right: auto; } -.push-one-half, .push-2-of-4, .push-4-of-8, .push-6-of-12 { - margin-left: 50%; } +.left { + margin-right: auto; } -.push-one-third, .push-4-of-12 { - margin-left: 33.33333%; } +.right { + margin-left: auto; } -.push-two-thirds, .push-8-of-12 { - margin-left: 66.66667%; } +.col-1-of-4 { + width: calc(25% - 20px); } -.push-one-quarter, .push-1-of-4, .push-2-of-8, .push-3-of-12 { - margin-left: 25%; } +.push-1-of-4 { + margin-left: calc(25% + 20px / 2); } -.push-two-quarters { - margin-left: 50%; } +.pull-1-of-4 { + margin-right: calc(25% + 20px / 2); } -.push-three-quarters, .push-3-of-4, .push-6-of-8, .push-9-of-12 { - margin-left: 75%; } +.col-2-of-4 { + width: calc(50% - 20px); } -.pull-full-width, .pull-4-of-4, .pull-8-of-8, .pull-12-of-12 { - margin-right: 100%; } +.push-2-of-4 { + margin-left: calc(50% + 20px / 2); } -.pull-one-half, .pull-2-of-4, .pull-4-of-8, .pull-6-of-12 { - margin-right: 50%; } +.pull-2-of-4 { + margin-right: calc(50% + 20px / 2); } -.pull-one-third, .pull-4-of-12 { - margin-right: 33.33333%; } +.col-3-of-4 { + width: calc(75% - 20px); } -.pull-two-thirds, .pull-8-of-12 { - margin-right: 66.66667%; } +.push-3-of-4 { + margin-left: calc(75% + 20px / 2); } -.pull-one-quarter, .pull-1-of-4, .pull-2-of-8, .pull-3-of-12 { - margin-right: 25%; } +.pull-3-of-4 { + margin-right: calc(75% + 20px / 2); } -.pull-two-quarters { - margin-right: 50%; } +.col-4-of-4 { + width: calc(100% - 20px); } -.pull-three-quarters, .pull-3-of-4, .pull-6-of-8, .pull-9-of-12 { - margin-right: 75%; } +.push-4-of-4 { + margin-left: calc(100% + 20px / 2); } -.center { - margin-left: auto; - margin-right: auto; } +.pull-4-of-4 { + margin-right: calc(100% + 20px / 2); } .col-1-of-8 { - width: 12.5%; } + width: calc(12.5% - 20px); } .push-1-of-8 { - margin-left: 12.5%; } + margin-left: calc(12.5% + 20px / 2); } .pull-1-of-8 { - margin-left: -12.5%; } + margin-right: calc(12.5% + 20px / 2); } + +.col-2-of-8 { + width: calc(25% - 20px); } + +.push-2-of-8 { + margin-left: calc(25% + 20px / 2); } + +.pull-2-of-8 { + margin-right: calc(25% + 20px / 2); } .col-3-of-8 { - width: 37.5%; } + width: calc(37.5% - 20px); } .push-3-of-8 { - margin-left: 37.5%; } + margin-left: calc(37.5% + 20px / 2); } .pull-3-of-8 { - margin-left: -37.5%; } + margin-right: calc(37.5% + 20px / 2); } + +.col-4-of-8 { + width: calc(50% - 20px); } + +.push-4-of-8 { + margin-left: calc(50% + 20px / 2); } + +.pull-4-of-8 { + margin-right: calc(50% + 20px / 2); } .col-5-of-8 { - width: 62.5%; } + width: calc(62.5% - 20px); } .push-5-of-8 { - margin-left: 62.5%; } + margin-left: calc(62.5% + 20px / 2); } .pull-5-of-8 { - margin-left: -62.5%; } + margin-right: calc(62.5% + 20px / 2); } + +.col-6-of-8 { + width: calc(75% - 20px); } + +.push-6-of-8 { + margin-left: calc(75% + 20px / 2); } + +.pull-6-of-8 { + margin-right: calc(75% + 20px / 2); } .col-7-of-8 { - width: 87.5%; } + width: calc(87.5% - 20px); } .push-7-of-8 { - margin-left: 87.5%; } + margin-left: calc(87.5% + 20px / 2); } .pull-7-of-8 { - margin-left: -87.5%; } + margin-right: calc(87.5% + 20px / 2); } + +.col-8-of-8 { + width: calc(100% - 20px); } + +.push-8-of-8 { + margin-left: calc(100% + 20px / 2); } + +.pull-8-of-8 { + margin-right: calc(100% + 20px / 2); } .col-1-of-12 { - width: 8.33333%; } + width: calc(8.33333% - 20px); } .push-1-of-12 { - margin-left: 8.33333%; } + margin-left: calc(8.33333% + 20px / 2); } .pull-1-of-12 { - margin-left: -8.33333%; } + margin-right: calc(8.33333% + 20px / 2); } .col-2-of-12 { - width: 16.66667%; } + width: calc(16.66667% - 20px); } .push-2-of-12 { - margin-left: 16.66667%; } + margin-left: calc(16.66667% + 20px / 2); } .pull-2-of-12 { - margin-left: -16.66667%; } + margin-right: calc(16.66667% + 20px / 2); } + +.col-3-of-12 { + width: calc(25% - 20px); } + +.push-3-of-12 { + margin-left: calc(25% + 20px / 2); } + +.pull-3-of-12 { + margin-right: calc(25% + 20px / 2); } + +.col-4-of-12 { + width: calc(33.33333% - 20px); } + +.push-4-of-12 { + margin-left: calc(33.33333% + 20px / 2); } + +.pull-4-of-12 { + margin-right: calc(33.33333% + 20px / 2); } .col-5-of-12 { - width: 41.66667%; } + width: calc(41.66667% - 20px); } .push-5-of-12 { - margin-left: 41.66667%; } + margin-left: calc(41.66667% + 20px / 2); } .pull-5-of-12 { - margin-left: -41.66667%; } + margin-right: calc(41.66667% + 20px / 2); } + +.col-6-of-12 { + width: calc(50% - 20px); } + +.push-6-of-12 { + margin-left: calc(50% + 20px / 2); } + +.pull-6-of-12 { + margin-right: calc(50% + 20px / 2); } .col-7-of-12 { - width: 58.33333%; } + width: calc(58.33333% - 20px); } .push-7-of-12 { - margin-left: 58.33333%; } + margin-left: calc(58.33333% + 20px / 2); } .pull-7-of-12 { - margin-left: -58.33333%; } + margin-right: calc(58.33333% + 20px / 2); } + +.col-8-of-12 { + width: calc(66.66667% - 20px); } + +.push-8-of-12 { + margin-left: calc(66.66667% + 20px / 2); } + +.pull-8-of-12 { + margin-right: calc(66.66667% + 20px / 2); } + +.col-9-of-12 { + width: calc(75% - 20px); } + +.push-9-of-12 { + margin-left: calc(75% + 20px / 2); } + +.pull-9-of-12 { + margin-right: calc(75% + 20px / 2); } .col-10-of-12 { - width: 83.33333%; } + width: calc(83.33333% - 20px); } .push-10-of-12 { - margin-left: 83.33333%; } + margin-left: calc(83.33333% + 20px / 2); } .pull-10-of-12 { - margin-left: -83.33333%; } + margin-right: calc(83.33333% + 20px / 2); } .col-11-of-12 { - width: 91.66667%; } + width: calc(91.66667% - 20px); } .push-11-of-12 { - margin-left: 91.66667%; } + margin-left: calc(91.66667% + 20px / 2); } .pull-11-of-12 { - margin-left: -91.66667%; } + margin-right: calc(91.66667% + 20px / 2); } + +.col-12-of-12 { + width: calc(100% - 20px); } + +.push-12-of-12 { + margin-left: calc(100% + 20px / 2); } + +.pull-12-of-12 { + margin-right: calc(100% + 20px / 2); } @media (max-width: 840px) { - .m-vertical { - -ms-flex-direction: column; - flex-direction: column; } + .l-only { + display: none; } .m-hide { display: none; } - .m-full-width, .col-m-2-of-2, .col-m-4-of-4, .col-m-6-of-6, .col-m-8-of-8 { - width: 100%; } - .m-half-width, .col-m-1-of-2, .col-m-2-of-4, .col-m-3-of-6, .col-m-4-of-8 { - width: 50%; } - .m-one-third, .col-m-2-of-6 { - width: 33.33333%; } - .m-two-thirds, .col-m-4-of-6 { - width: 66.66667%; } - .m-one-quarter, .col-m-1-of-4, .col-m-2-of-8 { - width: 25%; } - .m-two-quarters { - width: 50%; } - .m-three-quarters, .col-m-3-of-4, .col-m-6-of-8 { - width: 75%; } - .push-m-full-width, .push-m-2-of-2, .push-m-4-of-4, .push-m-6-of-6, .push-m-8-of-8 { - margin-left: 100%; } - .push-m-one-half, .push-m-1-of-2, .push-m-2-of-4, .push-m-3-of-6, .push-m-4-of-8 { - margin-left: 50%; } - .push-m-one-third, .push-m-2-of-6 { - margin-left: 33.33333%; } - .push-m-two-thirds, .push-m-4-of-6 { - margin-left: 66.66667%; } - .push-m-one-quarter, .push-m-1-of-4, .push-m-2-of-8 { - margin-left: 25%; } - .push-m-two-quarters { - margin-left: 50%; } - .push-m-three-quarters, .push-m-3-of-4, .push-m-6-of-8 { - margin-left: 75%; } - .pull-m-full-width, .pull-m-2-of-2, .pull-m-4-of-4, .pull-m-6-of-6, .pull-m-8-of-8 { - margin-right: 100%; } - .pull-m-one-half, .pull-m-1-of-2, .pull-m-2-of-4, .pull-m-3-of-6, .pull-m-4-of-8 { - margin-right: 50%; } - .pull-m-one-third, .pull-m-2-of-6 { - margin-right: 33.33333%; } - .pull-m-two-thirds, .pull-m-4-of-6 { - margin-right: 66.66667%; } - .pull-m-one-quarter, .pull-m-1-of-4, .pull-m-2-of-8 { - margin-right: 25%; } - .pull-m-two-quarters { - margin-right: 50%; } - .pull-m-three-quarters, .pull-m-3-of-4, .pull-m-6-of-8 { - margin-right: 75%; } + .col-m-1-of-4 { + width: calc(25% - 20px); } + .push-m-1-of-4 { + margin-left: calc(25% + 20px / 2); } + .pull-m-1-of-4 { + margin-right: calc(25% + 20px / 2); } + .col-m-2-of-4 { + width: calc(50% - 20px); } + .push-m-2-of-4 { + margin-left: calc(50% + 20px / 2); } + .pull-m-2-of-4 { + margin-right: calc(50% + 20px / 2); } + .col-m-3-of-4 { + width: calc(75% - 20px); } + .push-m-3-of-4 { + margin-left: calc(75% + 20px / 2); } + .pull-m-3-of-4 { + margin-right: calc(75% + 20px / 2); } + .col-m-4-of-4 { + width: calc(100% - 20px); } + .push-m-4-of-4 { + margin-left: calc(100% + 20px / 2); } + .pull-m-4-of-4 { + margin-right: calc(100% + 20px / 2); } .col-m-1-of-6 { - width: 16.66667%; } + width: calc(16.66667% - 20px); } .push-m-1-of-6 { - margin-left: 16.66667%; } + margin-left: calc(16.66667% + 20px / 2); } .pull-m-1-of-6 { - margin-left: 16.66667%; } + margin-right: calc(16.66667% + 20px / 2); } + .col-m-2-of-6 { + width: calc(33.33333% - 20px); } + .push-m-2-of-6 { + margin-left: calc(33.33333% + 20px / 2); } + .pull-m-2-of-6 { + margin-right: calc(33.33333% + 20px / 2); } + .col-m-3-of-6 { + width: calc(50% - 20px); } + .push-m-3-of-6 { + margin-left: calc(50% + 20px / 2); } + .pull-m-3-of-6 { + margin-right: calc(50% + 20px / 2); } + .col-m-4-of-6 { + width: calc(66.66667% - 20px); } + .push-m-4-of-6 { + margin-left: calc(66.66667% + 20px / 2); } + .pull-m-4-of-6 { + margin-right: calc(66.66667% + 20px / 2); } .col-m-5-of-6 { - width: 83.33333%; } + width: calc(83.33333% - 20px); } .push-m-5-of-6 { - margin-left: 83.33333%; } + margin-left: calc(83.33333% + 20px / 2); } .pull-m-5-of-6 { - margin-left: 83.33333%; } + margin-right: calc(83.33333% + 20px / 2); } + .col-m-6-of-6 { + width: calc(100% - 20px); } + .push-m-6-of-6 { + margin-left: calc(100% + 20px / 2); } + .pull-m-6-of-6 { + margin-right: calc(100% + 20px / 2); } .col-m-1-of-8 { - width: 12.5%; } + width: calc(12.5% - 20px); } .push-m-1-of-8 { - margin-left: 12.5%; } + margin-left: calc(12.5% + 20px / 2); } .pull-m-1-of-8 { - margin-left: 12.5%; } + margin-right: calc(12.5% + 20px / 2); } + .col-m-2-of-8 { + width: calc(25% - 20px); } + .push-m-2-of-8 { + margin-left: calc(25% + 20px / 2); } + .pull-m-2-of-8 { + margin-right: calc(25% + 20px / 2); } .col-m-3-of-8 { - width: 37.5%; } + width: calc(37.5% - 20px); } .push-m-3-of-8 { - margin-left: 37.5%; } + margin-left: calc(37.5% + 20px / 2); } .pull-m-3-of-8 { - margin-left: 37.5%; } + margin-right: calc(37.5% + 20px / 2); } + .col-m-4-of-8 { + width: calc(50% - 20px); } + .push-m-4-of-8 { + margin-left: calc(50% + 20px / 2); } + .pull-m-4-of-8 { + margin-right: calc(50% + 20px / 2); } .col-m-5-of-8 { - width: 62.5%; } + width: calc(62.5% - 20px); } .push-m-5-of-8 { - margin-left: 62.5%; } + margin-left: calc(62.5% + 20px / 2); } .pull-m-5-of-8 { - margin-left: 62.5%; } + margin-right: calc(62.5% + 20px / 2); } + .col-m-6-of-8 { + width: calc(75% - 20px); } + .push-m-6-of-8 { + margin-left: calc(75% + 20px / 2); } + .pull-m-6-of-8 { + margin-right: calc(75% + 20px / 2); } .col-m-7-of-8 { - width: 87.5%; } + width: calc(87.5% - 20px); } .push-m-7-of-8 { - margin-left: 87.5%; } + margin-left: calc(87.5% + 20px / 2); } .pull-m-7-of-8 { - margin-left: 87.5%; } } + margin-right: calc(87.5% + 20px / 2); } + .col-m-8-of-8 { + width: calc(100% - 20px); } + .push-m-8-of-8 { + margin-left: calc(100% + 20px / 2); } + .pull-m-8-of-8 { + margin-right: calc(100% + 20px / 2); } } @media (max-width: 480px) { - .s-vertical { - -ms-flex-direction: column; - flex-direction: column; } .s-hide { display: none; } - .s-full-width, .col-s-2-of-2, .col-s-4-of-4, .col-s-6-of-6 { - width: 100%; } - .s-half-width, .col-s-1-of-2, .col-s-2-of-4, .col-s-3-of-6 { - width: 50%; } - .s-one-third, .col-s-2-of-6 { - width: 33.33333%; } - .s-two-thirds, .col-s-4-of-6 { - width: 66.66667%; } - .s-one-quarter, .col-s-1-of-4 { - width: 25%; } - .s-two-quarters { - width: 50%; } - .s-three-quarters, .col-s-3-of-4 { - width: 75%; } - .push-s-full-width, .push-s-2-of-2, .push-s-4-of-4, .push-s-6-of-6 { - margin-left: 100%; } - .push-s-one-half, .push-s-1-of-2, .push-s-2-of-4, .push-s-3-of-6 { - margin-left: 50%; } - .push-s-one-third, .push-s-2-of-6 { - margin-left: 33.33333%; } - .push-s-two-thirds, .push-s-4-of-6 { - margin-left: 66.66667%; } - .push-s-one-quarter, .push-s-1-of-4 { - margin-left: 25%; } - .push-s-two-quarters { - margin-left: 50%; } - .push-s-three-quarters, .push-s-3-of-4 { - margin-left: 75%; } - .pull-s-full-width, .pull-s-2-of-2, .pull-s-4-of-4, .pull-s-6-of-6 { - margin-right: 100%; } - .pull-s-one-half, .pull-s-1-of-2, .pull-s-2-of-4, .pull-s-3-of-6 { - margin-right: 50%; } - .pull-s-one-third, .pull-s-2-of-6 { - margin-right: 33.33333%; } - .pull-s-two-thirds, .pull-s-4-of-6 { - margin-right: 66.66667%; } - .pull-s-one-quarter, .pull-s-1-of-4 { - margin-right: 25%; } - .pull-s-two-quarters { - margin-right: 50%; } - .pull-s-three-quarters, .pull-s-3-of-4 { - margin-right: 75%; } + .col-s-1-of-4 { + width: calc(25% - 20px); } + .push-s-1-of-4 { + margin-left: calc(25% + 20px / 2); } + .pull-s-1-of-4 { + margin-right: calc(25% + 20px / 2); } + .col-s-2-of-4 { + width: calc(50% - 20px); } + .push-s-2-of-4 { + margin-left: calc(50% + 20px / 2); } + .pull-s-2-of-4 { + margin-right: calc(50% + 20px / 2); } + .col-s-3-of-4 { + width: calc(75% - 20px); } + .push-s-3-of-4 { + margin-left: calc(75% + 20px / 2); } + .pull-s-3-of-4 { + margin-right: calc(75% + 20px / 2); } + .col-s-4-of-4 { + width: calc(100% - 20px); } + .push-s-4-of-4 { + margin-left: calc(100% + 20px / 2); } + .pull-s-4-of-4 { + margin-right: calc(100% + 20px / 2); } .col-s-1-of-6 { - width: 16.66667%; } + width: calc(16.66667% - 20px); } .push-s-1-of-6 { - margin-left: 16.66667%; } + margin-left: calc(16.66667% + 20px / 2); } .pull-s-1-of-6 { - margin-left: 16.66667%; } + margin-right: calc(16.66667% + 20px / 2); } + .col-s-2-of-6 { + width: calc(33.33333% - 20px); } + .push-s-2-of-6 { + margin-left: calc(33.33333% + 20px / 2); } + .pull-s-2-of-6 { + margin-right: calc(33.33333% + 20px / 2); } + .col-s-3-of-6 { + width: calc(50% - 20px); } + .push-s-3-of-6 { + margin-left: calc(50% + 20px / 2); } + .pull-s-3-of-6 { + margin-right: calc(50% + 20px / 2); } + .col-s-4-of-6 { + width: calc(66.66667% - 20px); } + .push-s-4-of-6 { + margin-left: calc(66.66667% + 20px / 2); } + .pull-s-4-of-6 { + margin-right: calc(66.66667% + 20px / 2); } .col-s-5-of-6 { - width: 83.33333%; } + width: calc(83.33333% - 20px); } .push-s-5-of-6 { - margin-left: 83.33333%; } + margin-left: calc(83.33333% + 20px / 2); } .pull-s-5-of-6 { - margin-left: 83.33333%; } } + margin-right: calc(83.33333% + 20px / 2); } + .col-s-6-of-6 { + width: calc(100% - 20px); } + .push-s-6-of-6 { + margin-left: calc(100% + 20px / 2); } + .pull-s-6-of-6 { + margin-right: calc(100% + 20px / 2); } } @media (min-width: 480px) { .s-only { + display: none; } + .s-and-lower { display: none; } } @media (min-width: 840px) { .m-only { + display: none; } + .m-and-lower { display: none; } } diff --git a/dist/waffle-grid.min.css b/dist/waffle-grid.min.css index 9407c0d..3c448b6 100644 --- a/dist/waffle-grid.min.css +++ b/dist/waffle-grid.min.css @@ -3,4 +3,4 @@ * Copyright 2017 Lucas Gruwez. * Licensed under MIT * https://lucasgruwez.github.io/waffle-grid - */.grid{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:960px;max-width:80%;margin:0 auto}.row{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;margin-top:20px}.col{box-sizing:border-box;padding-left:20px;vertical-align:top}.col-12-of-12,.col-4-of-4,.col-8-of-8,.full-width,.row{width:100%}.col-2-of-4,.col-4-of-8,.col-6-of-12,.half-width{width:50%}.col-4-of-12,.one-third{width:33.33333%}.col-8-of-12,.two-thirds{width:66.66667%}.col-1-of-4,.col-2-of-8,.col-3-of-12,.one-quarter{width:25%}.two-quarters{width:50%}.col-3-of-4,.col-6-of-8,.col-9-of-12,.three-quarters{width:75%}.push-12-of-12,.push-4-of-4,.push-8-of-8,.push-full-width{margin-left:100%}.push-2-of-4,.push-4-of-8,.push-6-of-12,.push-one-half{margin-left:50%}.push-4-of-12,.push-one-third{margin-left:33.33333%}.push-8-of-12,.push-two-thirds{margin-left:66.66667%}.push-1-of-4,.push-2-of-8,.push-3-of-12,.push-one-quarter{margin-left:25%}.push-two-quarters{margin-left:50%}.push-3-of-4,.push-6-of-8,.push-9-of-12,.push-three-quarters{margin-left:75%}.pull-12-of-12,.pull-4-of-4,.pull-8-of-8,.pull-full-width{margin-right:100%}.pull-2-of-4,.pull-4-of-8,.pull-6-of-12,.pull-one-half{margin-right:50%}.pull-4-of-12,.pull-one-third{margin-right:33.33333%}.pull-8-of-12,.pull-two-thirds{margin-right:66.66667%}.pull-1-of-4,.pull-2-of-8,.pull-3-of-12,.pull-one-quarter{margin-right:25%}.pull-two-quarters{margin-right:50%}.pull-3-of-4,.pull-6-of-8,.pull-9-of-12,.pull-three-quarters{margin-right:75%}.center{margin-left:auto;margin-right:auto}.col-1-of-8{width:12.5%}.push-1-of-8{margin-left:12.5%}.pull-1-of-8{margin-left:-12.5%}.col-3-of-8{width:37.5%}.push-3-of-8{margin-left:37.5%}.pull-3-of-8{margin-left:-37.5%}.col-5-of-8{width:62.5%}.push-5-of-8{margin-left:62.5%}.pull-5-of-8{margin-left:-62.5%}.col-7-of-8{width:87.5%}.push-7-of-8{margin-left:87.5%}.pull-7-of-8{margin-left:-87.5%}.col-1-of-12{width:8.33333%}.push-1-of-12{margin-left:8.33333%}.pull-1-of-12{margin-left:-8.33333%}.col-2-of-12{width:16.66667%}.push-2-of-12{margin-left:16.66667%}.pull-2-of-12{margin-left:-16.66667%}.col-5-of-12{width:41.66667%}.push-5-of-12{margin-left:41.66667%}.pull-5-of-12{margin-left:-41.66667%}.col-7-of-12{width:58.33333%}.push-7-of-12{margin-left:58.33333%}.pull-7-of-12{margin-left:-58.33333%}.col-10-of-12{width:83.33333%}.push-10-of-12{margin-left:83.33333%}.pull-10-of-12{margin-left:-83.33333%}.col-11-of-12{width:91.66667%}.push-11-of-12{margin-left:91.66667%}.pull-11-of-12{margin-left:-91.66667%}@media (max-width:840px){.m-vertical{-ms-flex-direction:column;flex-direction:column}.m-hide{display:none}.col-m-2-of-2,.col-m-4-of-4,.col-m-6-of-6,.col-m-8-of-8,.m-full-width{width:100%}.col-m-1-of-2,.col-m-2-of-4,.col-m-3-of-6,.col-m-4-of-8,.m-half-width{width:50%}.col-m-2-of-6,.m-one-third{width:33.33333%}.col-m-4-of-6,.m-two-thirds{width:66.66667%}.col-m-1-of-4,.col-m-2-of-8,.m-one-quarter{width:25%}.m-two-quarters{width:50%}.col-m-3-of-4,.col-m-6-of-8,.m-three-quarters{width:75%}.push-m-2-of-2,.push-m-4-of-4,.push-m-6-of-6,.push-m-8-of-8,.push-m-full-width{margin-left:100%}.push-m-1-of-2,.push-m-2-of-4,.push-m-3-of-6,.push-m-4-of-8,.push-m-one-half{margin-left:50%}.push-m-2-of-6,.push-m-one-third{margin-left:33.33333%}.push-m-4-of-6,.push-m-two-thirds{margin-left:66.66667%}.push-m-1-of-4,.push-m-2-of-8,.push-m-one-quarter{margin-left:25%}.push-m-two-quarters{margin-left:50%}.push-m-3-of-4,.push-m-6-of-8,.push-m-three-quarters{margin-left:75%}.pull-m-2-of-2,.pull-m-4-of-4,.pull-m-6-of-6,.pull-m-8-of-8,.pull-m-full-width{margin-right:100%}.pull-m-1-of-2,.pull-m-2-of-4,.pull-m-3-of-6,.pull-m-4-of-8,.pull-m-one-half{margin-right:50%}.pull-m-2-of-6,.pull-m-one-third{margin-right:33.33333%}.pull-m-4-of-6,.pull-m-two-thirds{margin-right:66.66667%}.pull-m-1-of-4,.pull-m-2-of-8,.pull-m-one-quarter{margin-right:25%}.pull-m-two-quarters{margin-right:50%}.pull-m-3-of-4,.pull-m-6-of-8,.pull-m-three-quarters{margin-right:75%}.col-m-1-of-6{width:16.66667%}.push-m-1-of-6{margin-left:16.66667%}.pull-m-1-of-6{margin-left:16.66667%}.col-m-5-of-6{width:83.33333%}.push-m-5-of-6{margin-left:83.33333%}.pull-m-5-of-6{margin-left:83.33333%}.col-m-1-of-8{width:12.5%}.push-m-1-of-8{margin-left:12.5%}.pull-m-1-of-8{margin-left:12.5%}.col-m-3-of-8{width:37.5%}.push-m-3-of-8{margin-left:37.5%}.pull-m-3-of-8{margin-left:37.5%}.col-m-5-of-8{width:62.5%}.push-m-5-of-8{margin-left:62.5%}.pull-m-5-of-8{margin-left:62.5%}.col-m-7-of-8{width:87.5%}.push-m-7-of-8{margin-left:87.5%}.pull-m-7-of-8{margin-left:87.5%}}@media (max-width:480px){.s-vertical{-ms-flex-direction:column;flex-direction:column}.s-hide{display:none}.col-s-2-of-2,.col-s-4-of-4,.col-s-6-of-6,.s-full-width{width:100%}.col-s-1-of-2,.col-s-2-of-4,.col-s-3-of-6,.s-half-width{width:50%}.col-s-2-of-6,.s-one-third{width:33.33333%}.col-s-4-of-6,.s-two-thirds{width:66.66667%}.col-s-1-of-4,.s-one-quarter{width:25%}.s-two-quarters{width:50%}.col-s-3-of-4,.s-three-quarters{width:75%}.push-s-2-of-2,.push-s-4-of-4,.push-s-6-of-6,.push-s-full-width{margin-left:100%}.push-s-1-of-2,.push-s-2-of-4,.push-s-3-of-6,.push-s-one-half{margin-left:50%}.push-s-2-of-6,.push-s-one-third{margin-left:33.33333%}.push-s-4-of-6,.push-s-two-thirds{margin-left:66.66667%}.push-s-1-of-4,.push-s-one-quarter{margin-left:25%}.push-s-two-quarters{margin-left:50%}.push-s-3-of-4,.push-s-three-quarters{margin-left:75%}.pull-s-2-of-2,.pull-s-4-of-4,.pull-s-6-of-6,.pull-s-full-width{margin-right:100%}.pull-s-1-of-2,.pull-s-2-of-4,.pull-s-3-of-6,.pull-s-one-half{margin-right:50%}.pull-s-2-of-6,.pull-s-one-third{margin-right:33.33333%}.pull-s-4-of-6,.pull-s-two-thirds{margin-right:66.66667%}.pull-s-1-of-4,.pull-s-one-quarter{margin-right:25%}.pull-s-two-quarters{margin-right:50%}.pull-s-3-of-4,.pull-s-three-quarters{margin-right:75%}.col-s-1-of-6{width:16.66667%}.push-s-1-of-6{margin-left:16.66667%}.pull-s-1-of-6{margin-left:16.66667%}.col-s-5-of-6{width:83.33333%}.push-s-5-of-6{margin-left:83.33333%}.pull-s-5-of-6{margin-left:83.33333%}}@media (min-width:480px){.s-only{display:none}}@media (min-width:840px){.m-only{display:none}} \ No newline at end of file + */.grid{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:960px;max-width:80%;margin:0 auto}.row{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.col{box-sizing:border-box;margin:10px;vertical-align:top}.center{margin-left:auto;margin-right:auto}.left{margin-right:auto}.right{margin-left:auto}.col-1-of-4{width:calc(25% - 20px)}.push-1-of-4{margin-left:calc(25% + 20px / 2)}.pull-1-of-4{margin-right:calc(25% + 20px / 2)}.col-2-of-4{width:calc(50% - 20px)}.push-2-of-4{margin-left:calc(50% + 20px / 2)}.pull-2-of-4{margin-right:calc(50% + 20px / 2)}.col-3-of-4{width:calc(75% - 20px)}.push-3-of-4{margin-left:calc(75% + 20px / 2)}.pull-3-of-4{margin-right:calc(75% + 20px / 2)}.col-4-of-4{width:calc(100% - 20px)}.push-4-of-4{margin-left:calc(100% + 20px / 2)}.pull-4-of-4{margin-right:calc(100% + 20px / 2)}.col-1-of-8{width:calc(12.5% - 20px)}.push-1-of-8{margin-left:calc(12.5% + 20px / 2)}.pull-1-of-8{margin-right:calc(12.5% + 20px / 2)}.col-2-of-8{width:calc(25% - 20px)}.push-2-of-8{margin-left:calc(25% + 20px / 2)}.pull-2-of-8{margin-right:calc(25% + 20px / 2)}.col-3-of-8{width:calc(37.5% - 20px)}.push-3-of-8{margin-left:calc(37.5% + 20px / 2)}.pull-3-of-8{margin-right:calc(37.5% + 20px / 2)}.col-4-of-8{width:calc(50% - 20px)}.push-4-of-8{margin-left:calc(50% + 20px / 2)}.pull-4-of-8{margin-right:calc(50% + 20px / 2)}.col-5-of-8{width:calc(62.5% - 20px)}.push-5-of-8{margin-left:calc(62.5% + 20px / 2)}.pull-5-of-8{margin-right:calc(62.5% + 20px / 2)}.col-6-of-8{width:calc(75% - 20px)}.push-6-of-8{margin-left:calc(75% + 20px / 2)}.pull-6-of-8{margin-right:calc(75% + 20px / 2)}.col-7-of-8{width:calc(87.5% - 20px)}.push-7-of-8{margin-left:calc(87.5% + 20px / 2)}.pull-7-of-8{margin-right:calc(87.5% + 20px / 2)}.col-8-of-8{width:calc(100% - 20px)}.push-8-of-8{margin-left:calc(100% + 20px / 2)}.pull-8-of-8{margin-right:calc(100% + 20px / 2)}.col-1-of-12{width:calc(8.33333% - 20px)}.push-1-of-12{margin-left:calc(8.33333% + 20px / 2)}.pull-1-of-12{margin-right:calc(8.33333% + 20px / 2)}.col-2-of-12{width:calc(16.66667% - 20px)}.push-2-of-12{margin-left:calc(16.66667% + 20px / 2)}.pull-2-of-12{margin-right:calc(16.66667% + 20px / 2)}.col-3-of-12{width:calc(25% - 20px)}.push-3-of-12{margin-left:calc(25% + 20px / 2)}.pull-3-of-12{margin-right:calc(25% + 20px / 2)}.col-4-of-12{width:calc(33.33333% - 20px)}.push-4-of-12{margin-left:calc(33.33333% + 20px / 2)}.pull-4-of-12{margin-right:calc(33.33333% + 20px / 2)}.col-5-of-12{width:calc(41.66667% - 20px)}.push-5-of-12{margin-left:calc(41.66667% + 20px / 2)}.pull-5-of-12{margin-right:calc(41.66667% + 20px / 2)}.col-6-of-12{width:calc(50% - 20px)}.push-6-of-12{margin-left:calc(50% + 20px / 2)}.pull-6-of-12{margin-right:calc(50% + 20px / 2)}.col-7-of-12{width:calc(58.33333% - 20px)}.push-7-of-12{margin-left:calc(58.33333% + 20px / 2)}.pull-7-of-12{margin-right:calc(58.33333% + 20px / 2)}.col-8-of-12{width:calc(66.66667% - 20px)}.push-8-of-12{margin-left:calc(66.66667% + 20px / 2)}.pull-8-of-12{margin-right:calc(66.66667% + 20px / 2)}.col-9-of-12{width:calc(75% - 20px)}.push-9-of-12{margin-left:calc(75% + 20px / 2)}.pull-9-of-12{margin-right:calc(75% + 20px / 2)}.col-10-of-12{width:calc(83.33333% - 20px)}.push-10-of-12{margin-left:calc(83.33333% + 20px / 2)}.pull-10-of-12{margin-right:calc(83.33333% + 20px / 2)}.col-11-of-12{width:calc(91.66667% - 20px)}.push-11-of-12{margin-left:calc(91.66667% + 20px / 2)}.pull-11-of-12{margin-right:calc(91.66667% + 20px / 2)}.col-12-of-12{width:calc(100% - 20px)}.push-12-of-12{margin-left:calc(100% + 20px / 2)}.pull-12-of-12{margin-right:calc(100% + 20px / 2)}@media (max-width:840px){.l-only{display:none}.m-hide{display:none}.col-m-1-of-4{width:calc(25% - 20px)}.push-m-1-of-4{margin-left:calc(25% + 20px / 2)}.pull-m-1-of-4{margin-right:calc(25% + 20px / 2)}.col-m-2-of-4{width:calc(50% - 20px)}.push-m-2-of-4{margin-left:calc(50% + 20px / 2)}.pull-m-2-of-4{margin-right:calc(50% + 20px / 2)}.col-m-3-of-4{width:calc(75% - 20px)}.push-m-3-of-4{margin-left:calc(75% + 20px / 2)}.pull-m-3-of-4{margin-right:calc(75% + 20px / 2)}.col-m-4-of-4{width:calc(100% - 20px)}.push-m-4-of-4{margin-left:calc(100% + 20px / 2)}.pull-m-4-of-4{margin-right:calc(100% + 20px / 2)}.col-m-1-of-6{width:calc(16.66667% - 20px)}.push-m-1-of-6{margin-left:calc(16.66667% + 20px / 2)}.pull-m-1-of-6{margin-right:calc(16.66667% + 20px / 2)}.col-m-2-of-6{width:calc(33.33333% - 20px)}.push-m-2-of-6{margin-left:calc(33.33333% + 20px / 2)}.pull-m-2-of-6{margin-right:calc(33.33333% + 20px / 2)}.col-m-3-of-6{width:calc(50% - 20px)}.push-m-3-of-6{margin-left:calc(50% + 20px / 2)}.pull-m-3-of-6{margin-right:calc(50% + 20px / 2)}.col-m-4-of-6{width:calc(66.66667% - 20px)}.push-m-4-of-6{margin-left:calc(66.66667% + 20px / 2)}.pull-m-4-of-6{margin-right:calc(66.66667% + 20px / 2)}.col-m-5-of-6{width:calc(83.33333% - 20px)}.push-m-5-of-6{margin-left:calc(83.33333% + 20px / 2)}.pull-m-5-of-6{margin-right:calc(83.33333% + 20px / 2)}.col-m-6-of-6{width:calc(100% - 20px)}.push-m-6-of-6{margin-left:calc(100% + 20px / 2)}.pull-m-6-of-6{margin-right:calc(100% + 20px / 2)}.col-m-1-of-8{width:calc(12.5% - 20px)}.push-m-1-of-8{margin-left:calc(12.5% + 20px / 2)}.pull-m-1-of-8{margin-right:calc(12.5% + 20px / 2)}.col-m-2-of-8{width:calc(25% - 20px)}.push-m-2-of-8{margin-left:calc(25% + 20px / 2)}.pull-m-2-of-8{margin-right:calc(25% + 20px / 2)}.col-m-3-of-8{width:calc(37.5% - 20px)}.push-m-3-of-8{margin-left:calc(37.5% + 20px / 2)}.pull-m-3-of-8{margin-right:calc(37.5% + 20px / 2)}.col-m-4-of-8{width:calc(50% - 20px)}.push-m-4-of-8{margin-left:calc(50% + 20px / 2)}.pull-m-4-of-8{margin-right:calc(50% + 20px / 2)}.col-m-5-of-8{width:calc(62.5% - 20px)}.push-m-5-of-8{margin-left:calc(62.5% + 20px / 2)}.pull-m-5-of-8{margin-right:calc(62.5% + 20px / 2)}.col-m-6-of-8{width:calc(75% - 20px)}.push-m-6-of-8{margin-left:calc(75% + 20px / 2)}.pull-m-6-of-8{margin-right:calc(75% + 20px / 2)}.col-m-7-of-8{width:calc(87.5% - 20px)}.push-m-7-of-8{margin-left:calc(87.5% + 20px / 2)}.pull-m-7-of-8{margin-right:calc(87.5% + 20px / 2)}.col-m-8-of-8{width:calc(100% - 20px)}.push-m-8-of-8{margin-left:calc(100% + 20px / 2)}.pull-m-8-of-8{margin-right:calc(100% + 20px / 2)}}@media (max-width:480px){.s-hide{display:none}.col-s-1-of-4{width:calc(25% - 20px)}.push-s-1-of-4{margin-left:calc(25% + 20px / 2)}.pull-s-1-of-4{margin-right:calc(25% + 20px / 2)}.col-s-2-of-4{width:calc(50% - 20px)}.push-s-2-of-4{margin-left:calc(50% + 20px / 2)}.pull-s-2-of-4{margin-right:calc(50% + 20px / 2)}.col-s-3-of-4{width:calc(75% - 20px)}.push-s-3-of-4{margin-left:calc(75% + 20px / 2)}.pull-s-3-of-4{margin-right:calc(75% + 20px / 2)}.col-s-4-of-4{width:calc(100% - 20px)}.push-s-4-of-4{margin-left:calc(100% + 20px / 2)}.pull-s-4-of-4{margin-right:calc(100% + 20px / 2)}.col-s-1-of-6{width:calc(16.66667% - 20px)}.push-s-1-of-6{margin-left:calc(16.66667% + 20px / 2)}.pull-s-1-of-6{margin-right:calc(16.66667% + 20px / 2)}.col-s-2-of-6{width:calc(33.33333% - 20px)}.push-s-2-of-6{margin-left:calc(33.33333% + 20px / 2)}.pull-s-2-of-6{margin-right:calc(33.33333% + 20px / 2)}.col-s-3-of-6{width:calc(50% - 20px)}.push-s-3-of-6{margin-left:calc(50% + 20px / 2)}.pull-s-3-of-6{margin-right:calc(50% + 20px / 2)}.col-s-4-of-6{width:calc(66.66667% - 20px)}.push-s-4-of-6{margin-left:calc(66.66667% + 20px / 2)}.pull-s-4-of-6{margin-right:calc(66.66667% + 20px / 2)}.col-s-5-of-6{width:calc(83.33333% - 20px)}.push-s-5-of-6{margin-left:calc(83.33333% + 20px / 2)}.pull-s-5-of-6{margin-right:calc(83.33333% + 20px / 2)}.col-s-6-of-6{width:calc(100% - 20px)}.push-s-6-of-6{margin-left:calc(100% + 20px / 2)}.pull-s-6-of-6{margin-right:calc(100% + 20px / 2)}}@media (min-width:480px){.s-only{display:none}.s-and-lower{display:none}}@media (min-width:840px){.m-only{display:none}.m-and-lower{display:none}} \ No newline at end of file diff --git a/docs/404.html b/docs/404.html index 69bdcd5..7de2eda 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1,134 +1,13 @@ --- canonical: 404.html +layout: html +titl: Error 404 --- - - - - - - Error 404 - - - - - - -
- -
- Waffle logo -

404

-

Something didn't quite go as planned...

-

Back to the homepage

-
-
- - +
+
+ Waffle logo +

404

+

Something didn't quite go as planned...

+

Back to the homepage

+
+
diff --git a/docs/_includes/example.html b/docs/_includes/example.html index 464db0d..9f4a804 100644 --- a/docs/_includes/example.html +++ b/docs/_includes/example.html @@ -19,10 +19,10 @@
-
-
+
+
-
+
@@ -36,7 +36,7 @@
-
+
@@ -50,8 +50,8 @@
-
-
+
+
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index 72cc702..b2f6f2e 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -1,7 +1,7 @@