Vulcan/packages/telescope-theme-hubble/lib/client/sass/partials/_grid.scss

52 lines
850 B
SCSS
Raw Normal View History

2014-07-09 09:46:24 +09:00
$grid-unit:70px;
$grid-margin:10px;
$grid-padding:15px;
$break-small:500px;
$small-break: 30em;
$medium-break: 50em;
@mixin small(){
@media screen and (max-width: $small-break) {
@content;
}
}
@mixin small-medium(){
@media screen and (max-width: $medium-break) {
@content;
}
}
@mixin medium(){
@media screen and (min-width: $small-break) and (max-width: $medium-break) {
@content;
}
}
@mixin medium-large(){
@media screen and (min-width: $small-break) {
@content;
}
}
@mixin large(){
@media screen and (min-width: $medium-break) {
@content;
}
}
2012-08-25 11:20:17 +09:00
2014-07-09 09:46:24 +09:00
.content-wrapper{
padding: 0 10px;
}
.inner-wrapper{
position: relative;
@include single-transition(all, 300ms, 0ms, ease-out);
}
2012-08-25 11:20:17 +09:00
.grid{
2014-07-09 09:46:24 +09:00
width:100%;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
2012-08-25 11:20:17 +09:00
}
.grid-small{
width:320px;
margin:0 auto;
}