From a701ea74a863d6cb312727ecc6a1c63a4ec40737 Mon Sep 17 00:00:00 2001 From: luissevillano Date: Mon, 19 Jun 2017 12:07:16 +0200 Subject: [PATCH] fix liquid title on title.html and modify li elements look as p elements --- docs/_layouts/title.html | 2 +- docs/_sass/libs/_changes.scss | 24 ++++++++++++++++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/docs/_layouts/title.html b/docs/_layouts/title.html index 34070dd..0b5fa64 100644 --- a/docs/_layouts/title.html +++ b/docs/_layouts/title.html @@ -10,7 +10,7 @@ - {{ site.title | escape }} + {% if page.title %}{{ page.title }} – {{site.title}} {% else %}{{ site.title }}{% endif %} diff --git a/docs/_sass/libs/_changes.scss b/docs/_sass/libs/_changes.scss index f0aedef..f3689e5 100644 --- a/docs/_sass/libs/_changes.scss +++ b/docs/_sass/libs/_changes.scss @@ -14,13 +14,32 @@ @include breakpoint(medium) { width: 100%; } - > p, header { + > p, + header { width: 40em; @include breakpoint(large) { width: 45em; } + @include breakpoint(medium) { + width: 90%; + } + } + li { + margin: 0 auto; + } + } + &.style5 { + + li { + width: 40em; + margin: 0 auto _size(element-margin) auto; + + @include breakpoint(large) { + width: 45em; + } + @include breakpoint(medium) { width: 90%; } @@ -28,6 +47,7 @@ } } + twentytwenty-wrapper img { width: 100%; @@ -151,5 +171,5 @@ canvas { font-family: 'Open Sans', sans-serif; @include breakpoint(small){ width: 90%; -} + } }