mirror of
https://github.com/Xevion/smart-rgb.git
synced 2025-12-11 04:08:38 -06:00
74 lines
1.8 KiB
HTML
74 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Iron Borders</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
|
|
font-family: Arial, sans-serif;
|
|
position: relative;
|
|
}
|
|
|
|
body::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
filter: blur(4px) brightness(0.85);
|
|
transform: scale(1.05);
|
|
z-index: -2;
|
|
}
|
|
|
|
body::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(255, 255, 255, 0.3);
|
|
backdrop-filter: blur(1px);
|
|
z-index: -1;
|
|
}
|
|
|
|
/* Style the canvas that Bevy uses */
|
|
#bevy-canvas {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw !important;
|
|
height: 100vh !important;
|
|
display: block;
|
|
background: #000;
|
|
z-index: 0; /* Behind React UI elements which have z-index: 1+ */
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module">
|
|
// Use the __DESKTOP__ define to load the correct entry point
|
|
if (typeof __DESKTOP__ !== "undefined" && __DESKTOP__) {
|
|
import("/src/desktop/main.tsx");
|
|
} else {
|
|
import("/src/browser/main.tsx");
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|