From dd40871042b5272e33566aa676161d9093fde66d Mon Sep 17 00:00:00 2001 From: Luis Date: Sat, 17 Jun 2017 13:49:56 +0200 Subject: [PATCH] new width column --- docs/css/main.scss | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/css/main.scss b/docs/css/main.scss index 808d415..857805d 100755 --- a/docs/css/main.scss +++ b/docs/css/main.scss @@ -92,7 +92,7 @@ $baseurl: '{{ site.baseurl }}/images'; } p { - margin: 0 0 _size(element-margin) 0; + margin: 0 auto _size(element-margin) auto; } h1, h2, h3, h4, h5, h6 { @@ -209,6 +209,7 @@ $baseurl: '{{ site.baseurl }}/images'; text-align: right; } + /* Section/Article */ section, article { @@ -1227,7 +1228,7 @@ $baseurl: '{{ site.baseurl }}/images'; @include padding(6em, 0); > .inner { - width: 45em; + width: 55em; margin: 0 auto; @include breakpoint(large) { @@ -1237,6 +1238,17 @@ $baseurl: '{{ site.baseurl }}/images'; @include breakpoint(medium) { width: 100%; } + > p { + width: 45em; + + @include breakpoint(large) { + width: 90%; + } + + @include breakpoint(medium) { + width: 100%; + } + } } &.alt {