From b96aabfe38f4b5b9f401ef416a753a2ed79c18ee Mon Sep 17 00:00:00 2001 From: Luis Date: Sat, 18 May 2019 20:28:56 -0400 Subject: [PATCH] Add js scrip to each layout individually --- _includes/footer.html | 3 +-- _layouts/default.html | 4 +++- _layouts/minimal.html | 2 ++ _layouts/minimal_about_me.html | 2 ++ _layouts/minimal_tags.html | 2 ++ _layouts/page.html | 2 ++ _layouts/post.html | 2 ++ assets/css/main.css | 14 +++++++------- 8 files changed, 21 insertions(+), 10 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index bdd12e8..c76c80e 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,4 +1,3 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index f115830..b722560 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -14,4 +14,6 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/_layouts/minimal.html b/_layouts/minimal.html index 9f091a9..c1c29b6 100644 --- a/_layouts/minimal.html +++ b/_layouts/minimal.html @@ -20,3 +20,5 @@ + + \ No newline at end of file diff --git a/_layouts/minimal_about_me.html b/_layouts/minimal_about_me.html index 26fb7f4..6678236 100644 --- a/_layouts/minimal_about_me.html +++ b/_layouts/minimal_about_me.html @@ -20,3 +20,5 @@ {% include footer.html %} + + \ No newline at end of file diff --git a/_layouts/minimal_tags.html b/_layouts/minimal_tags.html index 0298e3e..7df9a68 100644 --- a/_layouts/minimal_tags.html +++ b/_layouts/minimal_tags.html @@ -19,3 +19,5 @@ {% include footer.html %} + + \ No newline at end of file diff --git a/_layouts/page.html b/_layouts/page.html index 13cbe82..61bc681 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -12,3 +12,5 @@

{{ page.title }}

+ + \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index 246e0ab..e3f1315 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -19,3 +19,5 @@ {% include footer.html %} + + \ No newline at end of file diff --git a/assets/css/main.css b/assets/css/main.css index 15f456c..4515f27 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1808,13 +1808,6 @@ a.others:hover { margin: auto; } -@media only screen and (max-width:37.5rem) { - #container { - width: 100%; - padding-left:0 - } -} - #topBtn { position: fixed; bottom: 20px; @@ -1830,4 +1823,11 @@ a.others:hover { #topBtn:hover { background-color: #555; +} + +@media only screen and (max-width:37.5rem) { + #container { + width: 100%; + padding-left:0 + } } \ No newline at end of file