From cd5e47050806d3cde9fe76e1b34cff8115366f52 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 21 Oct 2016 00:59:27 +0200 Subject: [PATCH] Add section object with larger margin --- website/_includes/_mixins/_base.jade | 2 +- website/assets/css/_base/_objects.sass | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/website/_includes/_mixins/_base.jade b/website/_includes/_mixins/_base.jade index 4ab081daa..4d8d7c571 100644 --- a/website/_includes/_mixins/_base.jade +++ b/website/_includes/_mixins/_base.jade @@ -14,7 +14,7 @@ mixin a(url, trusted) block - section content (block and inline elements) mixin section(id) - section.o-block(id=(id) ? 'section-' + id : '')&attributes(attributes) + section.o-section(id=(id) ? 'section-' + id : '')&attributes(attributes) block diff --git a/website/assets/css/_base/_objects.sass b/website/assets/css/_base/_objects.sass index 914a372c7..87f265f40 100644 --- a/website/assets/css/_base/_objects.sass +++ b/website/assets/css/_base/_objects.sass @@ -45,6 +45,9 @@ .o-block-small margin-bottom: 2rem +.o-section + margin-bottom: 12.5rem + .o-responsive overflow: auto width: 100%