Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,6 +46,35 @@ loader_html = """
|
|
| 46 |
</style>
|
| 47 |
"""
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
article_text = """
|
| 50 |
<div style="text-align: center;">
|
| 51 |
<p>Leer zelf Generative AI-tools te bouwen en te begrijpen!</p>
|
|
|
|
| 46 |
</style>
|
| 47 |
"""
|
| 48 |
|
| 49 |
+
# ============================================================
|
| 50 |
+
# ADDED: Custom CSS for the button
|
| 51 |
+
# ============================================================
|
| 52 |
+
button_css = """
|
| 53 |
+
<style>
|
| 54 |
+
/* Style for the button */
|
| 55 |
+
.custom-button {
|
| 56 |
+
background-color: black; /* Black background */
|
| 57 |
+
color: white; /* White text */
|
| 58 |
+
border: none; /* No border */
|
| 59 |
+
padding: 15px 30px; /* Padding */
|
| 60 |
+
font-size: 16px; /* Font size */
|
| 61 |
+
border-radius: 25px; /* Rounded corners (fully rounded) */
|
| 62 |
+
cursor: pointer; /* Pointer cursor on hover */
|
| 63 |
+
transition: background-color 0.3s ease; /* Smooth transition */
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
/* Hover effect */
|
| 67 |
+
.custom-button:hover {
|
| 68 |
+
background-color: #333333; /* Slightly lighter black on hover */
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
/* Active (click) effect */
|
| 72 |
+
.custom-button:active {
|
| 73 |
+
background-color: #666666; /* Even lighter black on click */
|
| 74 |
+
}
|
| 75 |
+
</style>
|
| 76 |
+
"""
|
| 77 |
+
|
| 78 |
article_text = """
|
| 79 |
<div style="text-align: center;">
|
| 80 |
<p>Leer zelf Generative AI-tools te bouwen en te begrijpen!</p>
|