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" %}