From ca93d61b45ba8ab7ee934c515ef11fbfd053b2fa Mon Sep 17 00:00:00 2001 From: Samuel Shifterovich Date: Sat, 27 Oct 2018 16:28:46 +0200 Subject: [PATCH 1/4] add support for labels --- _includes/card.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/_includes/card.html b/_includes/card.html index b7c413a1..15c2c649 100644 --- a/_includes/card.html +++ b/_includes/card.html @@ -8,6 +8,17 @@

{{include.title}}

+ {% if include.labels %} + {% assign labels = include.labels | replace:", ", "," | split:"," %} +
+ {% for label in labels %} + {% assign label_data = label | split:":" %} + {% assign color = label_data[0] %} + {% assign text = label_data[1] %} + {{text}} + {% endfor %} +
+ {% endif %}

{{include.title}}{{include.description}}

-- 2.49.1 From 7f2c4dd41bd97933ecac1d4a337f1f9b368cab1e Mon Sep 17 00:00:00 2001 From: Vincevrp Date: Sat, 27 Oct 2018 16:36:04 +0200 Subject: [PATCH 2/4] Replace obsolete anchor tags with .anchor class --- css/custom.css | 14 +--- index.html | 195 ++++++++++--------------------------------------- 2 files changed, 42 insertions(+), 167 deletions(-) diff --git a/css/custom.css b/css/custom.css index f300d3ca..87876be7 100644 --- a/css/custom.css +++ b/css/custom.css @@ -27,12 +27,6 @@ line-height: 1.35; } - - -/* body { - padding-bottom: 30px; -} */ - .theme-dropdown .dropdown-menu { position: static; display: block; @@ -47,11 +41,9 @@ width: auto; } -a.anchor { - display: block; position: relative; top: -50px; visibility: hidden; -} -a.titleanchor { - font-size:0.7em; +.anchor:target { + padding-top: 4rem; + margin-top: -4rem; } .panel-item { diff --git a/index.html b/index.html index d25a0acb..a1f30b7d 100644 --- a/index.html +++ b/index.html @@ -75,10 +75,7 @@ layout: default - -

+

Global Mass Surveillance - The Fourteen Eyes

UKUSA Agreement @@ -123,8 +120,7 @@ layout: default
- -

Why is it not recommended to choose a US based service?

+

Why is it not recommended to choose a US based service?

USA @@ -150,10 +146,7 @@ layout: default - - +

VPN providers with extra layers of privacy

@@ -451,10 +444,7 @@ layout: default
- - +

What is a warrant canary?

Warrant Canary Example

A warrant canary is a posted document stating that an organization has not received any secret subpoenas during a specific period of time. If this document fails to be updated during the specified time then the user is to assume that the service has received such a subpoena and should stop using the service.

@@ -475,10 +465,7 @@ layout: default - - +

Browser Recommendation

@@ -526,12 +513,7 @@ layout: default
- - - - +

Browser Fingerprint - Is your browser configuration unique?