Skip to content

Commit

Permalink
Added 30% columns.
Browse files Browse the repository at this point in the history
  • Loading branch information
hefler committed Oct 2, 2019
1 parent ee6687f commit ece21ea
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions dist/z-grid.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ A copy of the GNU General Public License can be found at
.colflex-10p.z-grid-column:not(:last-of-type) {
width: calc(10% - 20px); }

/*Extra sizes*/
.colflex-30p {
width: 30%; }
.colflex-30p.z-grid-column:not(:last-of-type) {
width: calc(30% - 20px); }

.z-grid-column[class^="singlet-"], .z-grid-column[class*=" singlet-"] {
width: 100%;
float: none;
Expand Down
2 changes: 1 addition & 1 deletion dist/z-grid.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "z-grid",
"version": "1.2.2",
"version": "1.2.3",
"description": "Z-Grid is a simple CSS flexible grid inspired(ish) by flexbox model using the calc() function.",
"scripts": {
"build": "node-sass --include-path src src/z-grid.scss dist/z-grid.css | node-sass --include-path src --output-style compressed src/z-grid.scss dist/z-grid.min.css"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ Check `example.html` for a quick look about **z-grid** usage.
## Compiling
Install all the dev dependencies and run `npm run-script build` to compile the SCSS files.

*Copyright (c) 2018 Felipe Hefler/Zoopit AS. Z-Grid is distributed under the terms of the GNU General Public License version 3.*
*Copyright (c) 2019 Felipe Hefler/Zoopit AS. Z-Grid is distributed under the terms of the GNU General Public License version 3.*
2 changes: 2 additions & 0 deletions src/z-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ A copy of the GNU General Public License can be found at
@include createPercentageColumn(40);
@include createPercentageColumn(20);
@include createPercentageColumn(10);
/*Extra sizes*/
@include createPercentageColumn(30);

.z-grid-column[class^="singlet-"], .z-grid-column[class*=" singlet-"] {
width: 100%;
Expand Down

0 comments on commit ece21ea

Please sign in to comment.