Spaces:
Sleeping
Sleeping
File size: 694 Bytes
8f6d05a 2765cb2 723f330 2765cb2 b885681 8f6d05a b885681 41d3a9f b885681 8f6d05a b885681 8f6d05a 70b52d4 8f6d05a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
css="""
body {
background-color: #141414 !important;
color: white !important;
}
.container {
max-width: 90%;
}
.title {
color: fff !important;
text-align: center;
padding: 10px 0;
background-color: #1f2121;
}
#output-container {
max-height: 400px;
overflow-y: auto;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
"""
js = """
function refresh() {
const url = new URL(window.location);
if (url.searchParams.get('__theme') !== 'dark') {
url.searchParams.set('__theme', 'dark');
window.location.href = url.href;
}
}
""" |