Skip to content

Commit 7400f60

Browse files
authored
COMP
1 parent cd913bc commit 7400f60

File tree

1 file changed

+95
-0
lines changed

1 file changed

+95
-0
lines changed

public/index.html

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,101 @@
1919
</head>
2020

2121
<body>
22+
<script type="text/javascript" src="https://code.jquery.com/jquery-1.8.2.js"></script>
23+
<style type="text/css">
24+
#overlay {
25+
position: fixed;
26+
top: 0;
27+
left: 0;
28+
width: 100%;
29+
height: 100%;
30+
background-color: #000;
31+
filter:alpha(opacity=70);
32+
-moz-opacity:0.7;
33+
-khtml-opacity: 0.7;
34+
opacity: 0.7;
35+
z-index: 100;
36+
display: none;
37+
}
38+
.cnt223 a{
39+
text-decoration: none;
40+
}
41+
.popup{
42+
width: 100%;
43+
margin: 0 auto;
44+
display: none;
45+
position: fixed;
46+
z-index: 101;
47+
}
48+
.cnt223{
49+
min-width: 600px;
50+
width: 600px;
51+
min-height: 150px;
52+
margin: 100px auto;
53+
background: #f3f3f3;
54+
position: relative;
55+
z-index: 103;
56+
padding: 15px 35px;
57+
border-radius: 5px;
58+
box-shadow: 0 2px 5px #000;
59+
}
60+
.cnt223 p{
61+
clear: both;
62+
color: #555555;
63+
/* text-align: justify; */
64+
font-size: 20px;
65+
font-family: sans-serif;
66+
}
67+
.cnt223 p a{
68+
color: #d91900;
69+
font-weight: bold;
70+
}
71+
.cnt223 .x{
72+
float: right;
73+
height: 35px;
74+
left: 22px;
75+
position: relative;
76+
top: -25px;
77+
width: 34px;
78+
}
79+
.cnt223 .x:hover{
80+
cursor: pointer;
81+
}
82+
</style>
83+
<script type='text/javascript'>
84+
$(function(){
85+
var overlay = $('<div id="overlay"></div>');
86+
overlay.show();
87+
overlay.appendTo(document.body);
88+
$('.popup').show();
89+
$('.close').click(function(){
90+
$('.popup').hide();
91+
overlay.appendTo(document.body).remove();
92+
return false;
93+
});
94+
95+
96+
97+
98+
$('.x').click(function(){
99+
$('.popup').hide();
100+
overlay.appendTo(document.body).remove();
101+
return false;
102+
});
103+
});
104+
</script>
105+
<div class='popup'>
106+
<div class='cnt223'>
107+
<h1>Important Notice</h1>
108+
<p>
109+
We are hosting a Competition on Friday the 13th, Check our Discord server for more.
110+
<a href='https://discord.gg/9jtcVZ3tWm'>Discord</a>
111+
<br/>
112+
<br/>
113+
<a href='' class='close'>Close</a>
114+
</p>
115+
</div>
116+
</div>
22117
<noscript>You need to enable JavaScript to run this app.</noscript>
23118
<div id="root"></div>
24119
</body>

0 commit comments

Comments
 (0)