open image, when clicking on title

This commit is contained in:
jonasled 2021-03-09 22:58:45 +01:00
parent 6bbb1c4e3e
commit ea7eafea2c
2 changed files with 12 additions and 2 deletions

View file

@ -6,8 +6,8 @@ include "internal/comments.php";
getHeader("Bildquellen", ""); getHeader("Bildquellen", "");
?> ?>
<ul> <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><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>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/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> </ul>
<?php <?php
getFooter(); getFooter();

View file

@ -42,3 +42,13 @@ article{
.breakWord{ .breakWord{
word-wrap: break-word; word-wrap: break-word;
} }
.clickSpan{
color: $accent-color;
text-decoration: underline;
transition: background-color $link-hover-animation-time linear;
&:hover{
color: $accent-color-2;
}
}