mirror of
https://github.com/System-End/Scrapyard.git
synced 2026-04-19 19:45:16 +00:00
nested elements applying font sizes is bad
This commit is contained in:
parent
350ae19d3a
commit
37c8925408
1 changed files with 8 additions and 3 deletions
11
index.html
11
index.html
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue