-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (49 loc) · 1.21 KB
/
Copy pathindex.html
File metadata and controls
51 lines (49 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<style>
#popup{
display: none;
position: absolute;
text-align: center;
background:white;
border: 2px solid black;
width:550px;
top: 30%;
left: 50%;
transform: translate(-50%, -50%);
}
#close_popup{
display:block;
width:24px;
height:24px;
margin: 5px 5px 0 0;
background:url('https://github.com/Fruitfulcode/hfb/blob/master/window-close.png?raw=true');
float:right;
}
.popup_content {
float: left;
font-size: 20px;
padding: 10px 0;
}
.popup_content img {
margin: 0 auto 15px;
width: 50%;
height: auto;
}
.popup_content p {
color: black;
}
.popup_content .signup_popup {
padding: 10px 0;
}
</style>
<script>
setTimeout(function() { document.getElementById('popup').style.display='block'; }, 1000);
</script>
<div id="popup">
<a href="#" onclick="document.getElementById('popup').style.display='none';return false;" id="close_popup"></a>
<div class='popup_content'>
<img src="https://github.com/Fruitfulcode/hfb/blob/master/thumbnail.jpg?raw=true">
<p>Our website is under virtual construction.</p>
<p>Behind the scenes we are working hard <br>on a shiny, bright and new <br> online office.</p>
<p class="signup_popup">Sign in to our newsletter <br>below for the result.</p>
</div>
</div>