diff --git a/_includes/js.html b/_includes/js.html
index 0cf5af1..f3ce708 100755
--- a/_includes/js.html
+++ b/_includes/js.html
@@ -214,4 +214,44 @@ $(window).scroll(toggleNavCollapse);$(function(){$("a.page-scroll").bind("click"
{% endif %}
+{% if page.section-type == "blog" %}
+
+
+
+
+
+
+
+{% endif %}
+
+{% if page.section-type == "post" %}
+
+
+
+
+
+
+
+{% endif %}
+
diff --git a/_includes/navigation.html b/_includes/navigation.html
index d96d3cb..77be27d 100755
--- a/_includes/navigation.html
+++ b/_includes/navigation.html
@@ -13,7 +13,9 @@
{% endif %}
- {% if site.black-favicon %}
{% endif %}
+ {% if site.black-favicon %}
+
+ {% endif %}
{{ site.title }}
diff --git a/_includes/swipe-instructions.html b/_includes/swipe-instructions.html
new file mode 100644
index 0000000..59ae5f1
--- /dev/null
+++ b/_includes/swipe-instructions.html
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+ {% if page.section-type == "blog" %}
+ Did you know that you can navigate the archive pages by swiping left and right?
+ {% elsif page.section-type == "post" %}
+ Did you know that you can navigate the posts by swiping left and right?
+ {% endif %}
+
+
+ {% if page.section-type == "blog" %}
+ Got it!
+ {% elsif page.section-type == "post" %}
+ Awesome!
+ {% endif %}
+
+
+
+
+
diff --git a/_layouts/blog.html b/_layouts/blog.html
index 5b2f49a..7a0960e 100644
--- a/_layouts/blog.html
+++ b/_layouts/blog.html
@@ -11,9 +11,12 @@
{% include navigation.html %}
+
+ {% include swipe-instructions.html %}
+
{{ page.content | markdownify }}
diff --git a/_layouts/post.html b/_layouts/post.html
index d6c43c5..5799700 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -14,6 +14,8 @@
+ {% include swipe-instructions.html %}
+
{{ page.title }}
{{ page.date | date_to_string }}
. {{ page.category }} . Comments
diff --git a/css/grayscale.scss b/css/grayscale.scss
index 5161b56..8a75401 100644
--- a/css/grayscale.scss
+++ b/css/grayscale.scss
@@ -253,6 +253,29 @@ a {
}
}
+.btn {
+ border-radius: 0;
+ font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
+ font-weight: 400;
+ -webkit-transition: all .3s ease-in-out;
+ -moz-transition: all .3s ease-in-out;
+ transition: all .3s ease-in-out;
+}
+
+.btn-default {
+ border: 1px solid $primary;
+ color: $primary;
+ background-color: transparent;
+}
+
+.btn-default:hover,
+.btn-default:focus {
+ border: 1px solid $primary;
+ outline: 0;
+ color: #000;
+ background-color: $primary;
+}
+
/* Added in { Personal } */
ul.social-buttons li a {
display: block;
@@ -331,3 +354,59 @@ body {
100% { opacity:1; }
}
/* END Added in { Personal } for Typed Cursor in Header */
+
+/* Animation for hand-swipe */
+@-webkit-keyframes swipe {
+ from {
+ left: 5%;
+ }
+ to {
+ left: -5%;
+ }
+ }
+
+ @-moz-keyframes swipe {
+ from {
+ left: 5%;
+ }
+ to {
+ left: -5%;
+ }
+ }
+ /* END Animation for hand-swipe */
+
+ /* Style for swipe instruction section */
+ #swipe-instruction {
+ display: none;
+ position: absolute;
+ background-color: rgba(0, 0, 0, 0.5);
+ width: 100%;
+ height: 100%;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ > div {
+ background-color: rgba(20, 20, 20, 0.6);
+ padding: 10px;
+ @media(min-width:768px) {
+ padding: 20px 0;
+ }
+ #hand-swipe {
+ @media(min-width:992px) {
+ font-size: 100px;
+ }
+ font-size: 80px;
+ display: block;
+ position: relative;
+ animation: swipe ease-in-out 1s alternate infinite;
+ }
+ }
+ }
+
+.ok-btn {
+ background-color: $dark;
+ color: $primary;
+}
+
+ /* END Style for swipe instruction section */