solid v3 setup, wip
This commit is contained in:
parent
b02b2f2519
commit
7e87836ada
62 changed files with 665 additions and 4867 deletions
32
assets/styles/vendor/simple-grid/_mixins.scss
vendored
Normal file
32
assets/styles/vendor/simple-grid/_mixins.scss
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
/**
|
||||
* Grid loop mixin
|
||||
*/
|
||||
|
||||
@mixin grid-loop($name){
|
||||
@for $i from 0 through $grid-columns {
|
||||
@if $i != 0 {
|
||||
.col--#{$name}-#{$i} {
|
||||
width: percentage($i/$grid-columns);
|
||||
}
|
||||
}
|
||||
.col--#{$name}-offset-#{$i} {
|
||||
margin-left: percentage($i/$grid-columns);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Clearfix
|
||||
*/
|
||||
|
||||
@mixin clearfix {
|
||||
&:before,
|
||||
&:after {
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue