Omnibus commited on
Commit
ff29c91
1 Parent(s): ba49f41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -15,7 +15,7 @@ def search_fn(query):
15
  out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
16
  out = out[0]
17
 
18
- frame_l=f'<div><a href="{out}">{out}</a><br></div><div class="container-mee"><iframe class="responsive-iframe-mee" src="{out}" frameborder="3"></iframe></div>'
19
 
20
  file.writelines(frame_l)
21
 
@@ -37,7 +37,10 @@ def test(inp):
37
  with open("myfile.txt", "r") as file1:
38
  html_out = file1.read()
39
  style = '''
40
-
 
 
 
41
  .grid-mee {
42
  display: flex;
43
  flex-direction: row;
 
15
  out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
16
  out = out[0]
17
 
18
+ frame_l=f'<div class="container-mee"><a class="put-on-top" href="{out}">{out}</a><iframe class="responsive-iframe-mee" src="{out}" frameborder="3"></iframe></div>'
19
 
20
  file.writelines(frame_l)
21
 
 
37
  with open("myfile.txt", "r") as file1:
38
  html_out = file1.read()
39
  style = '''
40
+ .put-on-top{
41
+ background: red;
42
+ z-index: 999;
43
+ }
44
  .grid-mee {
45
  display: flex;
46
  flex-direction: row;