Use .panel-container on base template
This commit is contained in:
parent
4425d37cb0
commit
116b731edc
@ -9,6 +9,11 @@
|
|||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
border-top-style: solid;
|
border-top-style: solid;
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
|
margin-bottom: $site-margins-mobile * 2;
|
||||||
|
|
||||||
|
@include media($medium-screen) {
|
||||||
|
margin-bottom: $site-margins * 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin panel-theme-default {
|
@mixin panel-theme-default {
|
||||||
@ -20,3 +25,22 @@
|
|||||||
@include panel-base;
|
@include panel-base;
|
||||||
@include panel-theme-default;
|
@include panel-theme-default;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Panel Container
|
||||||
|
* Grid container for panel blocks
|
||||||
|
*/
|
||||||
|
|
||||||
|
.panel-container {
|
||||||
|
@include grid-row;
|
||||||
|
@include grid-pad;
|
||||||
|
@include margin(($site-margins-mobile * 2) null);
|
||||||
|
|
||||||
|
@include media($medium-screen) {
|
||||||
|
@include margin(($site-margins * 2) null);
|
||||||
|
}
|
||||||
|
|
||||||
|
> .col {
|
||||||
|
@include grid-pad;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -1,11 +1,3 @@
|
|||||||
.container {
|
|
||||||
@include margin(($site-margins-mobile * 2) null);
|
|
||||||
|
|
||||||
@include media($medium-screen) {
|
|
||||||
@include margin(($site-margins * 2) null);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
section {
|
||||||
margin-bottom: 10rem;
|
margin-bottom: 10rem;
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
{% include 'header.html.to' %}
|
{% include 'header.html.to' %}
|
||||||
|
|
||||||
<div class='container'>
|
<div class='panel-container'>
|
||||||
{% block content %}
|
{% block content %}
|
||||||
these are not the droids you are looking for
|
these are not the droids you are looking for
|
||||||
{% end %}
|
{% end %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user