Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -447,25 +447,29 @@ citation_css = """
|
|
447 |
"""
|
448 |
|
449 |
about_image_css = """
|
450 |
-
/* --- CSS for the Image in the About Tab --- */
|
451 |
-
#intro-image
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
|
|
|
|
|
|
|
|
462 |
}
|
463 |
|
464 |
/* Optional: Different styles for smaller screens */
|
465 |
@media (max-width: 768px) {
|
466 |
#intro-image img {
|
467 |
-
max-width: 100%;
|
468 |
-
width: 95%;
|
469 |
margin-top: 1.5rem;
|
470 |
}
|
471 |
}
|
|
|
447 |
"""
|
448 |
|
449 |
about_image_css = """
|
450 |
+
/* --- CSS for the Image container in the About Tab --- */
|
451 |
+
#intro-image {
|
452 |
+
background-color: transparent !important;
|
453 |
+
padding: 0 !important;
|
454 |
+
border: none !important;
|
455 |
+
}
|
456 |
+
|
457 |
+
/* --- CSS for the Image tag itself in the About Tab --- */
|
458 |
+
#intro-image img { /* Target the actual <img> tag */
|
459 |
+
display: block;
|
460 |
+
max-width: 800px;
|
461 |
+
width: 90%;
|
462 |
+
height: auto;
|
463 |
+
margin: 2rem auto 1rem auto; /* Adjusted margin slightly */
|
464 |
+
border-radius: 8px;
|
465 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
466 |
}
|
467 |
|
468 |
/* Optional: Different styles for smaller screens */
|
469 |
@media (max-width: 768px) {
|
470 |
#intro-image img {
|
471 |
+
max-width: 100%;
|
472 |
+
width: 95%;
|
473 |
margin-top: 1.5rem;
|
474 |
}
|
475 |
}
|