Kabatubare
commited on
Commit
•
17358c8
1
Parent(s):
7e842a3
Update style.css
Browse files
style.css
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
-
/* style.css content for
|
2 |
body {
|
3 |
background-color: #f0f0f0;
|
4 |
-
font-family: '
|
5 |
}
|
6 |
|
|
|
|
|
7 |
.gradio-app {
|
8 |
max-width: 1200px;
|
9 |
margin: auto;
|
@@ -14,11 +16,27 @@ body {
|
|
14 |
|
15 |
.button, .input, .output {
|
16 |
margin-bottom: 20px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
18 |
|
19 |
.label {
|
20 |
font-weight: bold;
|
21 |
margin-bottom: 5px;
|
|
|
22 |
}
|
23 |
|
24 |
.tab {
|
@@ -27,6 +45,8 @@ body {
|
|
27 |
padding: 10px 20px;
|
28 |
cursor: pointer;
|
29 |
font-size: 16px;
|
|
|
|
|
30 |
}
|
31 |
|
32 |
.tab.active {
|
@@ -44,4 +64,10 @@ body {
|
|
44 |
border-radius: 5px;
|
45 |
max-width: 100%;
|
46 |
height: auto;
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
}
|
|
|
1 |
+
/* Enhanced style.css content for a more dynamic UI */
|
2 |
body {
|
3 |
background-color: #f0f0f0;
|
4 |
+
font-family: 'Roboto', sans-serif; /* Change to a more dynamic font */
|
5 |
}
|
6 |
|
7 |
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
|
8 |
+
|
9 |
.gradio-app {
|
10 |
max-width: 1200px;
|
11 |
margin: auto;
|
|
|
16 |
|
17 |
.button, .input, .output {
|
18 |
margin-bottom: 20px;
|
19 |
+
border: none; /* Removes default border */
|
20 |
+
padding: 10px 15px; /* Adjust padding */
|
21 |
+
border-radius: 8px; /* Adds rounded corners */
|
22 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow for depth */
|
23 |
+
transition: all 0.2s ease; /* Smooth transition for interactions */
|
24 |
+
}
|
25 |
+
|
26 |
+
.button {
|
27 |
+
background-color: #4CAF50; /* More vibrant button color */
|
28 |
+
color: white;
|
29 |
+
font-weight: 500; /* Medium font weight for better readability */
|
30 |
+
}
|
31 |
+
|
32 |
+
.button:hover {
|
33 |
+
background-color: #43A047; /* Slightly darker on hover */
|
34 |
}
|
35 |
|
36 |
.label {
|
37 |
font-weight: bold;
|
38 |
margin-bottom: 5px;
|
39 |
+
color: #333; /* Darker color for better contrast */
|
40 |
}
|
41 |
|
42 |
.tab {
|
|
|
45 |
padding: 10px 20px;
|
46 |
cursor: pointer;
|
47 |
font-size: 16px;
|
48 |
+
border-radius: 5px; /* Rounded corners for tabs */
|
49 |
+
transition: background-color 0.2s ease; /* Smooth transition for tab background */
|
50 |
}
|
51 |
|
52 |
.tab.active {
|
|
|
64 |
border-radius: 5px;
|
65 |
max-width: 100%;
|
66 |
height: auto;
|
67 |
+
box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Adds shadow to images for depth */
|
68 |
+
}
|
69 |
+
|
70 |
+
.markdown {
|
71 |
+
line-height: 1.5; /* Improves readability of markdown text */
|
72 |
+
color: #4A4A4A; /* Slightly softer text color for easier reading */
|
73 |
}
|