Prometech Computer Sciences Corp commited on
Commit
da64702
·
verified ·
1 Parent(s): 740bac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -12
app.py CHANGED
@@ -127,8 +127,7 @@ CUSTOM_CSS = """
127
  --terminal-font: 'VT323', monospace;
128
  }
129
 
130
- /* Body / root */
131
- html, body, .gradio-container {
132
  height: 100%;
133
  margin: 0;
134
  padding: 0;
@@ -137,9 +136,16 @@ html, body, .gradio-container {
137
  font-family: var(--terminal-font);
138
  font-size: 1.1rem;
139
  box-sizing: border-box;
 
 
 
 
 
 
 
 
140
  }
141
 
142
- /* Parallax star layers (CSS versiyon) */
143
  #stars,
144
  #stars2,
145
  #stars3 {
@@ -162,7 +168,7 @@ html, body, .gradio-container {
162
  1600px 100px #FFF,
163
  1800px 220px #FFF;
164
  animation: animStar 60s linear infinite;
165
- z-index: -3;
166
  }
167
 
168
  #stars2 {
@@ -177,7 +183,7 @@ html, body, .gradio-container {
177
  1550px 360px #FFF,
178
  1700px 300px #FFF;
179
  animation-duration: 100s;
180
- z-index: -4;
181
  }
182
 
183
  #stars3 {
@@ -190,7 +196,7 @@ html, body, .gradio-container {
190
  1500px 540px #FFF,
191
  1750px 500px #FFF;
192
  animation-duration: 140s;
193
- z-index: -5;
194
  }
195
 
196
  #stars::after,
@@ -211,27 +217,34 @@ html, body, .gradio-container {
211
 
212
  /* Header */
213
  .pb-header {
 
 
 
 
214
  text-align: center;
215
  color: #f5f7ff;
216
- margin-bottom: 12px;
 
217
  }
218
 
219
  .pb-logo {
220
- max-width: 360px;
 
 
221
  border-radius: 16px;
222
- box-shadow: 0 0 18px rgba(0,0,0,0.8);
223
  }
224
 
225
  .pb-header h1 {
226
- margin: 18px 0 4px;
227
- font-size: 1.8rem;
228
  letter-spacing: 0.08em;
229
  text-transform: uppercase;
230
  }
231
 
232
  .pb-subtitle {
233
  margin: 0;
234
- font-size: 0.95rem;
235
  opacity: 0.8;
236
  }
237
 
 
127
  --terminal-font: 'VT323', monospace;
128
  }
129
 
130
+ html, body {
 
131
  height: 100%;
132
  margin: 0;
133
  padding: 0;
 
136
  font-family: var(--terminal-font);
137
  font-size: 1.1rem;
138
  box-sizing: border-box;
139
+ overflow: hidden;
140
+ }
141
+
142
+ /* Gradio ana container - şeffaf ve üstte */
143
+ .gradio-container {
144
+ background: transparent !important;
145
+ position: relative;
146
+ z-index: 2;
147
  }
148
 
 
149
  #stars,
150
  #stars2,
151
  #stars3 {
 
168
  1600px 100px #FFF,
169
  1800px 220px #FFF;
170
  animation: animStar 60s linear infinite;
171
+ z-index: 0;
172
  }
173
 
174
  #stars2 {
 
183
  1550px 360px #FFF,
184
  1700px 300px #FFF;
185
  animation-duration: 100s;
186
+ z-index: 0;
187
  }
188
 
189
  #stars3 {
 
196
  1500px 540px #FFF,
197
  1750px 500px #FFF;
198
  animation-duration: 140s;
199
+ z-index: 0;
200
  }
201
 
202
  #stars::after,
 
217
 
218
  /* Header */
219
  .pb-header {
220
+ display: flex;
221
+ flex-direction: column;
222
+ align-items: center;
223
+ justify-content: center;
224
  text-align: center;
225
  color: #f5f7ff;
226
+ margin: 10px auto 12px;
227
+ max-width: 780px;
228
  }
229
 
230
  .pb-logo {
231
+ max-width: 220px;
232
+ width: 40%;
233
+ min-width: 140px;
234
  border-radius: 16px;
235
+ box-shadow: 0 0 14px rgba(0,0,0,0.8);
236
  }
237
 
238
  .pb-header h1 {
239
+ margin: 14px 0 4px;
240
+ font-size: 1.6rem;
241
  letter-spacing: 0.08em;
242
  text-transform: uppercase;
243
  }
244
 
245
  .pb-subtitle {
246
  margin: 0;
247
+ font-size: 0.9rem;
248
  opacity: 0.8;
249
  }
250