Spaces:
Runtime error
Runtime error
Commit
Β·
b7f5578
1
Parent(s):
8aa6e0d
style
Browse files
app.py
CHANGED
|
@@ -91,6 +91,27 @@ def init_leaderboard(dataframe):
|
|
| 91 |
|
| 92 |
demo = gr.Blocks(css=custom_css)
|
| 93 |
with demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
gr.HTML(TITLE)
|
| 95 |
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
| 96 |
|
|
|
|
| 91 |
|
| 92 |
demo = gr.Blocks(css=custom_css)
|
| 93 |
with demo:
|
| 94 |
+
gr.HTML(
|
| 95 |
+
"""
|
| 96 |
+
<style>
|
| 97 |
+
body {
|
| 98 |
+
background-color: #121212;
|
| 99 |
+
color: white;
|
| 100 |
+
margin: 0; /* Reset browser default */
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
/* Outer container margin & spacing */
|
| 104 |
+
.gradio-container {
|
| 105 |
+
max-width: 1100px;
|
| 106 |
+
margin: 2rem auto; /* top/bottom spacing + horizontal centering */
|
| 107 |
+
padding: 2rem; /* inner spacing */
|
| 108 |
+
background-color: rgba(0, 0, 0, 0.6); /* optional: semi-transparent panel */
|
| 109 |
+
border-radius: 12px; /* rounded corners */
|
| 110 |
+
}
|
| 111 |
+
</style>
|
| 112 |
+
"""
|
| 113 |
+
)
|
| 114 |
+
|
| 115 |
gr.HTML(TITLE)
|
| 116 |
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
| 117 |
|