From bf3bb054f2aab4e62f9e9d3d7e30d52d0136db00 Mon Sep 17 00:00:00 2001 From: Set Sakrecoer Date: Tue, 3 Aug 2021 14:04:29 +0200 Subject: [PATCH] bump css version and fix cookie thingie --- _includes/cookie-consent.html | 17 +++++++---- _includes/mautic-tracker.js | 7 +++++ _includes/scripts.html | 2 +- _layouts/404page.html | 6 ++-- _layouts/default.html | 6 ++-- _sass/_cookies.scss | 30 +++++++++---------- ...olors-20210720.css => colors-20210803.css} | 0 ...{main-20210720.scss => main-20210803.scss} | 0 ...-20210720.scss => noscripts-20210803.scss} | 0 .../js/{set-20210720.js => set-20210803.js} | 0 index.html | 3 +- 11 files changed, 41 insertions(+), 30 deletions(-) create mode 100644 _includes/mautic-tracker.js rename assets/css/{colors-20210720.css => colors-20210803.css} (100%) rename assets/css/{main-20210720.scss => main-20210803.scss} (100%) rename assets/css/{noscripts-20210720.scss => noscripts-20210803.scss} (100%) rename assets/js/{set-20210720.js => set-20210803.js} (100%) diff --git a/_includes/cookie-consent.html b/_includes/cookie-consent.html index 8556842..0509ed1 100644 --- a/_includes/cookie-consent.html +++ b/_includes/cookie-consent.html @@ -1,13 +1,18 @@ - @@ -37,7 +42,7 @@ if (readCookie('cookie-notice-dismissed') == 'wantCookies') { {% include analytics.js %} - + {% include mautic-tracker.js %} } else { document.getElementById('cookie-notice').style.display = 'flex'; diff --git a/_includes/mautic-tracker.js b/_includes/mautic-tracker.js new file mode 100644 index 0000000..447fc52 --- /dev/null +++ b/_includes/mautic-tracker.js @@ -0,0 +1,7 @@ + +(function(w,d,t,u,n,a,m){w['MauticTrackingObject']=n; + w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)},a=d.createElement(t), + m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m) +})(window,document,'script','https://pr.basspistol.com/mtc.js','mt'); + +mt('send', 'pageview'); diff --git a/_includes/scripts.html b/_includes/scripts.html index 8dd0cb0..9505c46 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -1,3 +1,3 @@ {% include relBase.html %} - + diff --git a/_layouts/404page.html b/_layouts/404page.html index 0cd342b..b393f6a 100644 --- a/_layouts/404page.html +++ b/_layouts/404page.html @@ -12,12 +12,12 @@ layout: nil - - + + - + diff --git a/_layouts/default.html b/_layouts/default.html index c84609e..7db1d00 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,12 +11,12 @@ {% include relBase.html %} - - + + - + diff --git a/_sass/_cookies.scss b/_sass/_cookies.scss index 87a9ef2..d8457d0 100644 --- a/_sass/_cookies.scss +++ b/_sass/_cookies.scss @@ -28,9 +28,10 @@ text-align: center; margin: 40px 40px 20px 40px; } - .yes { - margin: 20px 40px 40px 40px; + .yes, .no { + margin: 20px 40px 0px 40px; } + } button { border: none; @@ -39,25 +40,22 @@ } } -.yes { - flex: 0 0 250px; +.yes, .no { + flex: 0 0 100px; -moz-transition: all var(--anim-speed) ease-in-out; -webkit-transition: all var(--anim-speed) ease-in-out; -ms-transition: all var(--anim-speed) ease-in-out; transition: all var(--anim-speed) ease-in-out; text-align: center; - background-position-x: 0%; - background-position-y: 0%; - background-repeat: repeat; - background-attachment: scroll; - background-image: linear-gradient(228deg, var(--accent1-alt), var(--accent2-alt)); - background-origin: padding-box; - background-clip: border-box; - background-size: 400% 400%; - -webkit-animation: backgroundBlink 2s ease infinite; - -moz-animation: backgroundBlink 2s ease infinite; - animation: backgroundBlink 2s ease infinite; - margin: 40px 40px 40px 20px; + margin: 40px 40px 40px 10px; +} +.yes { + background-image: unset; + background-color: #95df63 !important; +} +.no { + background-image: unset; + background-color: rgb(255, 215, 85) !important; } .yes:hover { // color: #000 !important; diff --git a/assets/css/colors-20210720.css b/assets/css/colors-20210803.css similarity index 100% rename from assets/css/colors-20210720.css rename to assets/css/colors-20210803.css diff --git a/assets/css/main-20210720.scss b/assets/css/main-20210803.scss similarity index 100% rename from assets/css/main-20210720.scss rename to assets/css/main-20210803.scss diff --git a/assets/css/noscripts-20210720.scss b/assets/css/noscripts-20210803.scss similarity index 100% rename from assets/css/noscripts-20210720.scss rename to assets/css/noscripts-20210803.scss diff --git a/assets/js/set-20210720.js b/assets/js/set-20210803.js similarity index 100% rename from assets/js/set-20210720.js rename to assets/js/set-20210803.js diff --git a/index.html b/index.html index 27c3b21..d6f9845 100644 --- a/index.html +++ b/index.html @@ -84,7 +84,8 @@ layout: default Join the crew -

What you can get from us

+

Exit cyber-homlessness.
Enter data-sovereignty.

+

We're empowered by an armory of open-source tools enabling us to seaze our means of outreach and distribution.

{% for service in site.data.services %}