change a few things, add a few buttons
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 592 B |
Binary file not shown.
|
After Width: | Height: | Size: 415 B |
+18
-18
@@ -79,8 +79,8 @@
|
|||||||
max-width: 480px;
|
max-width: 480px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
position: absolute;
|
position: relative;
|
||||||
bottom: 50px;
|
bottom: 4px;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
@@ -100,6 +100,10 @@
|
|||||||
line-height: 0;
|
line-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
div.footer {
|
div.footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -119,9 +123,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
function setRandomText() {
|
function setRandomText() {
|
||||||
const paragraph = document.querySelector('#quote');
|
document.querySelector('#quote').textContent = texts[Math.floor(Math.random() * texts.length)];
|
||||||
const randomText = texts[Math.floor(Math.random() * texts.length)];
|
|
||||||
paragraph.textContent = randomText;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', setRandomText);
|
document.addEventListener('DOMContentLoaded', setRandomText);
|
||||||
@@ -131,10 +133,8 @@
|
|||||||
let currentIndex = 0;
|
let currentIndex = 0;
|
||||||
|
|
||||||
function cycleText() {
|
function cycleText() {
|
||||||
const paragraph = document.querySelector('#thing');
|
document.querySelector('#thing').textContent = characters[currentIndex];
|
||||||
paragraph.textContent = characters[currentIndex];
|
currentIndex = currentIndex === 0 ? 1 : 0;
|
||||||
|
|
||||||
currentIndex = (currentIndex + 1) % characters.length;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
@@ -160,15 +160,15 @@
|
|||||||
<div style="position: absolute; bottom: 0; left: 0; right: 0;">
|
<div style="position: absolute; bottom: 0; left: 0; right: 0;">
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<ul class="buttons">
|
<ul class="buttons">
|
||||||
<li><a href="https://futile.eu"><img src="buttons/futile.png" width="88px" height="31px"></a></li>
|
<li><a href="https://futile.eu"><img src="buttons/futile.png" width="88px" height="31px" alt="by futile"></a></li>
|
||||||
<li><a href="https://xenia.blahaj.land/"><img src="buttons/rose_88x31.png" width="88px"
|
<li><a href="https://xenia.blahaj.land/"><img src="buttons/rose_88x31.png" width="88px" height="31px" alt="by rose"></a></li>
|
||||||
height="31px"></a></li>
|
<li><iframe src="//incr.easrng.net/badge?key=futile" style="background: url(//incr.easrng.net/bg.gif)" title="increment badge" width="88" height="31" frameborder="0"></iframe></li>
|
||||||
<li><iframe src="//incr.easrng.net/badge?key=futile" style="background: url(//incr.easrng.net/bg.gif)"
|
<li><a href="https://fedoraproject.org/spins/kde"><img src="buttons/fedora.png" width="88px" height="31px" alt="by unknown; retouched by futile"></a></li>
|
||||||
title="increment badge" width="88" height="31" frameborder="0"></iframe></li>
|
<li><a href="https://mozilla.org/firefox"><img src="buttons/firefox4.gif" width="88px" height="31px" alt="by unknown"></a></li>
|
||||||
<li><a href="https://fedoraproject.org/spins/kde"><img src="buttons/fedora.png" width="88px"
|
<li><a href="https://vscodium.com"><img src="buttons/vscodium.com.png" width="88px" height="31px" alt="by unknown"></a></li>
|
||||||
height="31px"></a></li>
|
<li><img src="buttons/FirtniteButton.png" onclick="alert('firt night')" width="88px" height="31px" alt="by unknown"></li>
|
||||||
<li><a href="https://mozilla.org/firefox"><img src="buttons/firefox4.gif" width="88px"
|
<li><a href="https://ublockorigin.com"><img src="buttons/ublock.png" width="88px" height="31px" alt="by unknown"></a></li>
|
||||||
height="31px"></a></li>
|
<li><a href="https://rust-lang.org"><img src="buttons/rustNOW.png" width="88px" height="31px" alt="by futile"></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
|||||||
Reference in New Issue
Block a user