|
|
|
@ -4,6 +4,7 @@
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<title>XPUB Special Issues</title>
|
|
|
|
|
<link rel="stylesheet" href="style.css">
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="header"><h1>XPUB Special Issues</h1></div>
|
|
|
|
@ -73,4 +74,31 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
function rand_deg(){
|
|
|
|
|
var deg = Math.round(Math.random()*180)+'deg';
|
|
|
|
|
return deg
|
|
|
|
|
}
|
|
|
|
|
function rand_rgb(){
|
|
|
|
|
function rand(){v = Math.round(Math.random()*255);
|
|
|
|
|
return v}
|
|
|
|
|
var color = 'rgb('+rand()+','+ rand() +','+ rand() + ')'
|
|
|
|
|
return color
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var gradient = 'background:linear-gradient(' +
|
|
|
|
|
rand_deg() + ',' +
|
|
|
|
|
rand_rgb() +
|
|
|
|
|
',' +
|
|
|
|
|
rand_rgb() +
|
|
|
|
|
')';
|
|
|
|
|
|
|
|
|
|
var body = document.getElementsByTagName("body")[0];
|
|
|
|
|
body.setAttribute("style", gradient);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</html>
|
|
|
|
|