Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -113,8 +113,25 @@ with gr.Blocks(css='style.css') as demo:
|
|
113 |
"""
|
114 |
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
115 |
<div>
|
116 |
-
<
|
117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
</h1>
|
119 |
</div>
|
120 |
<p style="margin-bottom: 10px; color: #ffaa66;">
|
|
|
113 |
"""
|
114 |
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
115 |
<div>
|
116 |
+
<style>
|
117 |
+
h1 {
|
118 |
+
font-size: 6em;
|
119 |
+
color: #ffaa66;
|
120 |
+
position: absolute;
|
121 |
+
margin: 0;
|
122 |
+
padding: 0;
|
123 |
+
transform-origin: bottom;
|
124 |
+
transform: skewX(50deg);
|
125 |
+
}
|
126 |
+
h1::before {
|
127 |
+
content: attr(data-title);
|
128 |
+
position: absolute;
|
129 |
+
color: #fff;
|
130 |
+
transform-origin: bottom;
|
131 |
+
transform: skewX(-50deg)
|
132 |
+
}
|
133 |
+
</style>
|
134 |
+
<h1> DreamAnything
|
135 |
</h1>
|
136 |
</div>
|
137 |
<p style="margin-bottom: 10px; color: #ffaa66;">
|