nested elements applying font sizes is bad

This commit is contained in:
Firepup Sixfifty 2025-03-02 03:20:23 -06:00
parent 350ae19d3a
commit 37c8925408
No known key found for this signature in database

View file

@ -64,33 +64,38 @@
document.getElementById("style").innerHTML=`* {
background-color: ${color()};
color: #000000;
font-size: ${Math.floor(100+(Math.random()*100))}%;
font-family: ${font()}, monospace;
}
label {
color: ${color()};
font-size: ${Math.floor(100+(Math.random()*100))}%;
}
button {
color: ${color()};
background-color: ${color()};
font-size: ${Math.floor(100+(Math.random()*100))}%;
}
input {
color: ${color()};
background-color: ${color()};
font-size: ${Math.floor(100+(Math.random()*100))}%;
}
span {
color: ${color()};
font-size: ${Math.floor(100+(Math.random()*100))}%;
}
h1 {
font-size: 200%;
color: ${color()};
font-size: ${Math.floor(200+(Math.random()*100))}%;
}
p {
color: ${color()};
font-size: ${Math.floor(100+(Math.random()*100))}%;
}
a {
color: ${color()};
text-decoration: line-through;
font-size: ${Math.floor(100+(Math.random()*100))}%;
}`;
let time=Math.round(10000+((Math.random()*15)*1000));
console.log(time)
@ -174,5 +179,5 @@
</div>
</body>
<footer>
<p>Made because we hate websites that work normally <3<br/>V.0.0.16<br/>Made by <a href="https://endoftimee.tech">EndOfTimee</a> and <a href="https://firepup650.com">Firepup650</a></p>
<p>Made because we hate websites that work normally <3<br/>V.0.0.17<br/>Made by <a href="https://endoftimee.tech">EndOfTimee</a> and <a href="https://firepup650.com">Firepup650</a></p>
</footer>