PraneshJs commited on
Commit
57c5c24
·
verified ·
1 Parent(s): e426f21

enhanced the style of update markdown

Browse files
Files changed (1) hide show
  1. app.py +66 -7
app.py CHANGED
@@ -1390,13 +1390,72 @@ with gr.Blocks(
1390
  gr.Markdown("##### Search for Reward Points, Redemption Dates and Innovative Practice (IP) Details")
1391
  gr.Markdown("##### எல்லா புகழும் இறைவனுக்கே ✝ 🕉 ☪")
1392
  gr.Markdown(
1393
- """
1394
- <div style="background: linear-gradient(90deg, #0072ff, #00c6ff); padding: 14px 18px; border-radius: 10px; color: white; font-weight: 600; font-size: 16px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.15);">
1395
- 🎉 <strong>UPDATE:</strong> <span style="color:#fffbe6;">IP Details for <u>2nd Year Students(Both Lateral and Regular)</u> are now available!</span>
1396
- 💡 You can check your IP details from the IP search section below use desktop mode to find it or press the 3 dots to find.
1397
- </div>
1398
- """
1399
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1400
  gr.Markdown("""
1401
  ***Available Features*** :
1402
  **🔍 Student Search Tab**,
 
1390
  gr.Markdown("##### Search for Reward Points, Redemption Dates and Innovative Practice (IP) Details")
1391
  gr.Markdown("##### எல்லா புகழும் இறைவனுக்கே ✝ 🕉 ☪")
1392
  gr.Markdown(
1393
+ """
1394
+ <style>
1395
+ /* Neon Glow + Gradient Animation */
1396
+ .glow-banner {
1397
+ background: linear-gradient(90deg, #8e2de2, #ff6fd8, #ff9ee3, #8e2de2);
1398
+ background-size: 300% 300%;
1399
+ animation: gradientShift 6s ease infinite, glowPulse 2s infinite ease-in-out, scalePulse 3s infinite ease-in-out;
1400
+ padding: 18px 22px;
1401
+ border-radius: 14px;
1402
+ color: white;
1403
+ font-weight: 700;
1404
+ font-size: 18px;
1405
+ text-align: center;
1406
+ box-shadow:
1407
+ 0 0 18px rgba(255,0,180,0.7),
1408
+ 0 0 30px rgba(255,100,220,0.6),
1409
+ inset 0 0 12px rgba(255,255,255,0.2);
1410
+ letter-spacing: 0.5px;
1411
+ }
1412
+
1413
+ /* Gradient Animation */
1414
+ @keyframes gradientShift {
1415
+ 0% { background-position: 0% 50%; }
1416
+ 50% { background-position: 100% 50%; }
1417
+ 100% { background-position: 0% 50%; }
1418
+ }
1419
+
1420
+ /* Neon Outer Glow */
1421
+ @keyframes glowPulse {
1422
+ 0% {
1423
+ box-shadow:
1424
+ 0 0 10px rgba(255,0,150,0.6),
1425
+ 0 0 20px rgba(255,0,150,0.4),
1426
+ 0 0 35px rgba(255,150,220,0.3);
1427
+ }
1428
+ 50% {
1429
+ box-shadow:
1430
+ 0 0 20px rgba(255,0,180,0.9),
1431
+ 0 0 40px rgba(255,100,240,0.7),
1432
+ 0 0 60px rgba(255,180,255,0.5);
1433
+ }
1434
+ 100% {
1435
+ box-shadow:
1436
+ 0 0 10px rgba(255,0,150,0.6),
1437
+ 0 0 20px rgba(255,0,150,0.4),
1438
+ 0 0 35px rgba(255,150,220,0.3);
1439
+ }
1440
+ }
1441
+
1442
+ /* Subtle Scale Animation */
1443
+ @keyframes scalePulse {
1444
+ 0% { transform: scale(1); }
1445
+ 50% { transform: scale(1.03); }
1446
+ 100% { transform: scale(1); }
1447
+ }
1448
+ </style>
1449
+
1450
+ <div class="glow-banner">
1451
+ ✨🎉 <strong>UPDATE AVAILABLE!</strong> 🎉✨<br>
1452
+ <span style="color:#fffbe6; font-size: 17px;">
1453
+ IP Details for <u>2nd Year Students (Lateral & Regular)</u> are now LIVE!
1454
+ </span><br>
1455
+ 💡 Check the <strong>IP Search</strong> section below.
1456
+ </div>
1457
+ """
1458
+ )
1459
  gr.Markdown("""
1460
  ***Available Features*** :
1461
  **🔍 Student Search Tab**,