Update style.css
Browse files
style.css
CHANGED
@@ -1,42 +1,42 @@
|
|
1 |
-
/* Enhanced style.css content for a more dynamic UI */
|
2 |
body {
|
3 |
background-color: #f0f0f0;
|
4 |
-
font-family: '
|
|
|
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;
|
12 |
padding: 20px;
|
13 |
background-color: #ffffff;
|
14 |
-
box-shadow: 0
|
|
|
15 |
}
|
16 |
|
17 |
.button, .input, .output {
|
18 |
margin-bottom: 20px;
|
19 |
-
border:
|
20 |
-
|
21 |
-
|
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: #
|
28 |
color: white;
|
29 |
-
font-weight:
|
|
|
|
|
|
|
30 |
}
|
31 |
|
32 |
.button:hover {
|
33 |
-
background-color: #
|
34 |
}
|
35 |
|
36 |
.label {
|
37 |
font-weight: bold;
|
38 |
margin-bottom: 5px;
|
39 |
-
color: #
|
40 |
}
|
41 |
|
42 |
.tab {
|
@@ -45,29 +45,32 @@ body {
|
|
45 |
padding: 10px 20px;
|
46 |
cursor: pointer;
|
47 |
font-size: 16px;
|
48 |
-
|
49 |
-
transition:
|
|
|
50 |
}
|
51 |
|
52 |
.tab.active {
|
53 |
-
background-color: #
|
|
|
54 |
}
|
55 |
|
56 |
.row {
|
57 |
display: flex;
|
58 |
flex-wrap: wrap;
|
59 |
-
gap: 20px;
|
60 |
-
margin-bottom: 20px;
|
61 |
}
|
62 |
|
63 |
.image {
|
64 |
border-radius: 5px;
|
65 |
max-width: 100%;
|
66 |
-
|
67 |
-
box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Adds shadow to images for depth */
|
68 |
}
|
69 |
|
70 |
.markdown {
|
71 |
-
|
72 |
-
color: #
|
73 |
-
|
|
|
|
|
|
|
|
|
|
1 |
body {
|
2 |
background-color: #f0f0f0;
|
3 |
+
font-family: 'Arial', sans-serif;
|
4 |
+
color: #333; /* Slightly darker font color for better readability */
|
5 |
}
|
6 |
|
|
|
|
|
7 |
.gradio-app {
|
8 |
max-width: 1200px;
|
9 |
+
margin: 20px auto; /* Increased margin for a centered look */
|
10 |
padding: 20px;
|
11 |
background-color: #ffffff;
|
12 |
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* More pronounced shadow for depth */
|
13 |
+
border-radius: 8px; /* Rounded corners for modern app feel */
|
14 |
}
|
15 |
|
16 |
.button, .input, .output {
|
17 |
margin-bottom: 20px;
|
18 |
+
border: 1px solid #ddd; /* Subtle borders for inputs and buttons */
|
19 |
+
border-radius: 4px; /* Consistent rounded corners */
|
20 |
+
padding: 10px; /* Increased padding for better touch interaction */
|
|
|
|
|
21 |
}
|
22 |
|
23 |
.button {
|
24 |
+
background-color: #007bff; /* Brighter blue for a more engaging button */
|
25 |
color: white;
|
26 |
+
font-weight: bold;
|
27 |
+
text-transform: uppercase; /* Button text styling */
|
28 |
+
letter-spacing: 0.05em; /* Spaced out letters */
|
29 |
+
transition: background-color 0.3s ease; /* Smooth transition for hover effect */
|
30 |
}
|
31 |
|
32 |
.button:hover {
|
33 |
+
background-color: #0056b3; /* Darker shade on hover */
|
34 |
}
|
35 |
|
36 |
.label {
|
37 |
font-weight: bold;
|
38 |
margin-bottom: 5px;
|
39 |
+
color: #555; /* Darker labels for better visibility */
|
40 |
}
|
41 |
|
42 |
.tab {
|
|
|
45 |
padding: 10px 20px;
|
46 |
cursor: pointer;
|
47 |
font-size: 16px;
|
48 |
+
margin-right: 5px; /* Space between tabs */
|
49 |
+
transition: all 0.2s ease; /* Smooth transition for interaction */
|
50 |
+
border-radius: 20px; /* Rounded tabs for a softer look */
|
51 |
}
|
52 |
|
53 |
.tab.active {
|
54 |
+
background-color: #007bff;
|
55 |
+
color: white; /* Active tab with white text */
|
56 |
}
|
57 |
|
58 |
.row {
|
59 |
display: flex;
|
60 |
flex-wrap: wrap;
|
61 |
+
gap: 20px; /* Consistent spacing between elements */
|
|
|
62 |
}
|
63 |
|
64 |
.image {
|
65 |
border-radius: 5px;
|
66 |
max-width: 100%;
|
67 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow for images */
|
|
|
68 |
}
|
69 |
|
70 |
.markdown {
|
71 |
+
padding: 15px;
|
72 |
+
background-color: #f8f9fa; /* Light background for markdown sections */
|
73 |
+
border-left: 4px solid #007bff; /* Highlight bar */
|
74 |
+
margin-bottom: 20px; /* Spacing below text blocks */
|
75 |
+
border-radius: 4px; /* Matching rounded corners */
|
76 |
+
}
|