62 lines
1.3 KiB
HTML
62 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>RetroPieGo</title>
|
|
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #1a1a1a;
|
|
font-family: Arial, sans-serif;
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 20px;
|
|
font-size: 2em;
|
|
color: #f0f0f0;
|
|
text-shadow: 0 0 5px #666;
|
|
}
|
|
|
|
model-viewer {
|
|
width: 80vw;
|
|
height: 80vh;
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
|
|
border-radius: 12px;
|
|
background-color: #222;
|
|
}
|
|
|
|
.tooltip {
|
|
margin-top: 12px;
|
|
font-size: 0.95em;
|
|
color: #ccc;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Retro Portable</h1>
|
|
|
|
<model-viewer
|
|
src="RetroPortable.stl"
|
|
alt="Retro Portable"
|
|
auto-rotate
|
|
camera-controls
|
|
interaction-prompt="none"
|
|
ar
|
|
shadow-intensity="1.5"
|
|
exposure="0.75"
|
|
environment-image="neutral"
|
|
tone-mapping="commerce"
|
|
></model-viewer>
|
|
|
|
<div class="tooltip">🔄 Click and drag to rotate the model. Use the mouse wheel to zoom.</div>
|
|
</body>
|
|
</html>
|