thats-me/dot-line-system/.history/index_20250522083042.html
Kevin Adametz c62234e1ca docker setup
# Conflicts:
#	.gitignore
#	backend/vite.config.js
#	frontend/package-lock.json
2026-03-06 13:46:43 +01:00

92 lines
No EOL
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">
<script type="module" src="/src/main.ts"></script>
<title>Connected Dots Visualization</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
margin: 0;
padding: 0;
box-sizing: border-box;
overflow-x: hidden;
}
.controls {
display: flex;
justify-content: space-between;
width: 100%;
max-width: 500px;
margin-bottom: 10px;
}
.button {
padding: 6px 12px;
background-color: #4f46e5;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
.visualization-container {
position: absolute;
width: 100vw;
height: 100vh;
overflow-x: hidden;
overflow-y: hidden;
left: 0;
right: 0;
margin-left: calc(-50vw + 50%);
}
.gradient-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
min-width: 100%;
background: linear-gradient(to bottom, #4f46e5, #60a5fa, #4ade80);
z-index: -1;
}
.scroll-container {
position: relative;
height: 100%;
overflow-x: auto;
overflow-y: hidden;
}
.scroll-container:active {
cursor: grabbing; /* Change cursor when active */
}
.spacer {
height: 100vh;
}
</style>
</head>
<body>
<!-- <div class="spacer"></div> -->
<!-- Controls removed as requested -->
<div class="visualization-container">
<div class="gradient-bg"></div>
<div class="scroll-container" id="scroll-container"></div>
</div>
<!-- <div class="spacer"></div> -->
</body>
</html>