enabled breakWord for onion URL in footer

This commit is contained in:
Jonas Leder 2021-01-20 22:35:57 +01:00
parent 8ca51abe9f
commit 40abcab55a
2 changed files with 6 additions and 7 deletions

View file

@ -41,9 +41,9 @@ getHeader("Jonas Leder", "home");
echo(<<<EOF
<article>
<article class="breakWord">
<h2>$title</h2>
<p>$contentNew</p>
<p breakWord>$contentNew</p>
<p class="center"><a href="/post.php?id=$id"><button>Mehr lesen</button></a></p>
</article>
EOF);
@ -60,7 +60,7 @@ getHeader("Jonas Leder", "home");
<br>
<?php
if (strpos($_SERVER['HTTP_HOST'], '.onion') == false) {
echo('<p>Diese Website ist auch als hidden Service unter folgendem URL zu erreichen: <a href="jonasledtmdcrenuxuobwqn3n6onq3smssicbeyocolgx4sk75xwmxqd.onion">jonasledtmdcrenuxuobwqn3n6onq3smssicbeyocolgx4sk75xwmxqd.onion</a></p>');
echo('<p class="breakWord">Diese Website ist auch als hidden Service unter folgendem URL zu erreichen: <a href="jonasledtmdcrenuxuobwqn3n6onq3smssicbeyocolgx4sk75xwmxqd.onion">jonasledtmdcrenuxuobwqn3n6onq3smssicbeyocolgx4sk75xwmxqd.onion</a></p>');
}
?>
</div>

View file

@ -14,10 +14,6 @@ article{
margin-right: 20px;
flex: 1 1 0;
width: 0;
word-wrap: break-word;
p{
word-wrap: break-word;
}
h2{
text-align: center;
margin: 0;
@ -42,4 +38,7 @@ article{
#banner img {
width: 100%;
}
.breakWord{
word-wrap: break-word;
}