Difference between revisions of "Template:NAU-CHINA/bg"

Line 40: Line 40:
 
<script type="text/javascript">
 
<script type="text/javascript">
 
var cols = ['#f5d76e','#f7ca18','#f4d03f','#ececec','#ecf0f1','#a2ded0'];
 
var cols = ['#f5d76e','#f7ca18','#f4d03f','#ececec','#ecf0f1','#a2ded0'];
var stars = 200;
+
var stars = 5000;
  
 
for (var i = 0; i <= stars; i++) {
 
for (var i = 0; i <= stars; i++) {
  
var size = Math.random()*300;
+
var size = Math.random()*3;
 
   var color = cols[parseInt(Math.random()*4)];
 
   var color = cols[parseInt(Math.random()*4)];
  

Revision as of 15:34, 2 October 2018