Spaces:
Sleeping
Sleeping
Madhumitha19
commited on
Commit
•
203b308
1
Parent(s):
cc00224
Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,8 @@ background_emojis = " ".join(emojis * 10) # Repeat the emojis to cover the back
|
|
40 |
background_style = f"""
|
41 |
<style>
|
42 |
body {{
|
|
|
|
|
43 |
background: linear-gradient(to right, #ffecd2, #fcb69f);
|
44 |
font-size: 30px;
|
45 |
background-size: 100% 100%;
|
@@ -51,16 +53,18 @@ background_style = f"""
|
|
51 |
}}
|
52 |
|
53 |
.content {{
|
54 |
-
|
55 |
padding: 20px;
|
56 |
border-radius: 10px;
|
57 |
text-align: center;
|
58 |
-
|
|
|
|
|
|
|
59 |
}}
|
60 |
</style>
|
61 |
<div class="content">
|
62 |
{background_emojis}
|
63 |
-
|
64 |
</div>
|
65 |
"""
|
66 |
|
|
|
40 |
background_style = f"""
|
41 |
<style>
|
42 |
body {{
|
43 |
+
margin: 0;
|
44 |
+
padding: 0;
|
45 |
background: linear-gradient(to right, #ffecd2, #fcb69f);
|
46 |
font-size: 30px;
|
47 |
background-size: 100% 100%;
|
|
|
53 |
}}
|
54 |
|
55 |
.content {{
|
56 |
+
margin: 0;
|
57 |
padding: 20px;
|
58 |
border-radius: 10px;
|
59 |
text-align: center;
|
60 |
+
background: rgba(255, 255, 255, 0.8);
|
61 |
+
opacity: 0.3;
|
62 |
+
width: 100%;
|
63 |
+
height: 100%;
|
64 |
}}
|
65 |
</style>
|
66 |
<div class="content">
|
67 |
{background_emojis}
|
|
|
68 |
</div>
|
69 |
"""
|
70 |
|