WatchOutForMike commited on
Commit
1723f59
·
1 Parent(s): 8957c3f

Updated CSS

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -2396,7 +2396,15 @@ css = '''
2396
  #progress .generating{display:none}
2397
  .progress-container {width: 100%;height: 30px;background-color: #f0f0f0;border-radius: 15px;overflow: hidden;margin-bottom: 20px}
2398
  .progress-bar {height: 100%;background-color: #d2691e;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
2399
- body {background: url('https://www.transparenttextures.com/patterns/black-linen.png') center; font-family: 'Cinzel', serif; color: #ffd700;}
 
 
 
 
 
 
 
 
2400
  '''
2401
 
2402
  with gr.Blocks(theme="YTheme/Minecraft", css=css, delete_cache=(60, 60)) as app:
@@ -2515,4 +2523,4 @@ with gr.Blocks(theme="YTheme/Minecraft", css=css, delete_cache=(60, 60)) as app:
2515
  )
2516
 
2517
  app.queue()
2518
- app.launch()
 
2396
  #progress .generating{display:none}
2397
  .progress-container {width: 100%;height: 30px;background-color: #f0f0f0;border-radius: 15px;overflow: hidden;margin-bottom: 20px}
2398
  .progress-bar {height: 100%;background-color: #d2691e;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
2399
+ /* Specific to the Gradio app */
2400
+
2401
+ /* Target specific elements for the body yellow text */
2402
+ #title p, #title a, #gallery, #lora_list, .card_internal, .styler, #progress, .progress-container{
2403
+ color: #ffd700;
2404
+ }
2405
+ #title h1{font-size: 3em; display:inline-flex; align-items:center; color: #ffd700;}
2406
+ body {background: url('https://www.transparenttextures.com/patterns/black-linen.png') center; font-family: 'Cinzel', serif;}
2407
+
2408
  '''
2409
 
2410
  with gr.Blocks(theme="YTheme/Minecraft", css=css, delete_cache=(60, 60)) as app:
 
2523
  )
2524
 
2525
  app.queue()
2526
+ app.launch()