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> <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> <script>
var min = 0 var min = 0
var max = 1 var max = 2
console.log(min) console.log(min)
console.log(max) console.log(max)
var rn = Math.floor(Math.random()*(max-min+1)+min); var rn = Math.floor(Math.random()*(max-min+1)+min);
@ -22,6 +22,14 @@ if (rn == 0) {
console.log('removing kazoo') console.log('removing kazoo')
bodyc.remove('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') console.log('dun')
</script> </script>
</body> </body>

View File

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