From a5892ed5651ae03552d415f318a757e42aaf5d8a Mon Sep 17 00:00:00 2001
From: Fornax
Date: Mon, 28 Mar 2022 12:34:28 +0200
Subject: [PATCH] Styling fixes
---
res/include/md/about.md | 41 +++++++++++--------
res/include/style/layout.css | 2 +-
.../src/file_viewer/viewers/SpeedLimit.svelte | 5 ++-
svelte/src/file_viewer/viewers/Video.svelte | 6 +--
svelte/src/home_page/FeatureTable.svelte | 4 +-
svelte/src/util/PixeldrainLogo.svelte | 2 +-
webcontroller/style.go | 2 +-
7 files changed, 34 insertions(+), 28 deletions(-)
diff --git a/res/include/md/about.md b/res/include/md/about.md
index c602913..6cc4073 100644
--- a/res/include/md/about.md
+++ b/res/include/md/about.md
@@ -33,24 +33,29 @@ available:
The following types of content are not allowed to be shared on pixeldrain. They
will be removed when reported.
- * **Copyright violation**: Works which are shared without permission from the
- copyright holder. For copyright reports we need a formal DMCA takedown
- request originating from the copyright holder or a representative. If your
- request is not valid it will be ignored. Takedown requests which are sent to
- any other address than abuse@pixeldrain.com will also be ignored.
- * **Abuse of minors**: Videos, images or audio fragments depicting abuse or
- inappropriate touching of minors will be removed and reported to the National
- Center for Missing and Exploited Children when found.
- * **Terrorism**: Videos, images or audio fragments which promote and
- glorify acts of terrorism.
- * **Gore**: Graphic and shocking videos or images depicting severe harm to
- humans (or animals). I will clarify that I am not strictly against shocking
- content, and it is also not illegal in most places. When a shocking video
- goes viral it often ends up in the wrong places and it can cause mental
- issues for unsuspecting viewers. For that reason I will remove it when it
- gets reported.
- * **Malware and computer viruses**: Software designed to cause harm to computer
- systems.
+* **Copyright violation**: Works which are shared without permission from the
+ copyright holder. For copyright reports we need a formal DMCA takedown request
+ originating from the copyright holder or a representative. If your request is
+ not valid it will be ignored. Takedown requests which are sent to any other
+ address than abuse@pixeldrain.com will also be ignored.
+* **Abuse of minors**: Videos, images or audio fragments depicting abuse or
+ inappropriate touching of minors will be removed and reported to the National
+ Center for Missing and Exploited Children when found.
+* **Terrorism**: Videos, images or audio fragments which promote and
+ glorify acts of terrorism.
+* **Gore**: Graphic and shocking videos or images depicting severe harm to
+ humans (or animals). I will clarify that I am not strictly against shocking
+ content, and it is also not illegal in most places. When a shocking video goes
+ viral it often ends up in the wrong places and it can cause mental issues for
+ unsuspecting viewers. For that reason I will remove it when it gets reported.
+* **Malware and computer viruses**: Software designed to cause harm to computer
+ systems.
+* **Doxing**: Posting private information about an individual or organisation.
+ This includes publicly sharing private photos, videos or documents. Shaming
+ and extortion are not accepted.
+
+Violating these rules will result in your IP address being banned from uploading
+to pixeldrain.
If you have found content which falls in any of these categories on pixeldrain
please report it _using the report button on the download page_ of the file. Do
diff --git a/res/include/style/layout.css b/res/include/style/layout.css
index 13137b1..e079cf4 100644
--- a/res/include/style/layout.css
+++ b/res/include/style/layout.css
@@ -54,7 +54,7 @@ body {
margin: 0;
font-family: system-ui, sans-serif;
font-size: 17px;
- line-height: 1.6em;
+ line-height: 1.5em;
color: var(--text_color);
background: var(--background);
min-height: 100vh;
diff --git a/svelte/src/file_viewer/viewers/SpeedLimit.svelte b/svelte/src/file_viewer/viewers/SpeedLimit.svelte
index 5ba5d69..18f5060 100644
--- a/svelte/src/file_viewer/viewers/SpeedLimit.svelte
+++ b/svelte/src/file_viewer/viewers/SpeedLimit.svelte
@@ -44,8 +44,8 @@ onMount(async () => {
It's not that I want to withold this file from you, it's just that I
don't want pixeldrain to fall into bankruptcy like so many of the
- websites that came before me. So if you really want these files you have
- a few options:
+ websites that came before me. So if you really want this file you have a
+ few options:
- Come back tomorrow when your free transfer limit resets
@@ -77,6 +77,7 @@ onMount(async () => {
Also, I believe you have my stapler. Please give it back.
+