cyberandy commited on
Commit
1b313e6
·
verified ·
1 Parent(s): 0000f2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -13
app.py CHANGED
@@ -113,41 +113,42 @@ css = """
113
  overflow: auto;
114
  border: 1px solid #ccc;
115
  padding: 20px;
116
- font-size: 1.2em;
117
  border-radius: 8px;
118
  }
119
  button, select, input[type="button"], input[type="submit"] {
120
- background-color: #0056d2; /* WordLift blue */
121
  color: white;
122
- border-radius: 8px;
123
  padding: 10px 20px;
124
  border: none;
125
  font-size: 1em;
126
  cursor: pointer;
127
- box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
128
  }
129
  button:hover, select:hover, input[type="button"]:hover, input[type="submit"]:hover {
130
- background-color: #003da1; /* Darker shade of WordLift blue */
131
  }
132
  .gr-box {
133
  border: 1px solid #e1e1e1;
134
- border-radius: 8px;
135
- box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.05);
136
- padding: 20px;
137
  }
138
  .gr-block {
139
- margin-bottom: 20px;
140
  }
141
  .output-text {
142
- font-size: 1.4em;
143
  color: #000000;
144
- padding: 15px;
145
- border-radius: 8px;
146
- box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
147
  border: 1px solid #e1e1e1;
148
  }
149
  """
150
 
 
151
  with gr.Blocks(css=css) as demo:
152
  gr.Markdown("<h1>WordLift Product Description Generation - [FREE]</h1>")
153
  with gr.Tab(label="WordLift Product Description Generation"):
 
113
  overflow: auto;
114
  border: 1px solid #ccc;
115
  padding: 20px;
116
+ font-size: 1em; /* Reduced font size */
117
  border-radius: 8px;
118
  }
119
  button, select, input[type="button"], input[type="submit"] {
120
+ background-color: #3452db; /* Correct WordLift blue */
121
  color: white;
122
+ border-radius: 5px; /* Slightly smaller radius */
123
  padding: 10px 20px;
124
  border: none;
125
  font-size: 1em;
126
  cursor: pointer;
127
+ box-shadow: none; /* Removed heavy shadow */
128
  }
129
  button:hover, select:hover, input[type="button"]:hover, input[type="submit"]:hover {
130
+ background-color: #2c44ba; /* Slightly darker shade for hover */
131
  }
132
  .gr-box {
133
  border: 1px solid #e1e1e1;
134
+ border-radius: 5px;
135
+ box-shadow: none; /* Removed heavy shadow */
136
+ padding: 15px; /* Reduced padding */
137
  }
138
  .gr-block {
139
+ margin-bottom: 15px; /* Reduced margin */
140
  }
141
  .output-text {
142
+ font-size: 1.1em; /* Reduced font size */
143
  color: #000000;
144
+ padding: 10px; /* Reduced padding */
145
+ border-radius: 5px;
146
+ box-shadow: none; /* Removed heavy shadow */
147
  border: 1px solid #e1e1e1;
148
  }
149
  """
150
 
151
+
152
  with gr.Blocks(css=css) as demo:
153
  gr.Markdown("<h1>WordLift Product Description Generation - [FREE]</h1>")
154
  with gr.Tab(label="WordLift Product Description Generation"):