Fix issues with dark theme (#1335)

Fixes #1318
This commit is contained in:
Dawid Potocki
2019-09-23 20:49:37 +00:00
committed by Mikaela Suomalainen
parent 8c9542264f
commit b70af4899f
23 changed files with 70 additions and 31 deletions

View File

@ -31,6 +31,8 @@
<img src="{{include.image}}" width="120" height="120" alt="{{include.title}}" class="panel-item">
{% elsif include.icon %}
<i class="{{ include.icon }} panel-icon{% if include.iconcolor %} text-{{include.iconcolor}}{% endif %}"></i>
{% elsif include.font %}
<span class="{{ include.font }} panel-item" style="font-size: 120px;" alt="{{ include.title }}"></span>
{% endif %}
{{include.description}}
</p>

View File

@ -30,6 +30,9 @@
<p class="card-text">
<img
src="{{include.image}}"
{% if include.image-dark %}
data-theme-src="{{include.image-dark}}"
{% endif %}
height="120"
width="120"
class="panel-pic"

View File

@ -44,5 +44,5 @@
<!-- CSS stylesheets -->
<link href="/assets/css/style.css?v=6" rel="stylesheet">
<link id="dark-css" href="/assets/css/dark.css?v=2" rel="stylesheet" media="(prefers-color-scheme: dark)">
<link id="dark-css" href="/assets/css/dark.css?v=3" rel="stylesheet" media="(prefers-color-scheme: dark)">
</head>

View File

@ -2,7 +2,7 @@
<script src="/assets/js/popper.min.js?v=4"></script>
<script src="/assets/js/bootstrap.min.js?v=4"></script>
<script src="/assets/js/sortable.min.js?v=4"></script>
<script src="/assets/js/main.js?v=3"></script>
<script src="/assets/js/main.js?v=4"></script>
<!--
Matomo is the leading open-source analytics platform:

View File

@ -4,8 +4,6 @@
<strong>Your Browser sends information that makes you unique amongst millions of users and therefore easy to identify.</strong>
</div>
<img src="/assets/img/layout/browser-fingerprint.png" width="439" height="350" class="img-fluid float-right" alt="Fingerprint image" style="margin-left:20px;">
<p>When you visit a web page, your browser voluntarily sends information about its configuration, such as available fonts, browser type, and add-ons. If this combination of information is unique, it may be possible to identify and track you without using cookies. EFF created a Tool called <a href="https://panopticlick.eff.org/">Panopticlick</a> to test your browser to see how unique it is.</p>
<p>

View File

@ -7,6 +7,7 @@
{% include cardv2.html
title="GrapheneOS"
image="/assets/img/tools/GrapheneOS.png"
image-dark="/assets/img/tools/GrapheneOS-dark.png"
description='GrapheneOS (formerly known as CopperheadOS) is a free and open-source security and privacy focused mobile operating system built on top of the Android Open Source Project. It currently specifically targets devices offering strong hardware security.'
badges="info:AOSP"
labels="warning:contrib:This software may depend on or recommend non-free software."

View File

@ -26,7 +26,7 @@
{% include card.html color="warning"
title="Develop on GitHub"
image="/assets/img/icons/github.png"
font="fab fa-github"
url="https://github.com/privacytoolsIO/privacytools.io"
website="GitHub"
description="The complete website source code is available on GitHub. Join our developer team!"

View File

@ -15,6 +15,7 @@
include cardv2.html
title="Etherpad"
image="/assets/img/tools/Etherpad.png"
image-dark="/assets/img/tools/Etherpad-dark.png"
description="<strong>Etherpad</strong> is a highly customizable open source online editor providing collaborative editing in real-time. <a href=https://github.com/ether/etherpad-lite/wiki/Sites-that-run-Etherpad>Here are a list of sites that run Etherpad</a>."
website="https://etherpad.org/"
forum="https://forum.privacytools.io/t/discussion-etherpad-productivity-tools/1538"
@ -32,6 +33,7 @@
include cardv2.html
title="Write.as"
image="/assets/img/tools/WriteAs.png"
image-dark="/assets/img/tools/WriteAs-dark.png"
description="<strong>Write.as</strong> is a cross-platform, privacy-oriented blogging platform. It's anonymous by default, letting you publish without signing up. If you create an account, it doesn't require any personal information. No ads, distraction-free, and built on a sustainable business model."
website="https://write.as/"
forum="https://forum.privacytools.io/t/discussion-write-as-productivity-tools/1539"

View File

@ -25,6 +25,7 @@ github="https://github.com/nextcloud"
{% include cardv2.html
title="Tahoe-LAFS"
image="/assets/img/tools/Tahoe-LAFS.png"
image-dark="/assets/img/tools/Tahoe-LAFS-dark.png"
website="https://www.tahoe-lafs.org/"
forum="https://forum.privacytools.io/t/discussion-tahoe-lafs/1662"
description="Tahoe-LAFS is a Free and Open decentralized cloud storage system. It distributes your data across multiple servers. Even if some of the servers fail or are taken over by an attacker, the entire file store continues to function correctly, preserving your privacy and security."