myn0908 commited on
Commit
191ce6d
1 Parent(s): e5bd268

update font title

Browse files
Files changed (2) hide show
  1. S2I/commons/css.py +15 -3
  2. app.py +2 -2
S2I/commons/css.py CHANGED
@@ -171,9 +171,21 @@ css = """
171
  padding: 10px;
172
  }
173
  }
174
- # .flex{
175
- # background-color: #0b0f19;
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="input_header")
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="output_header")
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,