update font title
Browse files- S2I/commons/css.py +15 -3
- app.py +2 -2
S2I/commons/css.py
CHANGED
@@ -171,9 +171,21 @@ css = """
|
|
171 |
padding: 10px;
|
172 |
}
|
173 |
}
|
174 |
-
|
175 |
-
#
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
"""
|
178 |
|
179 |
scripts = """
|
|
|
171 |
padding: 10px;
|
172 |
}
|
173 |
}
|
174 |
+
|
175 |
+
#title {
|
176 |
+
font-size: var(--title-font-size);
|
177 |
+
color: #333;
|
178 |
+
font-family: 'Helvetica Neue', sans-serif;
|
179 |
+
text-transform: uppercase;
|
180 |
+
background: transparent;
|
181 |
+
}
|
182 |
+
|
183 |
+
#title span {
|
184 |
+
background: linear-gradient(45deg, #4EACEF, #28b485);
|
185 |
+
background-clip: text;
|
186 |
+
color: transparent;
|
187 |
+
}
|
188 |
+
|
189 |
"""
|
190 |
|
191 |
scripts = """
|
app.py
CHANGED
@@ -185,7 +185,7 @@ with gr.Blocks(css=css, theme="NoCrypt/miku@1.2.1") as demo:
|
|
185 |
)
|
186 |
with gr.Row(elem_id="main_row"):
|
187 |
with gr.Column(elem_id="column_input"):
|
188 |
-
gr.Markdown("## SKETCH", elem_id="
|
189 |
image = gr.Sketchpad(
|
190 |
type="pil",
|
191 |
height=512,
|
@@ -207,7 +207,7 @@ with gr.Blocks(css=css, theme="NoCrypt/miku@1.2.1") as demo:
|
|
207 |
)
|
208 |
|
209 |
with gr.Column(elem_id="column_output"):
|
210 |
-
gr.Markdown("## IMAGE GENERATE", elem_id="
|
211 |
result = gr.Image(
|
212 |
label="Result",
|
213 |
height=440,
|
|
|
185 |
)
|
186 |
with gr.Row(elem_id="main_row"):
|
187 |
with gr.Column(elem_id="column_input"):
|
188 |
+
gr.Markdown("## SKETCH", elem_id="title")
|
189 |
image = gr.Sketchpad(
|
190 |
type="pil",
|
191 |
height=512,
|
|
|
207 |
)
|
208 |
|
209 |
with gr.Column(elem_id="column_output"):
|
210 |
+
gr.Markdown("## IMAGE GENERATE", elem_id="title")
|
211 |
result = gr.Image(
|
212 |
label="Result",
|
213 |
height=440,
|