„deemix.css“ ändern

This commit is contained in:
Pakobbix 2022-09-03 21:39:34 +00:00
parent dff9c91992
commit dd7fc6726e

View File

@ -1,55 +1,21 @@
<!DOCTYPE html> main {
<html class="h-screen" data-theme="dark" dir="ltr" lang="en"> background: radial-gradient(ellipse at center, rgba(87, 108, 117, 1) 0%, rgba(37, 50, 55, 1) 100.2%) center center/cover no-repeat fixed;
<head>
<meta charset="utf-8" />
<title>deemix</title>
<link href="favicon.ico" rel="shortcut icon" />
<meta
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0"
name="viewport"
/>
<style>
body {
background: hsl(240, 10%, 8%);
color: hsl(0, 0%, 93%);
} }
#missingBundle {
position: absolute; :root[data-theme="dark"] {
top: 50%; --darkreader-bg--main-background: radial-gradient(ellipse at center, rgba(87, 108, 117, 1) 0%, rgba(37, 50, 55, 1) 100.2%) center center/cover no-repeat fixed;
left: 50%; --darkreader-bg--secondary-background: #202020;
transform: translate(-50%, -50%); --darkreader-border--secondary-background: #7e7568;
margin: auto; --darkreader-bg--foreground: #222526;
width: 50%; --darkreader-text--foreground: #dddad5;
padding: 24px; --darkreader-border--foreground: #353a3c;
text-align: center; --darkreader-bg--panels-background: #15151c;
font-size: 1.2em; --darkreader-bg--table-bg: #0f1011;
font-family: sans-serif; --darkreader-bg--table-zebra: #13131a;
background-color: hsl(240, 12%, 16%); --darkreader-bg--table-highlight: #2a2e2f;
border-radius: 10px; --darkreader-border--table-highlight: #7a7164;
display: none;
} }
</style> .bg-panels-bg {
background: radial-gradient(ellipse at center, rgba(87, 108, 117, 1) 0%, rgba(37, 50, 55, 1) 100.2%) center center/cover no-repeat fixed;
<script>
if (localStorage.getItem('selectedTheme')) {
document.documentElement.setAttribute('data-theme', localStorage.getItem('selectedTheme'))
} }
</script>
</head>
<body class="w-full h-full overflow-hidden font-sans bg-background-main text-foreground">
<div id="app"></div>
<p id="missingBundle">
If you're reading this it means that <code>js/bundle.js</code> isn't loading correctly.<br/>
Make sure the file is present, if not build the webui.
</p>
</body>
<script>
setTimeout(()=>{
let missingBundle = document.getElementById('missingBundle')
if (missingBundle) missingBundle.style.display = 'block'
}, 3000)
</script>
<script src="js/bundle.js"></script>
</html>