Fixed some issues created by floating link
pull/19/head
Wruczek 8 years ago
parent a5a9b7d4fb
commit 0f4b12db4e

@ -9,11 +9,6 @@ body {
background-image: url(../img/christmas-bg.jpg); background-image: url(../img/christmas-bg.jpg);
} }
.disableSnowLink {
position: fixed;
bottom: 0;
}
.panel { .panel {
background-color: #410b13; background-color: #410b13;
} }

@ -7,12 +7,12 @@
<div class="footer"> <div class="footer">
<div class="container"> <div class="container">
<hr> <hr>
<p class="pull-left">&copy; <?php tl($config["general"]["title"]); ?> 2016</p> <p class="pull-left" id="website-copyright">&copy; <?php tl($config["general"]["title"]); ?> 2016</p>
<div class="pull-right"> <div class="pull-right">
<ul class="list-inline"> <ul class="list-inline">
<li> <!-- Please respect the amount of work we've put for free into this project and leave the authors in the footer. Thank you. --> <li> <!-- Please respect the amount of work we've put for free into this project and leave the authors in the footer. Thank you. -->
<p> <p>
<a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.5 &mdash; &copy; <a href="https://wruczek.tech">Wruczek</a> 2016 <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.6 &mdash; &copy; <a href="https://wruczek.tech">Wruczek</a> 2016
</p> </p>
<p> <p>

@ -90,7 +90,7 @@ function showError($title, $text) { ?>
<?php echo $text; ?> <?php echo $text; ?>
</div> </div>
<div class="panel-footer"> <div class="panel-footer">
&copy; <a href="https://wruczek.tech">Wruczek</a> 2016 | <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.5 | MIT License &copy; <a href="https://wruczek.tech">Wruczek</a> 2016 | <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.6 | MIT License
</div> </div>
</div> </div>

@ -20,12 +20,12 @@ if (new Date().getMonth() === 11) {
document.getElementById('background-artist').innerHTML = '<a href="http://www.publicdomainpictures.net/view-image.php?image=28562&picture=christmas-bulbs-red-background">Debi Geroux - Public Domain</a>'; document.getElementById('background-artist').innerHTML = '<a href="http://www.publicdomainpictures.net/view-image.php?image=28562&picture=christmas-bulbs-red-background">Debi Geroux - Public Domain</a>';
if(getCookie('snoweffect') === 'false') { if(getCookie('snoweffect') === 'false') {
document.getElementsByTagName('body')[0].innerHTML += '<a class="disableSnowLink" href="#" onclick="enableSnowEffect()">Enable snow effect</a>'; document.getElementById('website-copyright').innerHTML += ' &mdash; <a class="disableSnowLink" href="#" onclick="enableSnowEffect()">Enable snow effect</a>';
return; return;
} }
// Add a link to disable the effect // Add a link to disable the effect
document.getElementsByTagName('body')[0].innerHTML += '<a class="disableSnowLink" href="#" onclick="disableSnowEffect()">Disable snow effect</a>'; document.getElementById('website-copyright').innerHTML += ' &mdash; <a class="disableSnowLink" href="#" onclick="disableSnowEffect()">Disable snow effect</a>';
// Add the snow effect // Add the snow effect
snowFall.snow(document.body, { snowFall.snow(document.body, {

Loading…
Cancel
Save