Added a chance for RED

This commit is contained in:
blank X 2019-01-29 02:43:02 +07:00
parent b00e7aaadf
commit 82f34f4b2c
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
2 changed files with 12 additions and 3 deletions

View File

@ -11,7 +11,7 @@
<p class='ds'>Thanks to <a class='ds' href='https://nixnet.xyz/contact'>amolith</a> for <a class='ds' href='https://git.nixnet.xyz/Amolith/dotfiles#dr-smith-a-custom-font'>Dr. Smith</a>.</p>
<script>
var min = 0
var max = 1
var max = 2
console.log(min)
console.log(max)
var rn = Math.floor(Math.random()*(max-min+1)+min);
@ -22,6 +22,14 @@ if (rn == 0) {
console.log('removing kazoo')
bodyc.remove('kazoo');
}
console.log('if rn == 2 now running')
if (rn == 2) {
console.log('adding 403')
bodyc.add('403')
console.log('removing kazoo')
bodyc.remove('kazoo')
console.log('removing jack')
bodyc.remove('jack')
console.log('dun')
</script>
</body>

View File

@ -21,12 +21,13 @@ h1.transred {
meta.colon_p {
color: rgba(255,255,255,0.5);
}
body.jack {
body.jack, body.kazoo, body.403 {
background-color: red;
}
body.jack {
background-image: url('pics/jack.png');
}
body.kazoo {
background-color: red;
background-image: url('pics/kazoo.png');
}
p, a, h1, h2, li {