ruslanmv commited on
Commit
7b18582
1 Parent(s): 765540e

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +78 -0
style.css ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* General Container Styles */
2
+ .gradio-container {
3
+ font-family: 'IBM Plex Sans', sans-serif;
4
+ max-width: 730px !important;
5
+ margin: auto;
6
+ padding-top: 1.5rem;
7
+ text-align: center; /* Center the content horizontally */
8
+ }
9
+ /* Button Styles */
10
+ .gr-button {
11
+ color: white;
12
+ background: #007bff; /* Use a primary color for the background */
13
+ white-space: nowrap;
14
+ border: none;
15
+ padding: 10px 20px;
16
+ border-radius: 8px;
17
+ cursor: pointer;
18
+ transition: background-color 0.3s, color 0.3s;
19
+ }
20
+ .gr-button:hover {
21
+ background-color: #0056b3; /* Darken the background color on hover */
22
+ }
23
+ /* Share Button Styles */
24
+ #share-btn-container {
25
+ padding: 0.5rem !important;
26
+ background-color: #007bff; /* Use a primary color for the background */
27
+ justify-content: center;
28
+ align-items: center;
29
+ border-radius: 9999px !important;
30
+ max-width: 13rem;
31
+ margin: 0 auto; /* Center the container horizontally */
32
+ transition: background-color 0.3s;
33
+ }
34
+ #share-btn-container:hover {
35
+ background-color: #0056b3; /* Darken the background color on hover */
36
+ }
37
+ #share-btn {
38
+ all: initial;
39
+ color: white; /* Change to white */
40
+ font-weight: 600;
41
+ cursor: pointer;
42
+ font-family: 'IBM Plex Sans', sans-serif;
43
+ margin: 0.5rem !important;
44
+ padding: 0.5rem !important;
45
+ }
46
+ /* Other Styles */
47
+ #gallery {
48
+ min-height: 22rem;
49
+ margin: auto; /* Center the gallery horizontally */
50
+ border-bottom-right-radius: 0.5rem !important;
51
+ border-bottom-left-radius: 0.5rem !important;
52
+ }
53
+ /* Centered Container for the Image */
54
+ .image-container {
55
+ max-width: 100%; /* Set the maximum width for the container */
56
+ margin: auto; /* Center the container horizontally */
57
+ padding: 20px; /* Add padding for spacing */
58
+ border: 1px solid #ccc; /* Add a subtle border to the container */
59
+ border-radius: 10px;
60
+ overflow: hidden; /* Hide overflow if the image is larger */
61
+ max-height: 22rem; /* Set a maximum height for the container */
62
+ }
63
+ /* Set a fixed size for the image */
64
+ .image-container img {
65
+ max-width: 100%; /* Ensure the image fills the container */
66
+ height: auto; /* Maintain aspect ratio */
67
+ max-height: 100%; /* Set a maximum height for the image */
68
+ border-radius: 10px;
69
+ box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
70
+ }
71
+ /* Change the color of the red text to yellow */
72
+ #content_align > span[style="color:darkred;font-size:32px;font-weight:bold"] {
73
+ color: yellow !important;
74
+ }
75
+ /* Change the color of the blue text to white */
76
+ #content_align > span[style="color:blue;font-size:16px;font-weight:bold"] {
77
+ color: white !important;
78
+ }