From ea7eafea2c241ba860eaa11681ace3c4af242ed7 Mon Sep 17 00:00:00 2001
From: jonasled <git@jonasled.de>
Date: Tue, 9 Mar 2021 22:58:45 +0100
Subject: [PATCH] open image, when clicking on title

---
 public/bildquellen.php |  4 ++--
 scss/_content.scss     | 10 ++++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/public/bildquellen.php b/public/bildquellen.php
index 922c293..c2379bf 100644
--- a/public/bildquellen.php
+++ b/public/bildquellen.php
@@ -6,8 +6,8 @@ include "internal/comments.php";
 getHeader("Bildquellen", "");
 ?>
 <ul>
-    <li>Bild oben: Photo by <a href="https://unsplash.com/@hishahadat?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Shahadat Rahman</a>&nbsp;on&nbsp;<a href="https://unsplash.com/s/photos/programmer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></li>
-    <li>Bild Startseite: Photo by&nbsp;<a href="https://unsplash.com/@grohsfabian?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Fabian Grohs</a>&nbsp;on&nbsp;<a href="https://unsplash.com/s/photos/programmer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></li>
+    <li><span class="clickSpan" onclick="createDialogImage('/img/bannerHome.webp')">Bild oben</span>: Photo by <a href="https://unsplash.com/@hishahadat?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Shahadat Rahman</a>&nbsp;on&nbsp;<a href="https://unsplash.com/s/photos/programmer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></li>
+    <li><span class="clickSpan" onclick="createDialogImage('/img/bildHome.webp')">Bild Startseite</span>: Photo by&nbsp;<a href="https://unsplash.com/@grohsfabian?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Fabian Grohs</a>&nbsp;on&nbsp;<a href="https://unsplash.com/s/photos/programmer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></li>
 </ul>
 <?php
 getFooter();
\ No newline at end of file
diff --git a/scss/_content.scss b/scss/_content.scss
index 4db0707..b6521d9 100644
--- a/scss/_content.scss
+++ b/scss/_content.scss
@@ -41,4 +41,14 @@ article{
 }
 .breakWord{
   word-wrap: break-word;
+}
+
+.clickSpan{
+  color: $accent-color;
+  text-decoration: underline;
+  transition: background-color $link-hover-animation-time linear;
+
+  &:hover{
+    color: $accent-color-2;
+  }
 }
\ No newline at end of file
-- 
GitLab