xp3857 commited on
Commit
281118e
1 Parent(s): 4469684

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -8
app.py CHANGED
@@ -34,10 +34,7 @@ models=[
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{
@@ -45,10 +42,17 @@ t_out = ("""
45
  margin: 0;
46
  box-sizing: border-box;
47
  }
 
 
 
48
  #container{
49
- position: relative;
50
- width: 200px;
51
- height: 200px;
 
 
 
 
52
  }
53
  #main_image{
54
  width: 100%;
@@ -106,6 +110,11 @@ t_out = ("""
106
  }
107
 
108
  </style>
 
 
 
 
 
109
  <div class="popup">
110
  <button id="close">&times;</button>
111
  <h2>Automatic Pop-Up</h2>
@@ -114,7 +123,7 @@ t_out = ("""
114
  </p>
115
  <a href="#">Let's Go</a>
116
  </div>
117
-
118
  <!--Script-->
119
  <script type="text/javascript">
120
  window.addEventListener("load", function(){
 
34
  o = "V"
35
 
36
  t_out = ("""
37
+ <style>
 
 
 
38
  *,
39
  *:before,
40
  *:after{
 
42
  margin: 0;
43
  box-sizing: border-box;
44
  }
45
+
46
+
47
+
48
  #container{
49
+ position: fixed;
50
+ width: 100%;
51
+ height: 100%;
52
+ top: 0px;
53
+ left: 0px;
54
+ z-index:19999;
55
+
56
  }
57
  #main_image{
58
  width: 100%;
 
110
  }
111
 
112
  </style>
113
+
114
+ <div id="container">
115
+
116
+
117
+
118
  <div class="popup">
119
  <button id="close">&times;</button>
120
  <h2>Automatic Pop-Up</h2>
 
123
  </p>
124
  <a href="#">Let's Go</a>
125
  </div>
126
+ </div>
127
  <!--Script-->
128
  <script type="text/javascript">
129
  window.addEventListener("load", function(){