From 0d98914ba2d3e5058471f12dbc541474c39935d1 Mon Sep 17 00:00:00 2001
From: Daniel Kempkens
Date: Sat, 5 Apr 2014 22:06:31 +0200
Subject: [PATCH] Add IPv6 icon to the footer
---
_assets/stylesheets/page.less | 40 ++++++++++++++++++++++-------------
_config.yml | 1 +
_includes/footer.html | 10 +++++++--
3 files changed, 34 insertions(+), 17 deletions(-)
diff --git a/_assets/stylesheets/page.less b/_assets/stylesheets/page.less
index d73c44c..b666eef 100644
--- a/_assets/stylesheets/page.less
+++ b/_assets/stylesheets/page.less
@@ -94,9 +94,9 @@ body {
}
.entry-image {
position: relative;
- top: -50%;
- left: -50%;
- width: 200%;
+ top: -50%;
+ left: -50%;
+ width: 200%;
height: 200%;
min-height: 400px;
overflow: hidden;
@@ -110,12 +110,12 @@ body {
background-color: fade(@base-color,30);
}
img {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- margin: auto;
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ margin: auto;
min-width: 50%;
min-height: 50%;
}
@@ -290,7 +290,7 @@ body {
h3 {
margin: 0;
.font-rem(28);
- a {
+ a {
color: @primary;
}
@media @medium {
@@ -304,11 +304,11 @@ body {
.list-item {
width: 100%;
text-align: left;
- h4 {
+ h4 {
.font-rem(18);
- margin-bottom: 0;
+ margin-bottom: 0;
}
- span {
+ span {
display: block;
.font-rem(14);
color: lighten(@base-color,50);
@@ -322,7 +322,7 @@ body {
}
}
-// Post Index
+// Post Index
// --------------------------------------------------
#post-index {
#main {
@@ -364,6 +364,16 @@ body {
a {
color: lighten(@text-color,20);
}
+
+ footer {
+ p {
+ margin: 0;
+ }
+
+ .fancy-icons {
+ margin-top: 5px;
+ }
+ }
}
// Social Share
@@ -371,7 +381,7 @@ body {
.socialcount {
.font-rem(16);
font-weight: 700;
- li {
+ li {
padding-left: 10px;
padding-right: 10px;
}
diff --git a/_config.yml b/_config.yml
index d5637e2..84aff40 100644
--- a/_config.yml
+++ b/_config.yml
@@ -4,6 +4,7 @@ disqus_shortname: blog-kempkens-io
#Your site's domain goes here. Leave localhost server or blank when working locally.
url: https://blog.kempkens.io
source_url: https://github.com/nifoc/blog.kempkens.io
+ipv6_enabled: true
# Owner/author information
owner:
diff --git a/_includes/footer.html b/_includes/footer.html
index 4e67198..d8cf5c1 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,4 +1,10 @@
-
+
© {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by Jekyll using the HPSTR Theme.
{% if site.source_url %}
Source on GitHub{% endif %}
-
+
+
+{% if site.ipv6_enabled %}
+
+ {% image footer/ipv6.png %}
+
+{% endif %}