Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,17 @@ models=[
|
|
34 |
o = "V"
|
35 |
|
36 |
t_out = ("""
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
#container{
|
41 |
position: fixed;
|
@@ -50,7 +59,7 @@ t_out = ("""
|
|
50 |
#main_image{
|
51 |
width: 100%;
|
52 |
height: 100%;
|
53 |
-
background:
|
54 |
}
|
55 |
#overlay_image{
|
56 |
position: absolute;
|
@@ -105,13 +114,14 @@ t_out = ("""
|
|
105 |
</style>
|
106 |
|
107 |
<div id="container">
|
108 |
-
|
109 |
<button id="close">×</button>
|
110 |
<h2>Automatic Pop-Up</h2>
|
111 |
<p>
|
112 |
Time Out!
|
113 |
</p>
|
114 |
<a href="#">Let's Go</a>
|
|
|
115 |
</div>
|
116 |
<!--Script-->
|
117 |
<script type="text/javascript">
|
|
|
34 |
o = "V"
|
35 |
|
36 |
t_out = ("""
|
37 |
+
|
38 |
+
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
39 |
+
<!--Stylesheets-->
|
40 |
+
<style media="screen">
|
41 |
+
*,
|
42 |
+
*:before,
|
43 |
+
*:after{
|
44 |
+
padding: 0;
|
45 |
+
margin: 0;
|
46 |
+
box-sizing: border-box;
|
47 |
+
}
|
48 |
|
49 |
#container{
|
50 |
position: fixed;
|
|
|
59 |
#main_image{
|
60 |
width: 100%;
|
61 |
height: 100%;
|
62 |
+
background: #ff000059;
|
63 |
}
|
64 |
#overlay_image{
|
65 |
position: absolute;
|
|
|
114 |
</style>
|
115 |
|
116 |
<div id="container">
|
117 |
+
<div class="popup">
|
118 |
<button id="close">×</button>
|
119 |
<h2>Automatic Pop-Up</h2>
|
120 |
<p>
|
121 |
Time Out!
|
122 |
</p>
|
123 |
<a href="#">Let's Go</a>
|
124 |
+
</div>
|
125 |
</div>
|
126 |
<!--Script-->
|
127 |
<script type="text/javascript">
|