From 3eb88b54a481067507e11c8c602ae70412958b71 Mon Sep 17 00:00:00 2001 From: zzossig Date: Wed, 5 Feb 2020 20:22:19 +0900 Subject: prepare for exampleSite --- assets/sass/components/_drawer.scss | 1 + assets/sass/pages/_single.scss | 2 +- layouts/partials/head/scripts.html | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/sass/components/_drawer.scss b/assets/sass/components/_drawer.scss index 1eb2cdb..2e81c18 100644 --- a/assets/sass/components/_drawer.scss +++ b/assets/sass/components/_drawer.scss @@ -6,6 +6,7 @@ width: $drawer-width; height: 100%; + @include transition(all, 0.3s, ease-out); @include themify($themes) { background-color: themed('body-background-color'); } diff --git a/assets/sass/pages/_single.scss b/assets/sass/pages/_single.scss index 5388395..7ef4afa 100644 --- a/assets/sass/pages/_single.scss +++ b/assets/sass/pages/_single.scss @@ -241,7 +241,7 @@ } p { - margin: 0 0 1.75rem 0; + margin: 0 0 1rem 0; padding: 0; code:not([class^=language]) { diff --git a/layouts/partials/head/scripts.html b/layouts/partials/head/scripts.html index 30d3bc8..8820062 100644 --- a/layouts/partials/head/scripts.html +++ b/layouts/partials/head/scripts.html @@ -93,8 +93,6 @@ modal.style.left = 0; modal.style.opacity = 1; drawer.style.left = 0; - drawer.style.transition = "left 0.3s ease-out, opacity 0.2s ease-out"; - drawer.style.webkitTransition = "left 0.3s ease-out, opacity 0.2s ease-out"; } var closeDrawer = function() { -- cgit v1.2.3