From e11f95927677bf3aeaf009211c45ec68824a6c84 Mon Sep 17 00:00:00 2001 From: neri Date: Thu, 9 Sep 2021 22:57:13 +0200 Subject: [PATCH] add repo link and add noopener to links --- static/index.css | 25 +++++++++++++++++++++++++ template/index.html | 10 ++++++++++ template/text-view.html | 10 ++++++++++ template/upload.html | 10 ++++++++++ template/url-view.html | 22 ++++++++++++++++++++-- 5 files changed, 75 insertions(+), 2 deletions(-) diff --git a/static/index.css b/static/index.css index 1fe8925..72332aa 100644 --- a/static/index.css +++ b/static/index.css @@ -14,6 +14,9 @@ html { } body { + display: flex; + flex-direction: column; + justify-content: space-between; background-color: var(--bg); min-height: 100vh; margin: 0; @@ -22,6 +25,7 @@ body { main { color: var(--fg); font-family: sans; + width: 100%; max-width: 1200px; margin: 0 auto; padding: 1rem; @@ -115,3 +119,24 @@ a.button:visited { font-size: clamp(1rem, 3vw, 1.5rem); overflow-wrap: anywhere; } + +footer { + flex-shrink: 0; + display: flex; + justify-content: flex-end; + padding: 0.5rem; +} + +.repo { + padding: 0.5rem; + color: #b6b6b6; + text-decoration: none; +} + +.repo:visited { + color: #b6b6b6; +} + +.repo:hover { + color: var(--fg); +} diff --git a/template/index.html b/template/index.html index 3105ff6..006801d 100644 --- a/template/index.html +++ b/template/index.html @@ -58,5 +58,15 @@ authentifizieren > + diff --git a/template/text-view.html b/template/text-view.html index b3a8136..9871abe 100644 --- a/template/text-view.html +++ b/template/text-view.html @@ -16,6 +16,16 @@ herunterladen + diff --git a/template/upload.html b/template/upload.html index f554dd4..ff708e3 100644 --- a/template/upload.html +++ b/template/upload.html @@ -15,6 +15,16 @@

+ diff --git a/template/url-view.html b/template/url-view.html index 90f3b41..a2f9e37 100644 --- a/template/url-view.html +++ b/template/url-view.html @@ -9,12 +9,30 @@

datatrash

- {link_content} + + {link_content} +
- link öffnen + + link öffnen + als text herunterladen
+