Commit 4c5dc270 authored by Renon's avatar Renon

adds parity in background

parent 1fa21c2a
Pipeline #2577 passed with stages
in 12 seconds
...@@ -41,4 +41,22 @@ ...@@ -41,4 +41,22 @@
</div> </div>
</header> </header>
<script>
function choseOneBg() {
var index = Math.floor(Math.random() * 2);
if (index == 0) {
document.body.style.background = "linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url(../img/milmus.jpg)";
} else {
document.body.style.background = "linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)), url(../img/some4a.jpg)";
}
document.body.style.backgroundSize = "100%";
}
choseOneBg();
</script>
<div class="container"> <div class="container">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment