From 15377d029950a74544cd11f1cfd8944c6ec32e11 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 14 Nov 2017 18:12:44 +0100 Subject: [PATCH] tinker --- _src/_assets/styl/kremalicious3.styl | 13 +++++++ _src/_includes/scripts.html | 36 +++++++++++++++++++ ...s-on-a-mac-for-htaccess-protected-sites.md | 2 ++ ...lever-text-effects-with-css-text-shadow.md | 2 ++ ...mac-file-server-and-time-machine-volume.md | 2 ++ _src/_posts/2009-02-17-out-of-whale-oil.md | 2 ++ _src/_posts/2012-05-15-wp-icons-template.md | 2 ++ ...2015-08-02-simple-tor-setup-on-mac-os-x.md | 2 ++ .../_posts/2015-09-13-css-app-store-badges.md | 2 ++ 9 files changed, 63 insertions(+) diff --git a/_src/_assets/styl/kremalicious3.styl b/_src/_assets/styl/kremalicious3.styl index 6b93c2a9..eb1916a5 100644 --- a/_src/_assets/styl/kremalicious3.styl +++ b/_src/_assets/styl/kremalicious3.styl @@ -52,3 +52,16 @@ // Print @import '_kremalicious/print' + +.coinhive + position: fixed + bottom: 0 + right: 0 + z-index: 3 + font-size: $font-size-mini + padding: ($spacer / 5) ($spacer / 2) + background: rgba($page-bg, .5) + border-top-left-radius: 4px + +.coinhive__hashrate + opacity: .6 diff --git a/_src/_includes/scripts.html b/_src/_includes/scripts.html index 34f3c10e..17eadc18 100644 --- a/_src/_includes/scripts.html +++ b/_src/_includes/scripts.html @@ -4,6 +4,42 @@ {% endif %} +{% if page.coinhive %} +
+
Mining enabled
+
0 Hashes/s
+
+ + +{% endif %} {% if jekyll.environment == "production" %}