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

 
(15 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<html>
 
<html>
 
<head>
 
<head>
<meta charset="utf-8">
 
 
 
<script src="js/jquery.min.js"></script>
 
 
 
<style>
 
<style>
 
* {
 
* {
Line 20: Line 15:
 
#starsBox {
 
#starsBox {
 
   position: fixed;
 
   position: fixed;
   top: 0;
+
   top: 75px;
 
   left: 0;
 
   left: 0;
 
   right: 0;
 
   right: 0;
   bottom: 0;
+
   bottom: 0px;
 
   background: rgba(0, 0, 0, 0.75);
 
   background: rgba(0, 0, 0, 0.75);
 
   opacity: .5;
 
   opacity: .5;
Line 41: Line 36:
 
<div id="starsBox"></div>
 
<div id="starsBox"></div>
  
<p>布满星星的天空</p>
+
 
  
 
<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 = 250;
+
var stars = 200;
  
 
for (var i = 0; i <= stars; i++) {
 
for (var i = 0; i <= stars; i++) {
Line 67: Line 62:
 
}, 100000);
 
}, 100000);
 
</script>
 
</script>
 +
 +
  
 
</body>
 
</body>
 
</html>
 
</html>

Latest revision as of 15:34, 2 October 2018