krogoldAI commited on
Commit
41a6890
·
verified ·
1 Parent(s): dc9cac1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -7
README.md CHANGED
@@ -230,7 +230,7 @@ body, .gradio-container {
230
  height: auto;
231
  }
232
 
233
- /* TO ADJUST THE FONT SIZE OF USER/ASSISTANT MESSAGESs */
234
  /* Reduce font size for chatbot messages */
235
  .message {
236
  font-size: 1.1rem !important;
@@ -246,14 +246,40 @@ body, .gradio-container {
246
 
247
  /* TO CHANGE THE COLOR OF RETRY/UNDO/CLEAR BUTTONS */
248
  button.sm.secondary.svelte-cmf5ev {
249
- background-color: white !important; /* Set background color to white */
250
- color: black !important; /* Set text color to black for contrast */
251
- border: none !important; /* Remove any border */
252
- box-shadow: none !important; /* Remove any shadow if present */
 
253
  }
254
- /* Optional: hover effect */
255
  button.sm.secondary.svelte-cmf5ev:hover {
256
- background-color: rgba(255, 255, 255, 0.8) !important; /* Slightly darker shade for hover */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  }
258
  """
259
 
@@ -366,6 +392,7 @@ demo.launch(server_name="0.0.0.0", share=True)
366
 
367
  (The above works in `runpod.io`.) The interface should look like this:
368
  ![Image description](Gradio-example.png)
 
369
 
370
  </details>
371
 
 
230
  height: auto;
231
  }
232
 
233
+ /* TO ADJUST THE FONT SIZE OF USER/ASSISTANT MESSAGES */
234
  /* Reduce font size for chatbot messages */
235
  .message {
236
  font-size: 1.1rem !important;
 
246
 
247
  /* TO CHANGE THE COLOR OF RETRY/UNDO/CLEAR BUTTONS */
248
  button.sm.secondary.svelte-cmf5ev {
249
+ background-color: white !important;
250
+ color: black !important;
251
+ border: 1.5px solid #F7D9DA !important;
252
+ box-shadow: none !important;
253
+ transition: background-color 0.3s ease;
254
  }
 
255
  button.sm.secondary.svelte-cmf5ev:hover {
256
+ background-color: #FEF2F2 !important;
257
+ }
258
+
259
+ /* TO ADD A COLORED BORDER ON BUTTONS */
260
+ .gradio-container .styler.svelte-iyf88w {
261
+ border: 1.5px solid #F7D9DA !important;
262
+ border-radius: 6px !important; /* Adjust this value as needed */
263
+ overflow: hidden !important; /* This ensures the content doesn't spill out of the rounded corners */
264
+ }
265
+
266
+ .gradio-container .styler.svelte-iyf88w,
267
+ button.sm.secondary.svelte-cmf5ev > div {
268
+ border-radius: 8px !important; /* Slightly smaller than the outer border radius */
269
+ background-color: white !important; /* Or whatever background color you prefer */
270
+ margin: 0 !important; /* Remove any margin that might be causing gaps */
271
+ }
272
+
273
+ /* TO ADD A COLORED BORDER ON CHAT BOX */
274
+ .gradio-container .bubble-wrap.svelte-1e1jlin {
275
+ border: 1.5px solid #F7D9DA !important;
276
+ border-radius: 8px !important; /* Adjust this value as needed */
277
+ overflow: hidden !important; /* This ensures the content doesn't spill out of the rounded corners */
278
+ }
279
+ .gradio-container .bubble-wrap.svelte-1e1jlin > div {
280
+ border-radius: 10px !important; /* Slightly smaller than the outer border radius */
281
+ background-color: white !important; /* Or whatever background color you prefer */
282
+ margin: 0 !important; /* Remove any margin that might be causing gaps */
283
  }
284
  """
285
 
 
392
 
393
  (The above works in `runpod.io`.) The interface should look like this:
394
  ![Image description](Gradio-example.png)
395
+ (We roughly followed the appearance of Céline's books published by Denoël, as well as those in the 'Collection Blanche' series by Gallimard, but you are free to modify the template if you wish.)
396
 
397
  </details>
398