Nathan Chang commited on
Commit
5f6b740
·
1 Parent(s): cfb1f0a

some design changes

Browse files
Files changed (1) hide show
  1. app.py +17 -11
app.py CHANGED
@@ -20,7 +20,9 @@ css = """
20
  }
21
 
22
  #rainbow-btn {
23
- text-shadow: 1px 1px 2px black !important;
 
 
24
  }
25
 
26
  #rainbow-btn:hover {
@@ -28,16 +30,20 @@ css = """
28
  }
29
 
30
  h1 {
31
- background: linear-gradient(45deg, #4169e1, #87ceeb, #4169e1) !important;
32
- -webkit-background-clip: text !important;
33
- -webkit-text-fill-color: transparent !important;
34
- background-clip: text !important;
35
- text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
36
- font-size: 4.5em !important;
37
- font-weight: 700 !important;
38
- font-family: "Impact", "Arial Black", sans-serif !important;
39
  text-align: center !important;
40
- letter-spacing: 2px !important;
 
 
 
 
 
 
 
 
41
  }
42
  """
43
 
@@ -80,7 +86,7 @@ with gr.Blocks(
80
  "Once you find a prompt you like, paste it at the top of your next AI conversation to bring it to life!"
81
  )
82
 
83
- generate_btn = gr.Button("SPIN", variant="primary", elem_id="rainbow-btn")
84
  output_text = gr.Textbox(
85
  label="Your New Prompt",
86
  lines=8,
 
20
  }
21
 
22
  #rainbow-btn {
23
+ background: #e4e4e7;
24
+ color: black !important;
25
+ text-shadow: none !important;
26
  }
27
 
28
  #rainbow-btn:hover {
 
30
  }
31
 
32
  h1 {
33
+ color: #d4af37 !important;
34
+ font-size: 2.5em !important;
35
+ font-weight: 800 !important;
36
+ font-family: "Georgia", serif !important;
 
 
 
 
37
  text-align: center !important;
38
+ letter-spacing: 3px !important;
39
+ text-transform: uppercase !important;
40
+ border: 6px double #d4af37 !important;
41
+ padding: 30px !important;
42
+ margin: 20px 0 !important;
43
+ border-radius: 0 !important;
44
+ background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
45
+ text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
46
+ position: relative !important;
47
  }
48
  """
49
 
 
86
  "Once you find a prompt you like, paste it at the top of your next AI conversation to bring it to life!"
87
  )
88
 
89
+ generate_btn = gr.Button("🌀", variant="primary", elem_id="rainbow-btn")
90
  output_text = gr.Textbox(
91
  label="Your New Prompt",
92
  lines=8,