Skip to content

Commit 69be9e9

Browse files
fix : particle-js added to 404 page
1 parent 2bd00bd commit 69be9e9

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

404.html

+27
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,21 @@
4747
width: 550px;
4848
height: 550px;
4949
}
50+
#particles-js{
51+
position: absolute;
52+
width: 100%;
53+
height: 100%;
54+
background-color: white;
55+
background-image: url('');
56+
background-size: cover;
57+
background-repeat: no-repeat;
58+
}
59+
.siteWrapper {
60+
position: fixed;
61+
overflow: auto;
62+
width: 100%;
63+
height: 100%;
64+
}
5065
@media all and (max-width: 1024px) {
5166
img{
5267
width: 90%;
@@ -55,8 +70,17 @@
5570

5671

5772
}
73+
@media all and (max-width: 1024px) and (orientation:landscape){
74+
img{
75+
76+
width: 55%;
77+
height: 90%;
78+
}
79+
}
5880
</style>
5981
<body >
82+
<div id="particles-js"> </div>
83+
<div class="siteWrapper" id="siteWrapper">
6084
<div class="Error-page" >
6185
<img src="http://www.lightsout.ir/images/404.png"/ alt="lightsout logo">
6286
<br/>
@@ -65,6 +89,9 @@
6589
<a href="http://www.lightsout.ir">Back To Game</a>
6690
</div>
6791
</div>
92+
</div>
93+
<script src="http://www.lightsout.ir/js/particles.min.js"></script>
94+
<script src="http://www.lightsout.ir/js/app.min.js"></script>
6895
</body>
6996

7097

0 commit comments

Comments
 (0)