From d71f801d1636eda945336b45b59ac19ba858eaaa Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 4 Nov 2016 11:21:24 -0400 Subject: [PATCH 1/8] Fix `.sidebar` flicker/jump when hovered - Close #583 --- _sass/_sidebar.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_sass/_sidebar.scss b/_sass/_sidebar.scss index 377c6237..87caee71 100644 --- a/_sass/_sidebar.scss +++ b/_sass/_sidebar.scss @@ -7,6 +7,9 @@ ========================================================================== */ .sidebar { + -webkit-transform: translate3d(0, 0 , 0); + transform: translate3d(0, 0 , 0); + @include clearfix(); margin-bottom: 1em; @@ -14,7 +17,7 @@ @include span(2 of 12); opacity: 0.75; -webkit-transition: opacity 0.2s ease-in-out; - transition: opacity 0.2s ease-in-out; + transition: opacity 0.2s ease-in-out; &:hover { opacity: 1; From f64b8659fcf62969085ba2e28cc01fe516a16323 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 4 Nov 2016 11:22:25 -0400 Subject: [PATCH 2/8] Apply `.sidebar` hover flicker fix to /docs --- docs/_sass/_sidebar.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/_sass/_sidebar.scss b/docs/_sass/_sidebar.scss index 377c6237..87caee71 100644 --- a/docs/_sass/_sidebar.scss +++ b/docs/_sass/_sidebar.scss @@ -7,6 +7,9 @@ ========================================================================== */ .sidebar { + -webkit-transform: translate3d(0, 0 , 0); + transform: translate3d(0, 0 , 0); + @include clearfix(); margin-bottom: 1em; @@ -14,7 +17,7 @@ @include span(2 of 12); opacity: 0.75; -webkit-transition: opacity 0.2s ease-in-out; - transition: opacity 0.2s ease-in-out; + transition: opacity 0.2s ease-in-out; &:hover { opacity: 1; From abea26ecbefac61588342bf5b8f549ab2e13a8fb Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 4 Nov 2016 11:31:02 -0400 Subject: [PATCH 3/8] Bump `add_runtime_dependency` for gems --- minimal-mistakes-jekyll.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minimal-mistakes-jekyll.gemspec b/minimal-mistakes-jekyll.gemspec index 76ee8e63..f6207090 100644 --- a/minimal-mistakes-jekyll.gemspec +++ b/minimal-mistakes-jekyll.gemspec @@ -21,8 +21,8 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rake", "~> 10.0" spec.add_runtime_dependency "jekyll-paginate", "~> 1.1" - spec.add_runtime_dependency "jekyll-sitemap", "~> 0.10" + spec.add_runtime_dependency "jekyll-sitemap", "~> 0.12" spec.add_runtime_dependency "jekyll-gist", "~> 1.4" - spec.add_runtime_dependency "jekyll-feed", "~> 0.5.1" + spec.add_runtime_dependency "jekyll-feed", "~> 0.8" spec.add_runtime_dependency "jemoji", "~> 0.7" end From 11fccb0908ef8a3799fb4f3eea8c4448c9fd4482 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 4 Nov 2016 11:36:31 -0400 Subject: [PATCH 4/8] Make pager (next/previous) active state more obvious by adding changing gray color to `$link-color` --- _sass/_navigation.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sass/_navigation.scss b/_sass/_navigation.scss index f34c99fe..2d06a120 100644 --- a/_sass/_navigation.scss +++ b/_sass/_navigation.scss @@ -131,7 +131,7 @@ font-weight: bold; text-align: center; text-decoration: none; - color: mix(#fff, $gray, 50%); + color: $link-color; border: 1px solid $light-gray; border-radius: $border-radius; From 7172ccd3da62f1fa5e471d7ac858b8a4091d1154 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 4 Nov 2016 11:37:22 -0400 Subject: [PATCH 5/8] Make pager (next/previous) active state more obvious by adding changing gray color to `$link-color` --- docs/_sass/_navigation.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/_sass/_navigation.scss b/docs/_sass/_navigation.scss index d96735b8..2d06a120 100644 --- a/docs/_sass/_navigation.scss +++ b/docs/_sass/_navigation.scss @@ -131,7 +131,7 @@ font-weight: bold; text-align: center; text-decoration: none; - color: mix(#fff, $gray, 50%); + color: $link-color; border: 1px solid $light-gray; border-radius: $border-radius; @@ -236,9 +236,9 @@ width: 100%; -webkit-transition: $global-transition; transition: $global-transition; - -webkit-transform: scaleX(0); - -ms-transform: scaleX(0); - transform: scaleX(0); /* hide*/ + -webkit-transform: scaleX(0) translate3d(0, 0 , 0); + -ms-transform: scaleX(0) translate3d(0, 0 , 0); + transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/ } &:hover:before { From b29e4bf5c9402b573bacda882faab2869c722796 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 4 Nov 2016 12:50:03 -0400 Subject: [PATCH 6/8] Replace `base_path` with `absolute_url` filter --- _includes/comments-providers/discourse.html | 3 +-- _includes/paginator.html | 4 ++-- _layouts/home.html | 2 -- docs/_includes/comments-providers/discourse.html | 3 +-- docs/_includes/paginator.html | 4 ++-- docs/_layouts/home.html | 2 -- docs/_pages/archive-layout-with-content.md | 1 - docs/_pages/sitemap.md | 2 +- docs/_posts/2010-08-07-post-image-caption.md | 4 +--- 9 files changed, 8 insertions(+), 17 deletions(-) diff --git a/_includes/comments-providers/discourse.html b/_includes/comments-providers/discourse.html index 1d23b6f2..1d772381 100644 --- a/_includes/comments-providers/discourse.html +++ b/_includes/comments-providers/discourse.html @@ -1,6 +1,5 @@ {% if site.comments.discourse.server %} -{% include base_path %} -{% capture canonical %}{{ base_path }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %} +{% capture canonical %}{% if site.permalink contains '.html' %}{{ page.url | absolute_url }}{% else %}{{ page.url | absolute_url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}