Spaces:
Running
Running
Yuxuan-Zhang-Dexter
commited on
Commit
·
ee8aeec
1
Parent(s):
6d4c755
fixed dark mode in the text: welcome to lmgame-bench
Browse files
app.py
CHANGED
@@ -786,15 +786,24 @@ def build_app():
|
|
786 |
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
|
787 |
}
|
788 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
789 |
.welcome-message h3 {
|
790 |
margin: 0 0 10px 0;
|
791 |
font-size: 1.3em;
|
|
|
792 |
}
|
793 |
|
794 |
.welcome-message p {
|
795 |
margin: 0;
|
796 |
font-size: 1.1em;
|
797 |
line-height: 1.5;
|
|
|
798 |
}
|
799 |
""") as demo:
|
800 |
gr.Markdown("# 🎮 Lmgame Bench: Leaderboard 🎲")
|
|
|
786 |
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
|
787 |
}
|
788 |
|
789 |
+
/* Dark mode support for welcome message */
|
790 |
+
.dark .welcome-message {
|
791 |
+
background: linear-gradient(135deg, #1a4a4f 0%, #4a1f3a 100%);
|
792 |
+
color: #e0e0e0;
|
793 |
+
box-shadow: 0 4px 15px rgba(255,255,255,0.05);
|
794 |
+
}
|
795 |
+
|
796 |
.welcome-message h3 {
|
797 |
margin: 0 0 10px 0;
|
798 |
font-size: 1.3em;
|
799 |
+
color: inherit;
|
800 |
}
|
801 |
|
802 |
.welcome-message p {
|
803 |
margin: 0;
|
804 |
font-size: 1.1em;
|
805 |
line-height: 1.5;
|
806 |
+
color: inherit;
|
807 |
}
|
808 |
""") as demo:
|
809 |
gr.Markdown("# 🎮 Lmgame Bench: Leaderboard 🎲")
|