neerajkalyank commited on
Commit
afde41b
1 Parent(s): 507ce13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +48 -25
app.py CHANGED
@@ -89,16 +89,22 @@ body {
89
  justify-content: center;
90
  align-items: center;
91
  min-height: 100vh;
 
92
  }
93
 
94
- /* Heading Colors */
95
- h1 {
96
- color: #00796b; /* Deep teal for main headings */
97
- text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
 
 
 
 
 
 
98
  }
99
- h2, h3, h4, h5, h6 {
100
- color: #00838f; /* Soft blue-green for subheadings */
101
- text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
102
  }
103
 
104
  /* Header Styling */
@@ -107,43 +113,60 @@ h2, h3, h4, h5, h6 {
107
  text-align: center;
108
  font-weight: 700;
109
  font-size: 2.5em;
110
- margin-bottom: 20px;
111
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
112
  letter-spacing: 1px;
113
  transition: color 0.3s ease;
114
  }
115
  #header:hover {
116
- color: #00695c;
117
- transform: scale(1.05);
118
  }
119
 
120
- /* Container Style */
121
- .gradio-container {
122
- max-width: 850px;
123
- margin: 30px auto;
124
- padding: 40px;
125
- background: linear-gradient(135deg, #ffffff, #e0f2f1);
126
- border-radius: 12px;
127
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
128
- color: #333333;
129
  }
130
 
131
  /* Form Field Styles */
132
  input, select, textarea {
133
- max-width: 700px;
134
  border: 1px solid #004d40;
135
  border-radius: 8px;
136
- padding: 10px 12px;
137
  background: #fafafa;
138
  color: #333333;
139
- font-size: 15px;
140
  margin-bottom: 15px;
141
  transition: all 0.3s ease;
142
- box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
143
  }
144
  input:focus, select:focus, textarea:focus {
145
  border-color: #26a69a;
146
- box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  }
148
 
149
  /* Radio Button Group Styling */
@@ -216,7 +239,7 @@ input:focus, select:focus, textarea:focus {
216
  }
217
  .nav-tabs .nav-item {
218
  font-size: 1.2em !important;
219
- color: #333333 !important; /* Soft gray for inactive tabs */
220
  padding: 10px 18px !important;
221
  cursor: pointer !important;
222
  font-weight: 500 !important;
 
89
  justify-content: center;
90
  align-items: center;
91
  min-height: 100vh;
92
+ overflow: hidden;
93
  }
94
 
95
+ /* Main Container */
96
+ .gradio-container {
97
+ max-width: 900px;
98
+ margin: 30px auto;
99
+ padding: 40px;
100
+ background: linear-gradient(135deg, #ffffff, #e8f5e9);
101
+ border-radius: 15px;
102
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
103
+ color: #333333;
104
+ transition: transform 0.3s ease;
105
  }
106
+ .gradio-container:hover {
107
+ transform: scale(1.02);
 
108
  }
109
 
110
  /* Header Styling */
 
113
  text-align: center;
114
  font-weight: 700;
115
  font-size: 2.5em;
116
+ margin-bottom: 25px;
117
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
118
  letter-spacing: 1px;
119
  transition: color 0.3s ease;
120
  }
121
  #header:hover {
122
+ color: #00796b;
 
123
  }
124
 
125
+ /* Heading Colors */
126
+ h1 {
127
+ color: #00796b; /* Deep teal for main headings */
128
+ text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
129
+ }
130
+ h2, h3, h4, h5, h6 {
131
+ color: #00838f; /* Soft blue-green for subheadings */
132
+ text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
 
133
  }
134
 
135
  /* Form Field Styles */
136
  input, select, textarea {
137
+ width: 100%;
138
  border: 1px solid #004d40;
139
  border-radius: 8px;
140
+ padding: 12px 14px;
141
  background: #fafafa;
142
  color: #333333;
143
+ font-size: 16px;
144
  margin-bottom: 15px;
145
  transition: all 0.3s ease;
146
+ box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
147
  }
148
  input:focus, select:focus, textarea:focus {
149
  border-color: #26a69a;
150
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
151
+ background: #f1f8e9;
152
+ }
153
+
154
+ /* Button Styles */
155
+ button {
156
+ font-size: 1em;
157
+ font-weight: 600;
158
+ padding: 12px 24px;
159
+ border-radius: 8px;
160
+ border: none;
161
+ background-color: #00796b;
162
+ color: #ffffff;
163
+ cursor: pointer;
164
+ box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
165
+ transition: background-color 0.3s ease, transform 0.3s ease;
166
+ }
167
+ button:hover {
168
+ background-color: #004d40;
169
+ transform: translateY(-2px);
170
  }
171
 
172
  /* Radio Button Group Styling */
 
239
  }
240
  .nav-tabs .nav-item {
241
  font-size: 1.2em !important;
242
+ color: #333333 !important;
243
  padding: 10px 18px !important;
244
  cursor: pointer !important;
245
  font-weight: 500 !important;